Function at 0x180027380
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 0x180027742
cmp byte [rdi + 0x14], al
je 0x1800273c6
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 0x180027429
mov ebx, dword [rcx + 8]
mov rcx, qword [rdi + 0x88]
cmp qword [rcx], 0
jne 0x1800273ed
mov edx, 0x20a
mov eax, edx
jmp 0x18002773d
movsxd r8, dword [rdi + 0x44]
lea r9d, [rbx - 1]
mov rdx, r13
imul r9, r8
call fcn.1800201f0
cmp ebx, 1
mov edx, eax
jne 0x180027422
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 0x1800273e6
mov byte [rsi + 0x3c], dl
xor ebx, ebx
mov qword [rsp + 0x48], rbp
cmp byte [rsi + 0x39], bl
mov ebp, ebx
jne 0x180027464
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 0x180027459
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 0x1800274a3
mov rcx, qword [rsi]
cmp byte [rcx + 0x18], bl
je 0x180027481
movsxd rax, dword [rcx + 0x40]
movzx eax, byte [rax + rsi + 0x78]
jmp 0x18002748d
mov edx, dword [rsi + 8]
mov rcx, qword [rcx + 0x60]
call fcn.180029980
test eax, eax
jne 0x180027496
cmp byte [rdi + 0xd], bl
jne 0x1800274a3
mov byte [rdi + 0x16], 1
mov byte [rdi + 0x1d], 1
jmp 0x18002770d
xor edx, edx
mov rcx, rsi
call fcn.180027280
test eax, eax
mov ebp, eax
jne 0x180027733
cmp byte [rdi + 8], bl
jne 0x1800274d9
cmp byte [rdi + 0xa], bl
je 0x1800274d9
cmp byte [rdi + 0x1c], 2
je 0x1800274d9
mov rcx, rdi
call fcn.180027070
test eax, eax
mov ebp, eax
jne 0x180027733
mov byte [rdi + 0x16], 1
mov byte [rdi + 0x1d], 1
cmp byte [rsi + 0x38], bl
jne 0x18002761a
cmp byte [rdi + 8], bl
jne 0x1800274f8
cmp byte [rdi + 0x18], bl
je 0x18002761a
mov r12d, dword [rsi + 8]
cmp r12d, dword [rdi + 0x2c]
jg 0x1800275fa
cmp byte [rdi + 0x18], bl
je 0x180027540
mov ecx, dword [rdi + 0x44]
movsxd rbx, dword [rdi + 0x40]
call fcn.180009b70
test rax, rax
mov qword [rbx + rsi + 0x58], rax
jne 0x18002752b
mov eax, 7
jmp 0x180027733
movsxd r8, dword [rdi + 0x44]
mov rdx, qword [rsi + 0x50]
mov rcx, rax
call fcn.180232390
jmp 0x18002760c
mov rdx, r13
mov rcx, rdi
call fcn.180024de0
mov rdx, qword [rdi + 0xd8]
mov rcx, qword [rdi + 0x90]
mov r8d, r12d
mov ebx, eax
call fcn.180024620
test eax, eax
mov ebp, eax
jne 0x180027731
mov r9, qword [rdi + 0xd8]
mov r8d, dword [rdi + 0x44]
mov rcx, qword [rdi + 0x90]
add r9, 4
mov rdx, r13
call fcn.180020200
mov ebp, eax
mov eax, dword [rdi + 0x44]
add eax, 4
cdqe
add qword [rdi + 0xd8], rax
test ebp, ebp
jne 0x180027731
mov rdx, qword [rdi + 0xd8]
mov rcx, qword [rdi + 0x90]
mov r8d, ebx
call fcn.180024620
add qword [rdi + 0xd8], 4
test eax, eax
mov ebp, eax
jne 0x180027731
add dword [rdi + 0x34], 1
mov rcx, qword [rdi + 0x58]
mov edx, dword [rsi + 8]
call fcn.180029a60
cmp byte [rdi + 0xf], bpl
sete al
mov byte [rsi + 0x3a], al
cmp byte [rdi + 0xd], bpl
je 0x18002760c
mov edx, dword [rsi + 8]
mov rcx, qword [rdi + 0x60]
call fcn.180029a60
jmp 0x18002760c
cmp byte [rdi + 9], bl
jne 0x180027609
cmp byte [rdi + 0xf], bl
jne 0x180027609
mov ebx, 1
mov byte [rsi + 0x3a], bl
cmp byte [rsi + 0x3a], 0
je 0x180027616
mov byte [rdi + 0x15], 1
mov byte [rsi + 0x38], 1
cmp byte [rdi + 0xd], 0
je 0x18002770d
mov rcx, qword [rsi]
cmp byte [rcx + 0x18], 0
je 0x180027638
movsxd rax, dword [rcx + 0x40]
movzx eax, byte [rax + rsi + 0x78]
jmp 0x180027644
mov edx, dword [rsi + 8]
mov rcx, qword [rcx + 0x60]
call fcn.180029980
test eax, eax
jne 0x18002770d
mov r8d, dword [rsi + 8]
cmp r8d, dword [rdi + 0x30]
jg 0x18002770d
cmp byte [rdi + 0x18], al
je 0x1800276be
mov ecx, dword [rdi + 0x44]
movsxd rbx, dword [rdi + 0x40]
call fcn.180009b70
test rax, rax
mov qword [rbx + rsi + 0x60], rax
je 0x180027685
movsxd r8, dword [rdi + 0x44]
mov rdx, qword [rsi + 0x50]
mov rcx, rax
call fcn.180232390
mov rdx, qword [rsi]
movsxd rcx, dword [rdx + 0x40]
cmp byte [rcx + rsi + 0x78], 0
jne 0x18002770d
mov rax, qword [rdx + 0xc8]
test rax, rax
je 0x1800276a4
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 0x18002770d
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.180024620
test eax, eax
mov ebp, eax
jne 0x180027731
mov r8d, dword [rdi + 0x44]
mov rcx, qword [rdi + 0x98]
lea r9, [rbx + 4]
mov rdx, r13
call fcn.180020200
test eax, eax
mov ebp, eax
jne 0x180027731
add dword [rdi + 0x3c], 1
mov rcx, qword [rdi + 0x60]
mov edx, dword [rsi + 8]
call fcn.180029a60
mov ecx, dword [rsi + 8]
cmp dword [rdi + 0x28], ecx
jge 0x180027731
cmp byte [rdi + 0x18], 0
mov dword [rdi + 0x28], ecx
jne 0x180027731
mov eax, 0x40000000
cdq
idiv dword [rdi + 0x44]
cmp ecx, eax
jne 0x180027731
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