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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x240
mov rax, qword [0x14034e010]
xor rax, rsp
mov qword [rsp + 0x238], rax
mov dword [rsp + 0x34], 0
lea rax, [rsp + 0x200]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rax, [rsp + 0x200]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov rcx, rax
call fcn.14002f340
lea rax, [rsp + 0x200]
mov qword [rsp + 0x1d0], rax
lea rax, [rsp + 0x1d8]
mov qword [rsp + 0xe8], rax
mov rdx, qword [rsp + 0x258]
mov rcx, qword [rsp + 0xe8]
call fcn.14001ec90
mov qword [rsp + 0xf0], rax
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0x218]
call fcn.1400642c0
nop
mov rax, qword [rsp + 0x228]
mov qword [rsp + 0xf8], rax
cmp qword [rsp + 0xf8], 0
je 0x1400662fe
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x218]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x18], 0x10
jb 0x140065cd3
mov dword [rsp + 0x44], 1
jmp 0x140065cdb
mov dword [rsp + 0x44], 0
movzx eax, byte [rsp + 0x44]
mov byte [rsp + 0x24], al
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x140065d10
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov eax, dword [rax]
mov dword [rsp + 0x68], eax
movsxd rax, dword [rsp + 0x20]
add rax, 4
mov dword [rsp + 0x20], eax
lea rax, [rsp + 0x218]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x88]
cmp qword [rax + 0x18], 0x10
jb 0x140065d84
mov dword [rsp + 0x48], 1
jmp 0x140065d8c
mov dword [rsp + 0x48], 0
movzx eax, byte [rsp + 0x48]
mov byte [rsp + 0x25], al
movzx eax, byte [rsp + 0x25]
test eax, eax
je 0x140065dc1
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x128], rax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x128]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x6c], eax
movsxd rax, dword [rsp + 0x20]
add rax, 4
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x30], 0
movsxd rax, dword [rsp + 0x68]
mov qword [rsp + 0x130], rax
movsxd rcx, dword [0x14034ed2c]
movsxd rdx, dword [0x14034ed44]
add rdx, 0x8b78
imul rdx, rdx, 0x8b78
add rdx, 5
movsxd rdi, dword [0x14034ed44]
add rdi, 4
imul rdx, rdi
lea rcx, [rcx + rdx + 0x8b7c]
call fcn.14002ff10
mov rcx, qword [rsp + 0x130]
cmp rcx, rax
jne 0x140065f1e
lea rax, [rsp + 0x218]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x90]
cmp qword [rax + 0x18], 0x10
jb 0x140065e9d
mov dword [rsp + 0x4c], 1
jmp 0x140065ea5
mov dword [rsp + 0x4c], 0
movzx eax, byte [rsp + 0x4c]
mov byte [rsp + 0x26], al
movzx eax, byte [rsp + 0x26]
test eax, eax
je 0x140065eda
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x148], rax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x148]
movsx eax, word [rcx + rax]
mov dword [rsp + 0x30], eax
movsxd rax, dword [rsp + 0x20]
add rax, 4
mov dword [rsp + 0x20], eax
jmp 0x140065f32
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x30], eax
movsxd rax, dword [rsp + 0x20]
inc rax
mov dword [rsp + 0x20], eax
imul eax, dword [rsp + 0x30], 6
add eax, dword [rsp + 0x20]
mov dword [rsp + 0x2c], eax
mov dword [rsp + 0x38], 0
jmp 0x140065f53
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x38], eax
jge 0x1400662fe
lea rax, [rsp + 0x218]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x98]
cmp qword [rax + 0x18], 0x10
jb 0x140065f9a
mov dword [rsp + 0x50], 1
jmp 0x140065fa2
mov dword [rsp + 0x50], 0
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x27], al
movzx eax, byte [rsp + 0x27]
test eax, eax
je 0x140065fd7
mov rax, qword [rsp + 0x98]
mov rax, qword [rax]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0xd0], rax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0xd0]
movsx eax, word [rcx + rax]
mov dword [rsp + 0xd8], eax
movsxd rax, dword [rsp + 0x20]
add rax, 2
mov dword [rsp + 0x20], eax
lea rax, [rsp + 0x218]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x18], 0x10
jb 0x14006604c
mov dword [rsp + 0x54], 1
jmp 0x140066054
mov dword [rsp + 0x54], 0
movzx eax, byte [rsp + 0x54]
mov byte [rsp + 0x28], al
movzx eax, byte [rsp + 0x28]
test eax, eax
je 0x140066086
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x170], rax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x170]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x40], eax
movsxd rax, dword [rsp + 0x20]
add rax, 4
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x178], 0xb561f6
mov rax, qword [rsp + 0x178]
xor rax, 4
mov qword [rsp + 0x190], rax
mov qword [rsp + 0x180], 4
mov rax, qword [0x14034ed70]
xor rax, 0x8b78
imul rax, rax, 5
mov qword [rsp + 0x188], rax
mov qword [rsp + 0x198], 0x77db2
mov rax, qword [rsp + 0x180]
mov rcx, qword [rsp + 0x188]
lea rax, [rax + rcx + 1]
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x198]
sub rax, rcx
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1a0]
mov rcx, qword [rsp + 0x1a8]
xor edx, edx
div rcx
mov qword [rsp + 0x1b0], rax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x40]
sub ecx, eax
mov eax, ecx
mov eax, eax
mov rcx, qword [rsp + 0x1b0]
cmp rax, rcx
jne 0x1400662f1
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x40]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x3c], 0
jmp 0x1400661c0
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x70]
cmp dword [rsp + 0x3c], eax
jae 0x140066296
lea rax, [rsp + 0x218]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x78]
cmp qword [rax + 0x18], 0x10
jb 0x1400661fe
mov dword [rsp + 0x58], 1
jmp 0x140066206
mov dword [rsp + 0x58], 0
movzx eax, byte [rsp + 0x58]
mov byte [rsp + 0x29], al
movzx eax, byte [rsp + 0x29]
test eax, eax
je 0x140066238
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov qword [rsp + 0x1b8], rax
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x1c0]
mov qword [rsp + 0x1c8], rax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x1c8]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x1f8], al
movsxd rax, dword [rsp + 0x20]
inc rax
mov dword [rsp + 0x20], eax
lea rdx, [rsp + 0x1f8]
lea rcx, [rsp + 0x200]
call fcn.140167620
jmp 0x1400661b6
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x2c], eax
lea rdx, [rsp + 0x200]
mov rcx, qword [rsp + 0x250]
call fcn.140164c50
mov eax, dword [rsp + 0x34]
or eax, 1
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x218]
call fcn.140021a50
nop
lea rcx, [rsp + 0x200]
call fcn.14002efd0
nop
mov rcx, qword [rsp + 0x258]
call fcn.140021a50
mov rax, qword [rsp + 0x250]
jmp 0x14006634f
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x2c], eax
jmp 0x140065f49
lea rdx, [rsp + 0x200]
mov rcx, qword [rsp + 0x250]
call fcn.140164c50
mov eax, dword [rsp + 0x34]
or eax, 1
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x218]
call fcn.140021a50
nop
lea rcx, [rsp + 0x200]
call fcn.14002efd0
nop
mov rcx, qword [rsp + 0x258]
call fcn.140021a50
mov rax, qword [rsp + 0x250]
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
call fcn.140269760
add rsp, 0x240
pop rdi
ret