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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x58
mov rsi, qword [rcx + 0x10]
xor ebp, ebp
mov rbx, rcx
test rsi, rsi
jne 0x180054e2f
call fcn.180026410
mov qword [rbx + 0x10], rax
mov rsi, rax
test rax, rax
je 0x180054e19
xor r9d, r9d
mov dword [rsp + 0x20], ebp
xor r8d, r8d
mov edx, 0x99
mov rcx, rax
call fcn.180026570
cmp qword [rbx + 0x1c0], rbp
jne 0x180054e2f
mov rax, qword [rbx]
test byte [rax + 0x4c], 8
jne 0x180054e2f
mov byte [rbx + 0x23], 1
mov rdi, qword [rsi + 0x30]
mov eax, dword [rbx + 0x50]
dec eax
mov dword [rsp + 0x30], eax
mov edx, dword [rdi + 0x78]
mov dword [rsp + 0x40], edx
lea eax, [rdx + 1]
mov dword [rdi + 0x78], eax
lea eax, [rdx - 1]
test edx, eax
jne 0x180054e78
mov rcx, qword [rdi]
lea eax, [rdx*2 + 1]
mov rdx, qword [rdi + 0x80]
movsxd r8, eax
shl r8, 2
call fcn.1800064f0
mov edx, dword [rsp + 0x40]
mov qword [rdi + 0x80], rax
mov rcx, qword [rdi + 0x80]
test rcx, rcx
je 0x180054e8e
movsxd rax, edx
mov dword [rcx + rax*4], 0xffffffff
mov r12d, edx
mov rdi, qword [rsp + 0xc0]
not r12d
mov dword [rsp + 0x38], r12d
cmp dword [rsp + 0xd8], ebp
jge 0x180054ec3
movzx r8d, byte [rdi + 0x2c]
mov r9d, r12d
mov edx, 0x87
mov dword [rsp + 0x20], ebp
mov rcx, rsi
call fcn.180026570
mov r14d, dword [rdi + 0x28]
mov r15d, dword [rsp + 0xd0]
mov r13, qword [rsp + 0xc8]
mov dword [rsp + 0x34], r14d
test r14d, r14d
jle 0x180054f2d
mov rbx, qword [rsp + 0xc0]
mov rdi, r13
nop dword [rax]
mov r8d, dword [rdi]
mov r9d, r12d
inc r8d
mov dword [rsp + 0x20], 0
add r8d, r15d
mov edx, 0x4c
mov rcx, rsi
call fcn.180026570
mov r14d, dword [rbx + 0x28]
lea rdi, [rdi + 4]
inc ebp
mov dword [rsp + 0x34], r14d
cmp ebp, r14d
jl 0x180054ef0
mov rbx, qword [rsp + 0xa0]
cmp dword [rsp + 0xe0], 0
jne 0x18005539c
mov rdx, qword [rsp + 0xb8]
test rdx, rdx
jne 0x1800550c9
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x180054f5c
inc dword [rbx + 0x54]
mov edi, dword [rbx + 0x54]
jmp 0x180054f68
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov edi, dword [rbx + rax*4 + 0x24]
lea r8d, [r15 + 1]
mov r9d, edi
add r8d, dword [r13]
mov rcx, rsi
xor r13d, r13d
mov dword [rsp + 0x20], r13d
lea edx, [r13 + 0x22]
call fcn.180026570
xor r9d, r9d
mov dword [rsp + 0x20], r13d
mov r8d, edi
lea edx, [r13 + 0x26]
mov rcx, rsi
call fcn.180026570
mov r14, qword [rsp + 0xb0]
mov ebp, eax
mov rax, qword [rsp + 0xc0]
cmp r14, qword [rax]
jne 0x180054feb
cmp dword [rsp + 0xd8], 1
jne 0x180054feb
mov r9d, r12d
mov dword [rsp + 0x20], edi
mov r8d, r15d
lea edx, [r13 + 0x4f]
mov rcx, rsi
call fcn.180026570
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x180054feb
movsxd rax, dword [rsi + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 0x90
mov r8d, dword [rsp + 0xa8]
mov r9, r14
mov r14d, dword [rsp + 0x30]
mov rcx, rbx
mov edx, r14d
mov dword [rsp + 0x20], 0x36
call fcn.180057a40
xor r9d, r9d
mov dword [rsp + 0x20], edi
mov r8d, r14d
mov rcx, rsi
lea edx, [r9 + 0x46]
call fcn.180026570
xor r8d, r8d
mov dword [rsp + 0x20], r13d
mov r9d, r12d
mov rcx, rsi
lea edx, [r8 + 0x10]
call fcn.180026570
mov edx, dword [rsi + 0x3c]
lea eax, [rdx - 2]
cmp edx, eax
jbe 0x180055054
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 0x18005507b
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 edi, edi
je 0x1800553a4
movzx edx, byte [rbx + 0x1f]
cmp dl, 8
jae 0x1800553a4
mov ecx, r13d
lea rax, [rbx + 0x88]
cmp dword [rax + 0xc], edi
je 0x1800550c0
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x1800550a4
mov dword [rbx + rdx*4 + 0x24], edi
inc byte [rbx + 0x1f]
jmp 0x1800553a4
mov byte [rax + 6], 1
jmp 0x1800553a4
mov ecx, dword [rbx + 0x44]
mov ebp, dword [rbx + 0x48]
mov dword [rsp + 0x3c], ebp
cmp r14d, ecx
jg 0x1800550e7
lea eax, [r14 + rbp]
sub ecx, r14d
mov dword [rbx + 0x48], eax
mov dword [rbx + 0x44], ecx
jmp 0x1800550f7
mov eax, dword [rbx + 0x54]
lea ebp, [rax + 1]
add eax, r14d
mov dword [rbx + 0x54], eax
mov dword [rsp + 0x3c], ebp
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x180055107
inc dword [rbx + 0x54]
mov eax, dword [rbx + 0x54]
jmp 0x180055113
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov eax, dword [rbx + rax*4 + 0x24]
mov r9d, dword [rdx + 0x58]
mov rcx, rsi
mov r8d, dword [rsp + 0x30]
mov edx, 0x36
mov dword [rsp + 0xe0], eax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x20], eax
call fcn.180026570
mov rdx, qword [rsp + 0xb8]
mov rcx, rbx
mov rdi, qword [rbx + 0x10]
call fcn.18004e060
mov edx, 0xffffffff
mov r8, rax
mov rcx, rdi
lea r9d, [rdx - 5]
call fcn.180026b50
movsxd r13, r14d
test r14d, r14d
jle 0x1800551af
mov r12, qword [rsp + 0xc8]
xor edi, edi
nop word [rax + rax]
lea r8d, [r15 + 1]
mov dword [rsp + 0x20], 0
add r8d, dword [r12 + rdi*4]
mov r9d, ebp
mov edx, 0x21
mov rcx, rsi
call fcn.180026570
inc ebp
inc rdi
cmp rdi, r13
jl 0x180055180
mov r12d, dword [rsp + 0x38]
mov rax, qword [rsp + 0xc0]
mov rdx, qword [rsp + 0xb0]
cmp rdx, qword [rax]
jne 0x1800552d5
cmp dword [rsp + 0xd8], 1
jne 0x1800552d5
mov eax, dword [rsi + 0x3c]
inc eax
add eax, r14d
test r14d, r14d
jle 0x1800552b9
mov rbx, qword [rsp + 0xc8]
xor edi, edi
mov r14d, eax
nop dword [rax]
nop dword [rax + rax]
mov eax, dword [rbx + rdi*4]
lea ebp, [r15 + 1]
movsxd r12, dword [rsi + 0x3c]
inc eax
add eax, r15d
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax + 8]
movsx ecx, word [rax + rdi*2]
mov rax, qword [rsi + 0x30]
add ebp, ecx
cmp cx, word [rdx + 0x40]
mov ecx, r12d
cmove ebp, r15d
cmp dword [rax + 0x60], r12d
jg 0x18005524a
mov rcx, rsi
call fcn.1800264c0
test eax, eax
jne 0x18005527d
mov ecx, dword [rsi + 0x3c]
mov edx, dword [rsp + 0x44]
lea eax, [rcx + 1]
mov dword [rsi + 0x3c], eax
lea rcx, [r12 + r12*2]
mov rax, qword [rsi + 8]
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], r14d
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], 0
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x180055293
movsxd rax, dword [rsi + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 0x10
mov rdx, qword [rsp + 0xb0]
inc rdi
cmp rdi, r13
jl 0x180055200
mov rbx, qword [rsp + 0xa0]
mov r14d, dword [rsp + 0x34]
mov r12d, dword [rsp + 0x38]
xor r13d, r13d
mov r9d, r12d
xor r8d, r8d
mov dword [rsp + 0x20], r13d
mov rcx, rsi
lea edx, [r13 + 0x10]
call fcn.180026570
jmp 0x1800552d8
xor r13d, r13d
mov rdx, qword [rsp + 0xb8]
mov rcx, rsi
call fcn.180057b80
mov r15d, dword [rsp + 0x3c]
mov r9d, r14d
mov ebp, dword [rsp + 0xe0]
mov r8d, r15d
mov edx, 0x31
mov dword [rsp + 0x20], ebp
mov rcx, rsi
mov rdi, rax
call fcn.180026570
mov r9d, r14d
mov r8, rdi
mov edx, eax
mov rcx, rsi
call fcn.180026b50
mov r8d, dword [rsp + 0x30]
mov r9d, r12d
mov edx, 0x45
mov dword [rsp + 0x20], ebp
mov rcx, rsi
call fcn.180026570
mov r9d, 0xfffffff2
xor r8d, r8d
mov edx, eax
mov rcx, rsi
call fcn.180026b50
test ebp, ebp
je 0x18005537e
movzx edx, byte [rbx + 0x1f]
cmp dl, 8
jae 0x18005537e
mov ecx, r13d
lea rax, [rbx + 0x88]
cmp dword [rax + 0xc], ebp
je 0x18005537a
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x180055361
mov dword [rbx + rdx*4 + 0x24], ebp
inc byte [rbx + 0x1f]
jmp 0x18005537e
mov byte [rax + 6], 1
mov r8d, r14d
mov edx, r15d
mov rcx, rbx
call fcn.18003e090
cmp r14d, dword [rbx + 0x44]
jle 0x18005539f
mov dword [rbx + 0x44], r14d
mov dword [rbx + 0x48], r15d
jmp 0x18005539f
xor r13d, r13d
mov r14d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0xc0]
movzx ecx, byte [rdx + 0x2c]
test cl, cl
jne 0x18005547b
mov rax, qword [rbx]
test dword [rax + 0x2c], 0x1000000
jne 0x18005547b
cmp qword [rbx + 0x1c0], 0
jne 0x18005547b
cmp byte [rbx + 0x20], cl
jne 0x18005547b
mov rdi, qword [rbx + 0x10]
test rdi, rdi
jne 0x18005542d
mov rcx, rbx
call fcn.180026410
mov qword [rbx + 0x10], rax
mov rdi, rax
test rax, rax
je 0x180055414
xor r9d, r9d
mov dword [rsp + 0x20], r13d
xor r8d, r8d
mov edx, 0x99
mov rcx, rax
call fcn.180026570
mov rax, qword [rbx + 0x1c0]
test rax, rax
jne 0x180055430
mov rax, qword [rbx]
test byte [rax + 0x4c], 8
jne 0x18005542d
mov byte [rbx + 0x23], 1
mov rax, rbx
mov edx, 0x18
mov byte [rax + 0x21], 1
mov r8d, 0x313
mov dword [rsp + 0x20], r13d
mov rcx, rdi
lea r9d, [rdx - 0x16]
call fcn.180026570
mov r9d, 0xfffffffe
xor r8d, r8d
mov edx, eax
mov rcx, rdi
call fcn.180026b50
mov rdx, qword [rdi + 8]
test rdx, rdx
je 0x1800554bb
movsxd rax, dword [rdi + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 4
jmp 0x1800554bb
mov r9d, dword [rsp + 0xd8]
movzx eax, cl
test r9d, r9d
jle 0x1800554a5
test cl, cl
jne 0x1800554a5
mov rax, qword [rbx + 0x1c0]
test rax, rax
cmovne rbx, rax
mov byte [rbx + 0x21], 1
movzx eax, byte [rdx + 0x2c]
movzx r8d, al
mov edx, 0x86
mov rcx, rsi
mov dword [rsp + 0x20], r13d
call fcn.180026570
movsxd rax, dword [rsp + 0x40]
mov r9, qword [rsi + 0x30]
test eax, eax
js 0x1800554dd
mov rcx, qword [r9 + 0x80]
test rcx, rcx
je 0x1800554dd
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 + 0xc0], r13d
mov dword [r9 + 0x64], eax
mov rcx, rsi
xor r9d, r9d
lea edx, [r9 + 0x3d]
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
jmp fcn.180026570