Function at 0x180054480
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 0x1800544f2
call fcn.180025760
mov qword [rdi + 0x10], rax
mov rsi, rax
test rax, rax
je 0x1800544dc
xor r9d, r9d
mov dword [rsp + 0x20], ebp
xor r8d, r8d
mov edx, 0x99
mov rcx, rax
call fcn.1800258c0
cmp qword [rdi + 0x1c0], rbp
jne 0x1800544f2
mov rax, qword [rdi]
test byte [rax + 0x4c], 8
jne 0x1800544f2
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 0x18005453b
mov rcx, qword [rbx]
lea eax, [rdx*2 + 1]
mov rdx, qword [rbx + 0x80]
movsxd r8, eax
shl r8, 2
call fcn.180005330
mov edx, dword [rsp + 0x38]
mov qword [rbx + 0x80], rax
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x180054551
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 0x180054586
movzx r8d, byte [rbx + 0x2c]
mov r9d, r13d
mov edx, 0x87
mov dword [rsp + 0x20], ebp
mov rcx, rsi
call fcn.1800258c0
mov r14d, dword [rbx + 0x28]
mov r12d, dword [rsp + 0xc0]
test r14d, r14d
jle 0x1800545e7
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.1800258c0
mov r14d, dword [rdi + 0x28]
lea rbx, [rbx + 4]
inc ebp
cmp ebp, r14d
jl 0x1800545b0
mov rdi, qword [rsp + 0x90]
cmp dword [rsp + 0xd0], 0
jne 0x180054acf
mov rbp, qword [rsp + 0xa8]
test rbp, rbp
jne 0x180054795
movzx eax, byte [rdi + 0x1f]
test al, al
jne 0x180054616
inc dword [rdi + 0x54]
mov ebx, dword [rdi + 0x54]
jmp 0x180054622
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.1800258c0
xor r9d, r9d
mov dword [rsp + 0x20], 0
mov r8d, ebx
mov rcx, rsi
lea edx, [r9 + 0x26]
call fcn.1800258c0
mov r14, qword [rsp + 0xa0]
mov ebp, eax
mov rax, qword [rsp + 0xb0]
cmp r14, qword [rax]
jne 0x1800546b4
cmp dword [rsp + 0xc8], 1
jne 0x1800546b4
mov r9d, r13d
mov dword [rsp + 0x20], ebx
mov r8d, r12d
mov edx, 0x4f
mov rcx, rsi
call fcn.1800258c0
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x1800546b4
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.180057170
xor r9d, r9d
mov dword [rsp + 0x20], ebx
mov r8d, r14d
mov rcx, rsi
lea edx, [r9 + 0x46]
call fcn.1800258c0
xor r12d, r12d
mov r9d, r13d
xor r8d, r8d
mov dword [rsp + 0x20], r12d
mov rcx, rsi
lea edx, [r12 + 0x10]
call fcn.1800258c0
mov edx, dword [rsi + 0x3c]
lea eax, [rdx - 2]
cmp edx, eax
jbe 0x18005471c
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 0x180054743
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 0x180054ad7
movzx edx, byte [rdi + 0x1f]
cmp dl, 8
jae 0x180054ad7
mov ecx, r12d
lea rax, [rdi + 0x88]
nop dword [rax]
cmp dword [rax + 0xc], ebx
je 0x18005478c
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x180054770
mov dword [rdi + rdx*4 + 0x24], ebx
inc byte [rdi + 0x1f]
jmp 0x180054ad7
mov byte [rax + 6], 1
jmp 0x180054ad7
mov ecx, dword [rdi + 0x44]
mov edx, dword [rdi + 0x48]
mov dword [rsp + 0xd0], edx
cmp r14d, ecx
jg 0x1800547b6
lea eax, [r14 + rdx]
sub ecx, r14d
mov dword [rdi + 0x48], eax
mov dword [rdi + 0x44], ecx
jmp 0x1800547c9
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 0x1800547d9
inc dword [rdi + 0x54]
mov eax, dword [rdi + 0x54]
jmp 0x1800547e5
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.1800258c0
mov rbx, qword [rdi + 0x10]
mov rdx, rbp
mov rcx, rdi
call fcn.18004d4e0
mov rcx, qword [rbx]
mov rbp, rax
mov rax, qword [rbx + 8]
test rax, rax
je 0x180054860
cmp byte [rcx + 0x50], 0
jne 0x180054860
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.180025c40
test rbp, rbp
jne 0x180054853
mov qword [rbx - 8], rbp
mov byte [rbx - 0x17], bpl
jmp 0x18005486d
mov qword [rbx - 8], rbp
mov byte [rbx - 0x17], 0xfa
jmp 0x18005486d
mov r8, rbp
mov edx, 0xfffffffa
call fcn.180025c40
movsxd r15, r14d
test r14d, r14d
jle 0x1800548b5
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.1800258c0
inc ebp
inc rbx
cmp rbx, r15
jl 0x180054880
mov rax, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0xa0]
cmp rdx, qword [rax]
jne 0x1800549d1
cmp dword [rsp + 0xc8], 1
jne 0x1800549d1
mov eax, dword [rsi + 0x3c]
inc eax
add eax, r14d
test r14d, r14d
jle 0x1800549b4
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 0x180054944
mov rcx, rsi
call fcn.180025810
test eax, eax
jne 0x18005497d
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 0x180054993
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 0x1800548f1
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.1800258c0
jmp 0x1800549d4
xor r12d, r12d
mov rdx, qword [rsp + 0xa8]
mov rcx, rsi
call fcn.180057340
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.1800258c0
mov r9d, r14d
mov r8, rbx
mov edx, eax
mov rcx, rsi
call fcn.180025f00
mov r8d, dword [rsp + 0x30]
mov r9d, r13d
mov edx, 0x45
mov dword [rsp + 0x20], ebp
mov rcx, rsi
call fcn.1800258c0
mov r8, qword [rsi + 8]
mov rcx, qword [rsi]
test r8, r8
je 0x180054a71
cmp byte [rcx + 0x50], 0
jne 0x180054a71
test eax, eax
jns 0x180054a4e
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.180025c40
mov qword [rbx + 0x10], r12
mov byte [rbx + 1], 0xf2
jmp 0x180054a7d
xor r8d, r8d
lea edx, [r8 - 0xe]
call fcn.180025c40
test ebp, ebp
je 0x180054ab1
movzx edx, byte [rdi + 0x1f]
cmp dl, 8
jae 0x180054ab1
mov ecx, r12d
lea rax, [rdi + 0x88]
cmp dword [rax + 0xc], ebp
je 0x180054aad
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x180054a94
mov dword [rdi + rdx*4 + 0x24], ebp
inc byte [rdi + 0x1f]
jmp 0x180054ab1
mov byte [rax + 6], 1
mov r8d, r14d
mov edx, r15d
mov rcx, rdi
call fcn.18003d210
cmp r14d, dword [rdi + 0x44]
jle 0x180054ad2
mov dword [rdi + 0x44], r14d
mov dword [rdi + 0x48], r15d
jmp 0x180054ad2
xor r12d, r12d
mov r14d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0xb0]
movzx ecx, byte [rdx + 0x2c]
test cl, cl
jne 0x180054bae
mov rax, qword [rdi]
test dword [rax + 0x2c], 0x1000000
jne 0x180054bae
cmp qword [rdi + 0x1c0], 0
jne 0x180054bae
cmp byte [rdi + 0x20], cl
jne 0x180054bae
mov rbx, qword [rdi + 0x10]
test rbx, rbx
jne 0x180054b60
mov rcx, rdi
call fcn.180025760
mov qword [rdi + 0x10], rax
mov rbx, rax
test rax, rax
je 0x180054b47
xor r9d, r9d
mov dword [rsp + 0x20], r12d
xor r8d, r8d
mov edx, 0x99
mov rcx, rax
call fcn.1800258c0
mov rax, qword [rdi + 0x1c0]
test rax, rax
jne 0x180054b63
mov rax, qword [rdi]
test byte [rax + 0x4c], 8
jne 0x180054b60
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.1800258c0
mov r9d, 0xfffffffe
xor r8d, r8d
mov edx, eax
mov rcx, rbx
call fcn.180025f00
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x180054bee
movsxd rax, dword [rbx + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 4
jmp 0x180054bee
mov r9d, dword [rsp + 0xc8]
movzx eax, cl
test r9d, r9d
jle 0x180054bd8
test cl, cl
jne 0x180054bd8
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.1800258c0
movsxd rax, dword [rsp + 0x38]
mov r9, qword [rsi + 0x30]
test eax, eax
js 0x180054c10
mov rcx, qword [r9 + 0x80]
test rcx, rcx
je 0x180054c10
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.1800258c0