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

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rdi
mov rdi, qword [rcx]
mov eax, dword [rdi + 0x24]
mov qword [rsp + 0x28], r13
mov r13, qword [rcx + 0x50]
test eax, eax
mov rsi, rcx
jne 0x180187612
cmp byte [rdi + 0x14], al
je 0x180187296
mov eax, 3
mov r13, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
add rsp, 0x38
ret
cmp byte [rcx + 0x3c], 0
mov qword [rsp + 0x40], rbx
je 0x1801872f9
mov ebx, dword [rcx + 8]
mov rcx, qword [rdi + 0x88]
cmp qword [rcx], 0
jne 0x1801872bd
mov edx, 0x20a
mov eax, edx
jmp 0x18018760d
movsxd r8, dword [rdi + 0x44]
lea r9d, [rbx - 1]
mov rdx, r13
imul r9, r8
call fcn.1801800e0
cmp ebx, 1
mov edx, eax
jne 0x1801872f2
mov rcx, qword [rsi + 0x50]
mov rax, qword [rcx + 0x18]
mov qword [rdi + 0x130], rax
mov rax, qword [rcx + 0x20]
mov qword [rdi + 0x138], rax
test edx, edx
jne 0x1801872b6
mov byte [rsi + 0x3c], dl
xor ebx, ebx
mov qword [rsp + 0x48], rbp
cmp byte [rsi + 0x39], bl
mov ebp, ebx
jne 0x180187334
mov rcx, qword [rsi]
mov byte [rsi + 0x39], 1
mov rax, qword [rcx + 0xd0]
mov qword [rsi + 0x40], rax
mov rax, qword [rcx + 0xd0]
test rax, rax
je 0x180187329
mov qword [rax + 0x48], rsi
mov qword [rsi + 0x48], rbx
mov qword [rcx + 0xd0], rsi
cmp byte [rsi + 0x38], bl
mov qword [rsp + 0x30], r12
je 0x180187373
mov rcx, qword [rsi]
cmp byte [rcx + 0x18], bl
je 0x180187351
movsxd rax, dword [rcx + 0x40]
movzx eax, byte [rax + rsi + 0x78]
jmp 0x18018735d
mov edx, dword [rsi + 8]
mov rcx, qword [rcx + 0x60]
call fcn.180189850
test eax, eax
jne 0x180187366
cmp byte [rdi + 0xd], bl
jne 0x180187373
mov byte [rdi + 0x16], 1
mov byte [rdi + 0x1d], 1
jmp 0x1801875dd
xor edx, edx
mov rcx, rsi
call fcn.180187150
test eax, eax
mov ebp, eax
jne 0x180187603
cmp byte [rdi + 8], bl
jne 0x1801873a9
cmp byte [rdi + 0xa], bl
je 0x1801873a9
cmp byte [rdi + 0x1c], 2
je 0x1801873a9
mov rcx, rdi
call fcn.180186f40
test eax, eax
mov ebp, eax
jne 0x180187603
mov byte [rdi + 0x16], 1
mov byte [rdi + 0x1d], 1
cmp byte [rsi + 0x38], bl
jne 0x1801874ea
cmp byte [rdi + 8], bl
jne 0x1801873c8
cmp byte [rdi + 0x18], bl
je 0x1801874ea
mov r12d, dword [rsi + 8]
cmp r12d, dword [rdi + 0x2c]
jg 0x1801874ca
cmp byte [rdi + 0x18], bl
je 0x180187410
mov ecx, dword [rdi + 0x44]
movsxd rbx, dword [rdi + 0x40]
call fcn.180169a60
test rax, rax
mov qword [rbx + rsi + 0x58], rax
jne 0x1801873fb
mov eax, 7
jmp 0x180187603
movsxd r8, dword [rdi + 0x44]
mov rdx, qword [rsi + 0x50]
mov rcx, rax
call fcn.1800b54c0
jmp 0x1801874dc
mov rdx, r13
mov rcx, rdi
call fcn.180184cd0
mov rdx, qword [rdi + 0xd8]
mov rcx, qword [rdi + 0x90]
mov r8d, r12d
mov ebx, eax
call fcn.180184510
test eax, eax
mov ebp, eax
jne 0x180187601
mov r9, qword [rdi + 0xd8]
mov r8d, dword [rdi + 0x44]
mov rcx, qword [rdi + 0x90]
add r9, 4
mov rdx, r13
call fcn.1801800f0
mov ebp, eax
mov eax, dword [rdi + 0x44]
add eax, 4
cdqe
add qword [rdi + 0xd8], rax
test ebp, ebp
jne 0x180187601
mov rdx, qword [rdi + 0xd8]
mov rcx, qword [rdi + 0x90]
mov r8d, ebx
call fcn.180184510
add qword [rdi + 0xd8], 4
test eax, eax
mov ebp, eax
jne 0x180187601
add dword [rdi + 0x34], 1
mov rcx, qword [rdi + 0x58]
mov edx, dword [rsi + 8]
call fcn.180189930
cmp byte [rdi + 0xf], bpl
sete al
mov byte [rsi + 0x3a], al
cmp byte [rdi + 0xd], bpl
je 0x1801874dc
mov edx, dword [rsi + 8]
mov rcx, qword [rdi + 0x60]
call fcn.180189930
jmp 0x1801874dc
cmp byte [rdi + 9], bl
jne 0x1801874d9
cmp byte [rdi + 0xf], bl
jne 0x1801874d9
mov ebx, 1
mov byte [rsi + 0x3a], bl
cmp byte [rsi + 0x3a], 0
je 0x1801874e6
mov byte [rdi + 0x15], 1
mov byte [rsi + 0x38], 1
cmp byte [rdi + 0xd], 0
je 0x1801875dd
mov rcx, qword [rsi]
cmp byte [rcx + 0x18], 0
je 0x180187508
movsxd rax, dword [rcx + 0x40]
movzx eax, byte [rax + rsi + 0x78]
jmp 0x180187514
mov edx, dword [rsi + 8]
mov rcx, qword [rcx + 0x60]
call fcn.180189850
test eax, eax
jne 0x1801875dd
mov r8d, dword [rsi + 8]
cmp r8d, dword [rdi + 0x30]
jg 0x1801875dd
cmp byte [rdi + 0x18], al
je 0x18018758e
mov ecx, dword [rdi + 0x44]
movsxd rbx, dword [rdi + 0x40]
call fcn.180169a60
test rax, rax
mov qword [rbx + rsi + 0x60], rax
je 0x180187555
movsxd r8, dword [rdi + 0x44]
mov rdx, qword [rsi + 0x50]
mov rcx, rax
call fcn.1800b54c0
mov rdx, qword [rsi]
movsxd rcx, dword [rdx + 0x40]
cmp byte [rcx + rsi + 0x78], 0
jne 0x1801875dd
mov rax, qword [rdx + 0xc8]
test rax, rax
je 0x180187574
mov qword [rax + rcx + 0x70], rsi
mov rax, qword [rdx + 0xc8]
mov qword [rcx + rsi + 0x68], rax
mov qword [rdx + 0xc8], rsi
mov byte [rcx + rsi + 0x78], 1
jmp 0x1801875dd
mov eax, dword [rdi + 0x44]
mov rcx, qword [rdi + 0x98]
add eax, 4
imul eax, dword [rdi + 0x3c]
movsxd rbx, eax
mov rdx, rbx
call fcn.180184510
test eax, eax
mov ebp, eax
jne 0x180187601
mov r8d, dword [rdi + 0x44]
mov rcx, qword [rdi + 0x98]
lea r9, [rbx + 4]
mov rdx, r13
call fcn.1801800f0
test eax, eax
mov ebp, eax
jne 0x180187601
add dword [rdi + 0x3c], 1
mov rcx, qword [rdi + 0x60]
mov edx, dword [rsi + 8]
call fcn.180189930
mov ecx, dword [rsi + 8]
cmp dword [rdi + 0x28], ecx
jge 0x180187601
cmp byte [rdi + 0x18], 0
mov dword [rdi + 0x28], ecx
jne 0x180187601
mov eax, 0x40000000
cdq
idiv dword [rdi + 0x44]
cmp ecx, eax
jne 0x180187601
lea eax, [rcx + 1]
mov dword [rdi + 0x28], eax
mov eax, ebp
mov r12, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov r13, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
add rsp, 0x38
ret