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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x128
mov rax, qword [rsp + 0x130]
cmp dword [rax + 4], 1
jg 0x140038e54
jmp 0x140039468
xor r8d, r8d
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
call fcn.14003d860
mov rcx, qword [rsp + 0x138]
call fcn.14003fda0
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x38], 0
mov rax, qword [rsp + 0x130]
cmp dword [rax + 4], 0
jle 0x140038eec
mov rax, qword [rsp + 0x138]
cmp dword [rax], 0
jle 0x140038eec
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
dec eax
cdqe
imul rax, rax, 0x38
mov rcx, qword [rsp + 0x80]
add rax, qword [rcx + 8]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x88], rax
jmp 0x140038ef8
mov qword [rsp + 0x88], 0
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x140038f23
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x40]
add eax, dword [rcx + 0x20]
mov dword [rsp + 0x50], eax
jmp 0x140038f2b
mov dword [rsp + 0x50], 0
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x2c], eax
mov dword [rsp + 0x30], 1
jmp 0x140038f47
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 4]
cmp dword [rsp + 0x30], eax
jge 0x1400391ac
mov rax, qword [rsp + 0x130]
add rax, 8
mov qword [rsp + 0xb8], rax
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0xb8]
add rax, qword [rcx + 8]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
cmp dword [rax], 0
jle 0x140039008
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov eax, dword [rax]
dec eax
cdqe
imul rax, rax, 0x38
mov rcx, qword [rsp + 0x90]
add rax, qword [rcx + 8]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
cmp dword [rax + 0x20], 0
jne 0x140039008
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov eax, dword [rax]
dec eax
mov rcx, qword [rsp + 0x98]
mov dword [rcx], eax
mov rax, qword [rsp + 0x20]
cmp dword [rax], 0
jle 0x1400390d7
cmp qword [rsp + 0x40], 0
je 0x1400390d7
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0xd0], rax
xor eax, eax
imul rax, rax, 0x38
mov rcx, qword [rsp + 0xd0]
add rax, qword [rcx + 8]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x58], rax
mov r8d, 0x1c
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400390d7
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x28], 0
jne 0x1400390d7
mov rax, qword [rsp + 0x58]
cmp qword [rax + 0x28], 0
jne 0x1400390d7
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x58]
add eax, dword [rcx + 0x20]
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 0x20], eax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x20]
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x20]
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0xe0]
call fcn.14003ff90
nop
mov rax, qword [rsp + 0x20]
cmp dword [rax], 0
jle 0x140039121
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax]
dec eax
cdqe
imul rax, rax, 0x38
mov rcx, qword [rsp + 0xa0]
add rax, qword [rcx + 8]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax]
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x10]
mov ecx, dword [rsp + 0x38]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x28], 0
jmp 0x14003915c
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax]
cmp dword [rsp + 0x28], eax
jge 0x1400391a7
movsxd rax, dword [rsp + 0x28]
imul rax, rax, 0x38
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 8]
mov edx, dword [rsp + 0x2c]
mov dword [rcx + rax + 0x1c], edx
movsxd rax, dword [rsp + 0x28]
imul rax, rax, 0x38
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 8]
mov eax, dword [rcx + rax + 0x20]
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
jmp 0x140039152
jmp 0x140038f3d
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x138]
mov eax, dword [rax]
add eax, dword [rsp + 0x34]
mov edx, eax
mov rcx, qword [rsp + 0xf0]
call fcn.140040b10
mov rax, qword [rsp + 0x138]
add rax, 0x10
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x138]
mov eax, dword [rax + 0x10]
add eax, dword [rsp + 0x38]
mov edx, eax
mov rcx, qword [rsp + 0xf8]
call fcn.14002dfd0
mov rax, qword [rsp + 0x138]
movsxd rax, dword [rax]
imul rax, rax, 0x38
mov rcx, qword [rsp + 0x138]
mov rcx, qword [rcx + 8]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x34]
imul rcx, rcx, 0x38
sub rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x138]
movsxd rax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x138]
mov rcx, qword [rcx + 0x18]
lea rax, [rcx + rax*2]
movsxd rcx, dword [rsp + 0x38]
shl rcx, 1
sub rax, rcx
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x3c], 1
jmp 0x14003927d
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 4]
cmp dword [rsp + 0x3c], eax
jge 0x140039363
mov rax, qword [rsp + 0x130]
add rax, 8
mov qword [rsp + 0x100], rax
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x100]
add rax, qword [rcx + 8]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
je 0x14003931a
movsxd rax, dword [rsp + 0x48]
imul rax, rax, 0x38
mov r8, rax
mov rax, qword [rsp + 0x60]
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0x70]
call sub.VCRUNTIME140.dll_memcpy
movsxd rax, dword [rsp + 0x48]
imul rax, rax, 0x38
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
je 0x14003935e
movsxd rax, dword [rsp + 0x4c]
shl rax, 1
mov r8, rax
mov rax, qword [rsp + 0x60]
mov rdx, qword [rax + 0x18]
mov rcx, qword [rsp + 0x68]
call sub.VCRUNTIME140.dll_memcpy
movsxd rax, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x68]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x68], rax
jmp 0x140039273
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x68]
mov qword [rax + 0x50], rcx
mov rax, qword [rsp + 0x138]
cmp dword [rax], 0
je 0x1400393c6
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax]
dec eax
cdqe
imul rax, rax, 0x38
mov rcx, qword [rsp + 0xa8]
add rax, qword [rcx + 8]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
cmp qword [rax + 0x28], 0
je 0x1400393d4
mov rcx, qword [rsp + 0x138]
call fcn.14002faa0
nop
mov rax, qword [rsp + 0x138]
mov eax, dword [rax]
dec eax
cdqe
imul rax, rax, 0x38
mov rcx, qword [rsp + 0x138]
add rax, qword [rcx + 8]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
cmp dword [rax + 0x20], 0
jne 0x140039426
mov rax, qword [rsp + 0x138]
add rax, 0x88
mov r8d, 0x1c
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call sub.VCRUNTIME140.dll_memcpy
nop
jmp 0x140039459
mov rax, qword [rsp + 0x138]
add rax, 0x88
mov r8d, 0x1c
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140039459
mov rcx, qword [rsp + 0x138]
call fcn.14002faa0
nop
mov rax, qword [rsp + 0x130]
mov dword [rax + 4], 1
add rsp, 0x128
ret