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

Disassembly:
mov byte [rsp + 0x18], r8b
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x148
cmp qword [rsp + 0x150], 0
jne 0x140004f67
xor eax, eax
jmp 0x14000530a
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x150]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
cmp dword [rax + 0x1c], 0
jne 0x140004fc2
xor eax, eax
jmp 0x14000530a
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov ecx, 8
imul rcx, rcx, 0
lea rax, [rax + rcx + 0x88]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0
je 0x140004ff5
mov rax, qword [rsp + 0x30]
cmp dword [rax + 4], 0
jne 0x140004ffc
xor eax, eax
jmp 0x14000530a
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x150]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x150]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x150]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x150]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa0], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x58], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x108]
call fcn.140003120
lea rax, [rsp + 0x108]
mov qword [rsp + 0xc8], rax
mov dword [rsp + 0x20], 0
jmp 0x1400050ee
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x20], eax
jae 0x140005308
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x58]
mov rcx, qword [rcx]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x150]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x40], rax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x150]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rax]
call fcn.140002cf0
cmp dword [rsp + 0x158], eax
je 0x140005199
jmp 0x1400050e4
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xc8]
call fcn.140003c20
movzx eax, al
test eax, eax
je 0x1400052c0
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax]
lea rcx, [rsp + 0xe8]
call fcn.140004390
nop
lea rcx, [rsp + 0xe8]
call fcn.140005760
movzx eax, al
test eax, eax
je 0x1400051f2
lea rcx, [rsp + 0xe8]
call fcn.140004550
jmp 0x1400050e4
xor r8d, r8d
lea rdx, [0x1400020b0]
lea rcx, [rsp + 0xe8]
call fcn.1400057d0
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0xffffffffffffffff
jne 0x140005228
lea rcx, [rsp + 0xe8]
call fcn.140004550
jmp 0x1400050e4
mov rax, qword [rsp + 0x50]
inc rax
mov r9, 0xffffffffffffffff
mov r8, rax
lea rdx, [rsp + 0x118]
lea rcx, [rsp + 0xe8]
call fcn.140005b30
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xd8], rax
mov rcx, qword [rsp + 0xd8]
call fcn.140005650
mov rcx, rax
call fcn.140002cf0
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0x118]
call fcn.140004550
xor r8d, r8d
mov rdx, qword [rsp + 0x150]
mov ecx, dword [rsp + 0x38]
call fcn.140004e10
mov qword [rsp + 0xe0], rax
lea rcx, [rsp + 0xe8]
call fcn.140004550
mov rax, qword [rsp + 0xe0]
jmp 0x14000530a
movzx eax, byte [rsp + 0x160]
test eax, eax
je 0x1400052ef
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x58]
mov rcx, qword [rcx]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax*4]
mov qword [rsp + 0x68], rax
jmp 0x1400052fc
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
jmp 0x14000530a
xor eax, eax
add rsp, 0x148
ret