Function at 0x180054610
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rsi, qword [rcx + 0x10]
xor ebp, ebp
mov r15d, edx
mov rdi, rcx
test rsi, rsi
jne 0x180054682
call fcn.1800258f0
mov qword [rdi + 0x10], rax
mov rsi, rax
test rax, rax
je 0x18005466c
xor r9d, r9d
mov dword [rsp + 0x20], ebp
xor r8d, r8d
mov edx, 0x99
mov rcx, rax
call fcn.180025a50
cmp qword [rdi + 0x1c0], rbp
jne 0x180054682
mov rax, qword [rdi]
test byte [rax + 0x4c], 8
jne 0x180054682
mov byte [rdi + 0x23], 1
mov rbx, qword [rsi + 0x30]
mov eax, dword [rdi + 0x50]
dec eax
mov dword [rsp + 0x30], eax
mov edx, dword [rbx + 0x78]
mov dword [rsp + 0x38], edx
lea eax, [rdx + 1]
mov dword [rbx + 0x78], eax
lea eax, [rdx - 1]
test edx, eax
jne 0x1800546cb
mov rcx, qword [rbx]
lea eax, [rdx*2 + 1]
mov rdx, qword [rbx + 0x80]
movsxd r8, eax
shl r8, 2
call fcn.1800054c0
mov edx, dword [rsp + 0x38]
mov qword [rbx + 0x80], rax
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x1800546e1
movsxd rax, edx
mov dword [rcx + rax*4], 0xffffffff
mov r13d, edx
mov rbx, qword [rsp + 0xb0]
not r13d
mov dword [rsp + 0x40], r13d
cmp dword [rsp + 0xc8], ebp
jge 0x180054716
movzx r8d, byte [rbx + 0x2c]
mov r9d, r13d
mov edx, 0x87
mov dword [rsp + 0x20], ebp
mov rcx, rsi
call fcn.180025a50
mov r14d, dword [rbx + 0x28]
mov r12d, dword [rsp + 0xc0]
test r14d, r14d
jle 0x180054777
mov rbx, qword [rsp + 0xb8]
mov rdi, qword [rsp + 0xb0]
nop word [rax + rax]
lea r8d, [r12 + 1]
mov dword [rsp + 0x20], 0
add r8d, dword [rbx]
mov r9d, r13d
mov edx, 0x4c
mov rcx, rsi
call fcn.180025a50
mov r14d, dword [rdi + 0x28]
lea rbx, [rbx + 4]
inc ebp
cmp ebp, r14d
jl 0x180054740
mov rdi, qword [rsp + 0x90]
cmp dword [rsp + 0xd0], 0
jne 0x180054c5f
mov rbp, qword [rsp + 0xa8]
test rbp, rbp
jne 0x180054925
movzx eax, byte [rdi + 0x1f]
test al, al
jne 0x1800547a6
inc dword [rdi + 0x54]
mov ebx, dword [rdi + 0x54]
jmp 0x1800547b2
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov ebx, dword [rdi + rax*4 + 0x24]
mov rax, qword [rsp + 0xb8]
lea r8d, [r12 + 1]
mov r9d, ebx
mov dword [rsp + 0x20], 0
mov edx, 0x22
mov rcx, rsi
mov eax, dword [rax]
add r8d, eax
call fcn.180025a50
xor r9d, r9d
mov dword [rsp + 0x20], 0
mov r8d, ebx
mov rcx, rsi
lea edx, [r9 + 0x26]
call fcn.180025a50
mov r14, qword [rsp + 0xa0]
mov ebp, eax
mov rax, qword [rsp + 0xb0]
cmp r14, qword [rax]
jne 0x180054844
cmp dword [rsp + 0xc8], 1
jne 0x180054844
mov r9d, r13d
mov dword [rsp + 0x20], ebx
mov r8d, r12d
mov edx, 0x4f
mov rcx, rsi
call fcn.180025a50
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x180054844
movsxd rax, dword [rsi + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 0x90
mov r9, r14
mov dword [rsp + 0x20], 0x36
mov r14d, dword [rsp + 0x30]
mov r8d, r15d
mov edx, r14d
mov rcx, rdi
call fcn.180057300
xor r9d, r9d
mov dword [rsp + 0x20], ebx
mov r8d, r14d
mov rcx, rsi
lea edx, [r9 + 0x46]
call fcn.180025a50
xor r12d, r12d
mov r9d, r13d
xor r8d, r8d
mov dword [rsp + 0x20], r12d
mov rcx, rsi
lea edx, [r12 + 0x10]
call fcn.180025a50
mov edx, dword [rsi + 0x3c]
lea eax, [rdx - 2]
cmp edx, eax
jbe 0x1800548ac
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 8]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rsi + 0x3c]
mov rax, qword [rsi + 0x30]
lea ecx, [rdx - 1]
mov dword [rax + 0x64], ecx
mov edx, dword [rsi + 0x3c]
cmp edx, ebp
jbe 0x1800548d3
mov rax, qword [rsi + 8]
lea rcx, [rbp*2]
add rcx, rbp
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rsi + 0x3c]
mov rax, qword [rsi + 0x30]
lea ecx, [rdx - 1]
mov dword [rax + 0x64], ecx
test ebx, ebx
je 0x180054c67
movzx edx, byte [rdi + 0x1f]
cmp dl, 8
jae 0x180054c67
mov ecx, r12d
lea rax, [rdi + 0x88]
nop dword [rax]
cmp dword [rax + 0xc], ebx
je 0x18005491c
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x180054900
mov dword [rdi + rdx*4 + 0x24], ebx
inc byte [rdi + 0x1f]
jmp 0x180054c67
mov byte [rax + 6], 1
jmp 0x180054c67
mov ecx, dword [rdi + 0x44]
mov edx, dword [rdi + 0x48]
mov dword [rsp + 0xd0], edx
cmp r14d, ecx
jg 0x180054946
lea eax, [r14 + rdx]
sub ecx, r14d
mov dword [rdi + 0x48], eax
mov dword [rdi + 0x44], ecx
jmp 0x180054959
mov eax, dword [rdi + 0x54]
lea ecx, [rax + 1]
add eax, r14d
mov dword [rdi + 0x54], eax
mov dword [rsp + 0xd0], ecx
movzx eax, byte [rdi + 0x1f]
test al, al
jne 0x180054969
inc dword [rdi + 0x54]
mov eax, dword [rdi + 0x54]
jmp 0x180054975
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov eax, dword [rdi + rax*4 + 0x24]
mov r9d, dword [rbp + 0x58]
mov edx, 0x36
mov r8d, dword [rsp + 0x30]
mov rcx, rsi
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x20], r15d
call fcn.180025a50
mov rbx, qword [rdi + 0x10]
mov rdx, rbp
mov rcx, rdi
call fcn.18004d670
mov rcx, qword [rbx]
mov rbp, rax
mov rax, qword [rbx + 8]
test rax, rax
je 0x1800549f0
cmp byte [rcx + 0x50], 0
jne 0x1800549f0
movsxd rdx, dword [rbx + 0x3c]
lea r8, [rdx + rdx*2]
movsx edx, byte [rax + r8*8 - 0x17]
lea rbx, [rax + r8*8]
mov r8, qword [rax + r8*8 - 8]
call fcn.180025dd0
test rbp, rbp
jne 0x1800549e3
mov qword [rbx - 8], rbp
mov byte [rbx - 0x17], bpl
jmp 0x1800549fd
mov qword [rbx - 8], rbp
mov byte [rbx - 0x17], 0xfa
jmp 0x1800549fd
mov r8, rbp
mov edx, 0xfffffffa
call fcn.180025dd0
movsxd r15, r14d
test r14d, r14d
jle 0x180054a45
mov ebp, dword [rsp + 0xd0]
xor ebx, ebx
nop
mov rax, qword [rsp + 0xb8]
lea r8d, [r12 + 1]
mov r9d, ebp
mov dword [rsp + 0x20], 0
mov edx, 0x21
mov rcx, rsi
mov eax, dword [rax + rbx*4]
add r8d, eax
call fcn.180025a50
inc ebp
inc rbx
cmp rbx, r15
jl 0x180054a10
mov rax, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0xa0]
cmp rdx, qword [rax]
jne 0x180054b61
cmp dword [rsp + 0xc8], 1
jne 0x180054b61
mov eax, dword [rsi + 0x3c]
inc eax
add eax, r14d
test r14d, r14d
jle 0x180054b44
xor ebx, ebx
mov edi, eax
mov rax, qword [rsp + 0xb8]
lea ebp, [r12 + 1]
movsxd r13, dword [rsi + 0x3c]
mov eax, dword [rax + rbx*4]
inc eax
add eax, r12d
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax + 8]
movsx ecx, word [rax + rbx*2]
mov rax, qword [rsi + 0x30]
add ebp, ecx
cmp cx, word [rdx + 0x40]
mov ecx, r13d
cmove ebp, r12d
cmp dword [rax + 0x60], r13d
jg 0x180054ad4
mov rcx, rsi
call fcn.1800259a0
test eax, eax
jne 0x180054b0d
mov ecx, dword [rsi + 0x3c]
mov edx, dword [rsp + 0x3c]
lea eax, [rcx + 1]
mov dword [rsi + 0x3c], eax
lea rcx, [r13*2]
mov rax, qword [rsi + 8]
add rcx, r13
mov word [rax + rcx*8], 0x4e
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], edi
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], 0
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x180054b23
movsxd rax, dword [rsi + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 0x10
mov rdx, qword [rsp + 0xa0]
inc rbx
cmp rbx, r15
jl 0x180054a81
mov rdi, qword [rsp + 0x90]
mov r13d, dword [rsp + 0x40]
xor r12d, r12d
mov r9d, r13d
xor r8d, r8d
mov dword [rsp + 0x20], r12d
mov rcx, rsi
lea edx, [r12 + 0x10]
call fcn.180025a50
jmp 0x180054b64
xor r12d, r12d
mov rdx, qword [rsp + 0xa8]
mov rcx, rsi
call fcn.1800574d0
mov r15d, dword [rsp + 0xd0]
mov r9d, r14d
mov ebp, dword [rsp + 0x34]
mov r8d, r15d
mov edx, 0x31
mov dword [rsp + 0x20], ebp
mov rcx, rsi
mov rbx, rax
call fcn.180025a50
mov r9d, r14d
mov r8, rbx
mov edx, eax
mov rcx, rsi
call fcn.180026090
mov r8d, dword [rsp + 0x30]
mov r9d, r13d
mov edx, 0x45
mov dword [rsp + 0x20], ebp
mov rcx, rsi
call fcn.180025a50
mov r8, qword [rsi + 8]
mov rcx, qword [rsi]
test r8, r8
je 0x180054c01
cmp byte [rcx + 0x50], 0
jne 0x180054c01
test eax, eax
jns 0x180054bde
mov eax, dword [rsi + 0x3c]
dec eax
cdqe
lea rdx, [rax + rax*2]
lea rbx, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [rbx + 0x10]
call fcn.180025dd0
mov qword [rbx + 0x10], r12
mov byte [rbx + 1], 0xf2
jmp 0x180054c0d
xor r8d, r8d
lea edx, [r8 - 0xe]
call fcn.180025dd0
test ebp, ebp
je 0x180054c41
movzx edx, byte [rdi + 0x1f]
cmp dl, 8
jae 0x180054c41
mov ecx, r12d
lea rax, [rdi + 0x88]
cmp dword [rax + 0xc], ebp
je 0x180054c3d
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x180054c24
mov dword [rdi + rdx*4 + 0x24], ebp
inc byte [rdi + 0x1f]
jmp 0x180054c41
mov byte [rax + 6], 1
mov r8d, r14d
mov edx, r15d
mov rcx, rdi
call fcn.18003d3a0
cmp r14d, dword [rdi + 0x44]
jle 0x180054c62
mov dword [rdi + 0x44], r14d
mov dword [rdi + 0x48], r15d
jmp 0x180054c62
xor r12d, r12d
mov r14d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0xb0]
movzx ecx, byte [rdx + 0x2c]
test cl, cl
jne 0x180054d3e
mov rax, qword [rdi]
test dword [rax + 0x2c], 0x1000000
jne 0x180054d3e
cmp qword [rdi + 0x1c0], 0
jne 0x180054d3e
cmp byte [rdi + 0x20], cl
jne 0x180054d3e
mov rbx, qword [rdi + 0x10]
test rbx, rbx
jne 0x180054cf0
mov rcx, rdi
call fcn.1800258f0
mov qword [rdi + 0x10], rax
mov rbx, rax
test rax, rax
je 0x180054cd7
xor r9d, r9d
mov dword [rsp + 0x20], r12d
xor r8d, r8d
mov edx, 0x99
mov rcx, rax
call fcn.180025a50
mov rax, qword [rdi + 0x1c0]
test rax, rax
jne 0x180054cf3
mov rax, qword [rdi]
test byte [rax + 0x4c], 8
jne 0x180054cf0
mov byte [rdi + 0x23], 1
mov rax, rdi
mov edx, 0x18
mov byte [rax + 0x21], 1
mov r8d, 0x313
mov dword [rsp + 0x20], r12d
mov rcx, rbx
lea r9d, [rdx - 0x16]
call fcn.180025a50
mov r9d, 0xfffffffe
xor r8d, r8d
mov edx, eax
mov rcx, rbx
call fcn.180026090
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x180054d7e
movsxd rax, dword [rbx + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 4
jmp 0x180054d7e
mov r9d, dword [rsp + 0xc8]
movzx eax, cl
test r9d, r9d
jle 0x180054d68
test cl, cl
jne 0x180054d68
mov rax, qword [rdi + 0x1c0]
test rax, rax
cmovne rdi, rax
mov byte [rdi + 0x21], 1
movzx eax, byte [rdx + 0x2c]
movzx r8d, al
mov edx, 0x86
mov rcx, rsi
mov dword [rsp + 0x20], r12d
call fcn.180025a50
movsxd rax, dword [rsp + 0x38]
mov r9, qword [rsi + 0x30]
test eax, eax
js 0x180054da0
mov rcx, qword [r9 + 0x80]
test rcx, rcx
je 0x180054da0
mov rdx, rax
mov eax, dword [rsi + 0x3c]
mov dword [rcx + rdx*4], eax
mov eax, dword [rsi + 0x3c]
mov r8d, r14d
dec eax
mov dword [rsp + 0xb0], r12d
mov dword [r9 + 0x64], eax
mov rcx, rsi
xor r9d, r9d
lea edx, [r9 + 0x3d]
mov rbx, qword [rsp + 0x98]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
jmp fcn.180025a50