Function at 0x180054ce0
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 0x180054d52
call fcn.180025fc0
mov qword [rdi + 0x10], rax
mov rsi, rax
test rax, rax
je 0x180054d3c
xor r9d, r9d
mov dword [rsp + 0x20], ebp
xor r8d, r8d
mov edx, 0x99
mov rcx, rax
call fcn.180026120
cmp qword [rdi + 0x1c0], rbp
jne 0x180054d52
mov rax, qword [rdi]
test byte [rax + 0x4c], 8
jne 0x180054d52
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 0x180054d9b
mov rcx, qword [rbx]
lea eax, [rdx*2 + 1]
mov rdx, qword [rbx + 0x80]
movsxd r8, eax
shl r8, 2
call fcn.180005b90
mov edx, dword [rsp + 0x38]
mov qword [rbx + 0x80], rax
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x180054db1
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 0x180054de6
movzx r8d, byte [rbx + 0x2c]
mov r9d, r13d
mov edx, 0x87
mov dword [rsp + 0x20], ebp
mov rcx, rsi
call fcn.180026120
mov r14d, dword [rbx + 0x28]
mov r12d, dword [rsp + 0xc0]
test r14d, r14d
jle 0x180054e47
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.180026120
mov r14d, dword [rdi + 0x28]
lea rbx, [rbx + 4]
inc ebp
cmp ebp, r14d
jl 0x180054e10
mov rdi, qword [rsp + 0x90]
cmp dword [rsp + 0xd0], 0
jne 0x18005532f
mov rbp, qword [rsp + 0xa8]
test rbp, rbp
jne 0x180054ff5
movzx eax, byte [rdi + 0x1f]
test al, al
jne 0x180054e76
inc dword [rdi + 0x54]
mov ebx, dword [rdi + 0x54]
jmp 0x180054e82
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.180026120
xor r9d, r9d
mov dword [rsp + 0x20], 0
mov r8d, ebx
mov rcx, rsi
lea edx, [r9 + 0x26]
call fcn.180026120
mov r14, qword [rsp + 0xa0]
mov ebp, eax
mov rax, qword [rsp + 0xb0]
cmp r14, qword [rax]
jne 0x180054f14
cmp dword [rsp + 0xc8], 1
jne 0x180054f14
mov r9d, r13d
mov dword [rsp + 0x20], ebx
mov r8d, r12d
mov edx, 0x4f
mov rcx, rsi
call fcn.180026120
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x180054f14
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.1800579d0
xor r9d, r9d
mov dword [rsp + 0x20], ebx
mov r8d, r14d
mov rcx, rsi
lea edx, [r9 + 0x46]
call fcn.180026120
xor r12d, r12d
mov r9d, r13d
xor r8d, r8d
mov dword [rsp + 0x20], r12d
mov rcx, rsi
lea edx, [r12 + 0x10]
call fcn.180026120
mov edx, dword [rsi + 0x3c]
lea eax, [rdx - 2]
cmp edx, eax
jbe 0x180054f7c
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 0x180054fa3
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 0x180055337
movzx edx, byte [rdi + 0x1f]
cmp dl, 8
jae 0x180055337
mov ecx, r12d
lea rax, [rdi + 0x88]
nop dword [rax]
cmp dword [rax + 0xc], ebx
je 0x180054fec
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x180054fd0
mov dword [rdi + rdx*4 + 0x24], ebx
inc byte [rdi + 0x1f]
jmp 0x180055337
mov byte [rax + 6], 1
jmp 0x180055337
mov ecx, dword [rdi + 0x44]
mov edx, dword [rdi + 0x48]
mov dword [rsp + 0xd0], edx
cmp r14d, ecx
jg 0x180055016
lea eax, [r14 + rdx]
sub ecx, r14d
mov dword [rdi + 0x48], eax
mov dword [rdi + 0x44], ecx
jmp 0x180055029
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 0x180055039
inc dword [rdi + 0x54]
mov eax, dword [rdi + 0x54]
jmp 0x180055045
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.180026120
mov rbx, qword [rdi + 0x10]
mov rdx, rbp
mov rcx, rdi
call fcn.18004dd40
mov rcx, qword [rbx]
mov rbp, rax
mov rax, qword [rbx + 8]
test rax, rax
je 0x1800550c0
cmp byte [rcx + 0x50], 0
jne 0x1800550c0
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.1800264a0
test rbp, rbp
jne 0x1800550b3
mov qword [rbx - 8], rbp
mov byte [rbx - 0x17], bpl
jmp 0x1800550cd
mov qword [rbx - 8], rbp
mov byte [rbx - 0x17], 0xfa
jmp 0x1800550cd
mov r8, rbp
mov edx, 0xfffffffa
call fcn.1800264a0
movsxd r15, r14d
test r14d, r14d
jle 0x180055115
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.180026120
inc ebp
inc rbx
cmp rbx, r15
jl 0x1800550e0
mov rax, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0xa0]
cmp rdx, qword [rax]
jne 0x180055231
cmp dword [rsp + 0xc8], 1
jne 0x180055231
mov eax, dword [rsi + 0x3c]
inc eax
add eax, r14d
test r14d, r14d
jle 0x180055214
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 0x1800551a4
mov rcx, rsi
call fcn.180026070
test eax, eax
jne 0x1800551dd
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 0x1800551f3
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 0x180055151
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.180026120
jmp 0x180055234
xor r12d, r12d
mov rdx, qword [rsp + 0xa8]
mov rcx, rsi
call fcn.180057ba0
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.180026120
mov r9d, r14d
mov r8, rbx
mov edx, eax
mov rcx, rsi
call fcn.180026760
mov r8d, dword [rsp + 0x30]
mov r9d, r13d
mov edx, 0x45
mov dword [rsp + 0x20], ebp
mov rcx, rsi
call fcn.180026120
mov r8, qword [rsi + 8]
mov rcx, qword [rsi]
test r8, r8
je 0x1800552d1
cmp byte [rcx + 0x50], 0
jne 0x1800552d1
test eax, eax
jns 0x1800552ae
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.1800264a0
mov qword [rbx + 0x10], r12
mov byte [rbx + 1], 0xf2
jmp 0x1800552dd
xor r8d, r8d
lea edx, [r8 - 0xe]
call fcn.1800264a0
test ebp, ebp
je 0x180055311
movzx edx, byte [rdi + 0x1f]
cmp dl, 8
jae 0x180055311
mov ecx, r12d
lea rax, [rdi + 0x88]
cmp dword [rax + 0xc], ebp
je 0x18005530d
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x1800552f4
mov dword [rdi + rdx*4 + 0x24], ebp
inc byte [rdi + 0x1f]
jmp 0x180055311
mov byte [rax + 6], 1
mov r8d, r14d
mov edx, r15d
mov rcx, rdi
call fcn.18003da70
cmp r14d, dword [rdi + 0x44]
jle 0x180055332
mov dword [rdi + 0x44], r14d
mov dword [rdi + 0x48], r15d
jmp 0x180055332
xor r12d, r12d
mov r14d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0xb0]
movzx ecx, byte [rdx + 0x2c]
test cl, cl
jne 0x18005540e
mov rax, qword [rdi]
test dword [rax + 0x2c], 0x1000000
jne 0x18005540e
cmp qword [rdi + 0x1c0], 0
jne 0x18005540e
cmp byte [rdi + 0x20], cl
jne 0x18005540e
mov rbx, qword [rdi + 0x10]
test rbx, rbx
jne 0x1800553c0
mov rcx, rdi
call fcn.180025fc0
mov qword [rdi + 0x10], rax
mov rbx, rax
test rax, rax
je 0x1800553a7
xor r9d, r9d
mov dword [rsp + 0x20], r12d
xor r8d, r8d
mov edx, 0x99
mov rcx, rax
call fcn.180026120
mov rax, qword [rdi + 0x1c0]
test rax, rax
jne 0x1800553c3
mov rax, qword [rdi]
test byte [rax + 0x4c], 8
jne 0x1800553c0
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.180026120
mov r9d, 0xfffffffe
xor r8d, r8d
mov edx, eax
mov rcx, rbx
call fcn.180026760
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x18005544e
movsxd rax, dword [rbx + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 4
jmp 0x18005544e
mov r9d, dword [rsp + 0xc8]
movzx eax, cl
test r9d, r9d
jle 0x180055438
test cl, cl
jne 0x180055438
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.180026120
movsxd rax, dword [rsp + 0x38]
mov r9, qword [rsi + 0x30]
test eax, eax
js 0x180055470
mov rcx, qword [r9 + 0x80]
test rcx, rcx
je 0x180055470
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.180026120