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

Disassembly:
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xf8
lea rax, [rsp + 0xf8]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.180009a60
mov qword [rsp + 0x30], 0
movzx eax, byte [rsp + 0x118]
mov byte [rsp + 0x38], al
cmp byte [rsp + 0x38], 0
je 0x18004f131
cmp byte [rsp + 0x38], 1
je 0x18004f125
jmp 0x18004f163
call fcn.18004dfe0
mov qword [rsp + 0x30], rax
jmp 0x18004f163
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x80]
call fcn.1800099a0
mov rcx, rax
call fcn.1800311b0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x18004f1a6
mov qword [rsp + 0x88], 0
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
mov qword [rax], rcx
mov rax, qword [rsp + 0x88]
jmp 0x18004f395
cmp qword [rsp + 0x120], 0
je 0x18004f1c1
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x50]
mov dword [rsp + 0x58], eax
mov r8, qword [rsp + 0x110]
lea rdx, [rsp + 0xb8]
lea rcx, [0x180417018]
call fcn.18004c8b0
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
mov rax, qword [rax + 8]
sub rax, rcx
sar rax, 2
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x28], 0
jmp 0x18004f27d
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x58]
sub rcx, qword [rsp + 0x68]
cmp rax, rcx
jae 0x18004f352
mov byte [rsp + 0x20], 1
mov dword [rsp + 0x24], 0
jmp 0x18004f2ac
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
cmp rax, qword [rsp + 0x68]
jae 0x18004f2f4
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
mov eax, eax
mov rcx, qword [rsp + 0x78]
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x70]
cmp eax, dword [rdx + rcx*4]
je 0x18004f2f2
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x70]
cmp dword [rcx + rax*4], 0xffffffff
je 0x18004f2f2
mov byte [rsp + 0x20], 0
jmp 0x18004f2f4
jmp 0x18004f2a2
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x18004f34d
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0xb8]
call fcn.18004d820
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
mov qword [rax], rcx
mov rax, qword [rsp + 0xa8]
jmp 0x18004f395
jmp 0x18004f273
mov qword [rsp + 0xb0], 0
lea rcx, [rsp + 0xb8]
call fcn.18004d820
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
mov qword [rax], rcx
mov rax, qword [rsp + 0xb0]
add rsp, 0xf8
ret