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

Disassembly:
mov rax, rsp
push rbp
push rsi
push r12
push r13
mov rbp, rsp
sub rsp, 0x58
lea r12d, [r9 - 1]
mov r13d, r9d
mov rsi, rdx
cmp r9d, r12d
jbe 0x18003a11d
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
lea rdi, [0x180091040]
mov qword [rax + 0x18], r14
mov qword [rax - 0x28], r15
mov r15d, dword [rbp + 0x40]
nop
cmp r13d, 0x75
jne 0x18003a0f4
mov edx, 0x128
mov rcx, rsi
call fcn.180024fc0
test al, al
je 0x18003a0f4
cmp dword [0x1800823bc], 0
jne 0x18003a0f4
mov r14d, 0x104
mov eax, r14d
sub eax, 0x104
je 0x18003a21d
sub eax, 1
je 0x18003a1c2
sub eax, 1
je 0x18003a1a4
cmp eax, 1
jne 0x18003a0e4
cmp dword [rsi + 0x5c], 0
je 0x18003a128
mov rax, qword [0x180091038]
mov rdi, qword [rax + 0x68]
test rdi, rdi
je 0x18003a0dd
nop dword [rax]
cmp dword [rdi + 8], 0xf
jne 0x18003a0d0
mov eax, dword [rsi + 0x5c]
cmp dword [rdi + 0x5c], eax
jne 0x18003a0d0
cmp rdi, rsi
je 0x18003a0d0
mov ebx, 0xfd
nop dword [rax]
nop dword [rax + rax]
mov eax, ebx
sub eax, 0xfb
je 0x18003a0bb
sub eax, 1
je 0x18003a06d
cmp eax, 1
jne 0x18003a0c2
mov ecx, dword [rdi + 0x24]
lea r8, [rbp + 0x40]
mov rax, qword [0x180091038]
mov edx, 0xd9
mov dword [rbp + 0x40], 0x8000
mov dword [rax + 0x24], ecx
mov ecx, dword [rdi + 0x28]
mov rax, qword [0x180091038]
mov dword [rax + 0x28], ecx
mov rax, qword [0x180091038]
mov ecx, dword [rax + 0x3c]
mov dword [rbp - 0x28], ecx
lea rcx, [rbp - 0x28]
call fcn.1800118a0
jmp 0x18003a0c2
mov rax, qword [0x180091038]
lea r8, [rbp + 0x40]
mov edx, 0xd9
mov dword [rbp + 0x40], 0x8000
mov ecx, dword [rax + 0x3c]
mov dword [rbp - 0x28], ecx
lea rcx, [rbp - 0x28]
call fcn.1800118a0
mov rax, qword [0x180091038]
lea r8, [rbp + 0x40]
mov edx, 0xd9
mov dword [rbp + 0x40], 0x8000
mov ecx, dword [rax + 0x3c]
mov dword [rbp - 0x28], ecx
lea rcx, [rbp - 0x28]
call fcn.1800118a0
jmp 0x18003a0c2
mov byte [0x1800914ed], 1
dec ebx
cmp ebx, 0xfa
ja 0x18003a010
mov rdi, qword [rdi + 0x68]
test rdi, rdi
jne 0x180039fe0
lea rdi, [0x180091040]
inc r14d
cmp r14d, 0x108
jb 0x180039f92
dec r13d
cmp r13d, r12d
ja 0x180039f60
mov r15, qword [rsp + 0x50]
mov r14, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x80]
add rsp, 0x58
pop r13
pop r12
pop rsi
pop rbp
ret
mov ebx, 0xdc
nop dword [rax]
cmp ebx, 0xdc
je 0x18003a187
cmp ebx, 0x6edc
jne 0x18003a191
mov eax, dword [rsi + 0x30]
mov ecx, dword [rdi + rax*4]
mov eax, dword [rsi + 0x2c]
add rcx, rax
mov rax, qword [0x1800932c8]
mov eax, dword [rax + rcx*4]
sub eax, 0xb4
cmp eax, 1
jge 0x18003a168
inc dword [0x180082414]
jmp 0x18003a170
dec eax
mov dword [0x180082414], eax
mov edx, 0xa7
mov dword [rbp + 0x40], 1
lea rcx, [rbp + 0x40]
call fcn.180012320
jmp 0x18003a191
mov dword [0x1800823bc], 2
add ebx, 0x6e00
cmp ebx, 0xdc00
jbe 0x18003a130
jmp 0x18003a0e4
mov r9d, 0x50
mov dword [0x180096fec], r15d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.180018d80
jmp 0x18003a0e4
lea rax, [rbp + 0x40]
mov dword [0x180096fec], 0
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x20]
lea rax, [rbp - 0x28]
mov dword [rbp - 0x10], 4
mov r9d, 0xbc
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x18]
mov dword [rbp + 0x40], 9
lea rcx, [rbp - 0x10]
mov dword [rbp - 0x18], 0xe8
mov dword [rbp - 0x20], 4
mov dword [rbp - 0x28], 0x1a
call fcn.180039ce0
jmp 0x18003a0e4
mov r15d, dword [0x180096fec]
jmp 0x18003a0e4