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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x140063040]
xor rax, rsp
mov qword [rsp + 0x98], rax
cmp dword [rsp + 0xc0], 0
jl 0x140003cd1
mov dword [rsp + 0x24], 1
jmp 0x140003cd9
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x140003cef
xor eax, eax
jmp 0x140003f37
xor eax, eax
test eax, eax
jne 0x140003cbd
mov eax, dword [rsp + 0xc0]
mov dword [rsp + 0x30], eax
mov eax, 0x7fffffff
sub eax, dword [rsp + 0x30]
cmp eax, 1
jge 0x140003d4a
xor eax, eax
cmp eax, 0x216
jl 0x140003d21
mov dword [rsp + 0x28], 0x216
jmp 0x140003d38
mov eax, 0x216
and eax, 0xffff
or eax, 0x70000
bts eax, 0x1f
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x38], eax
jmp 0x140003d5f
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0xc0], eax
mov dword [rsp + 0x38], 0
mov eax, dword [rsp + 0x38]
test eax, eax
jge 0x140003d6e
xor eax, eax
jmp 0x140003f37
mov eax, dword [rsp + 0xc0]
mov dword [rsp + 0x58], eax
mov eax, 8
dec eax
mov ecx, dword [rsp + 0x58]
add ecx, eax
mov eax, ecx
mov ecx, 8
dec ecx
not ecx
and eax, ecx
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0xc0], eax
jg 0x140003db6
mov dword [rsp + 0x3c], 1
jmp 0x140003dbe
mov dword [rsp + 0x3c], 0
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
jne 0x140003dd4
xor eax, eax
jmp 0x140003f37
xor eax, eax
test eax, eax
jne 0x140003d9f
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0xc8]
imul rax, rcx
mov qword [rsp + 0x78], rax
mov eax, 0xffffffff
cmp qword [rsp + 0x78], rax
jbe 0x140003e36
xor eax, eax
cmp eax, 0x216
jl 0x140003e0d
mov dword [rsp + 0x40], 0x216
jmp 0x140003e24
mov eax, 0x216
and eax, 0xffff
or eax, 0x70000
bts eax, 0x1f
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x44], eax
jmp 0x140003e49
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x94], eax
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0x44]
test eax, eax
jl 0x140003ebf
mov eax, 0xffffffff
sub eax, 0x18
cmp eax, dword [rsp + 0x94]
jae 0x140003e9e
xor eax, eax
cmp eax, 0x216
jl 0x140003e75
mov dword [rsp + 0x48], 0x216
jmp 0x140003e8c
mov eax, 0x216
and eax, 0xffff
or eax, 0x70000
bts eax, 0x1f
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x4c], eax
jmp 0x140003eb7
mov eax, dword [rsp + 0x94]
add eax, 0x18
mov dword [rsp + 0x90], eax
mov dword [rsp + 0x4c], 0
mov eax, dword [rsp + 0x4c]
test eax, eax
jge 0x140003ec3
xor eax, eax
jmp 0x140003f37
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 8]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 8]
mov rax, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x88], rax
mov eax, dword [rsp + 0x90]
mov r8d, eax
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x80]
call qword [rsp + 0x88]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x140003f24
xor eax, eax
jmp 0x140003f37
mov eax, dword [rsp + 0x20]
dec eax
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 0xc], eax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140054330
add rsp, 0xa8
ret