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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x368
lea rax, [rsp + 0x180]
mov rdi, rax
mov rsi, qword [rsp + 0x3a0]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x180]
call fcn.14003dc70
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x390]
cmp dword [rax + 0x2c], 0
je 0x14003e0cf
mov rax, qword [rsp + 0x390]
mov eax, dword [rax + 0x2c]
mov ecx, dword [rsp + 0x50]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0x54], eax
jmp 0x14003e0e6
xor edx, edx
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x390]
div dword [rcx + 0x28]
mov eax, edx
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x80], eax
mov rax, qword [rsp + 0x398]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x8c], eax
mov rax, qword [rsp + 0x398]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x88], eax
lea rax, [rsp + 0x130]
mov rdi, rax
mov rsi, qword [rsp + 0x398]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov edx, 1
lea rcx, [rsp + 0x388]
call fcn.14000f5a0
mov rdx, rax
lea rcx, [rsp + 0x2c0]
call fcn.140002e20
lea rcx, [rsp + 0x190]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x170]
lea rcx, [rsp + 0x190]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x390]
mov rcx, qword [rcx + 0x20]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x58], rax
jmp 0x14003e1c8
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x14003e9b1
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 8]
mov dword [rsp + 0x84], eax
mov rax, qword [rsp + 0x58]
add rax, 0xc
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x40], 0
jmp 0x14003e21c
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x90]
add rax, 4
mov qword [rsp + 0x90], rax
mov eax, dword [rsp + 0x84]
cmp dword [rsp + 0x40], eax
jae 0x14003e9ac
lea rax, [rsp + 0xb8]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x90]
mov eax, dword [rax]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x8c], eax
ja 0x14003e895
mov eax, dword [rsp + 0x88]
cmp dword [rsp + 0x3c], eax
jae 0x14003e895
mov rax, qword [rsp + 0x398]
mov eax, dword [rax + 0x10]
mov ecx, dword [rsp + 0x3c]
sub ecx, eax
mov eax, ecx
mov eax, eax
mov rcx, qword [rsp + 0x398]
mov rcx, qword [rcx + 0x18]
lea rax, [rcx + rax*8]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + 4]
mov rcx, qword [rsp + 0x60]
mov ecx, dword [rcx]
add ecx, eax
mov eax, ecx
mov eax, eax
cmp rax, qword [rsp + 0x138]
ja 0x14003e895
mov rax, qword [rsp + 0x60]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x130]
lea rax, [rcx + rax + 2]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + 4]
sub eax, 2
cdqe
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + 6]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0x1504
je 0x14003e32d
cmp dword [rsp + 0x38], 0x1505
je 0x14003e32d
cmp dword [rsp + 0x38], 0x1506
je 0x14003e524
cmp dword [rsp + 0x38], 0x1507
je 0x14003e71b
jmp 0x14003e895
cmp qword [rsp + 0x28], 0x10
jb 0x14003e51f
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
movzx eax, word [rax + 2]
and eax, 0x80
test eax, eax
jne 0x14003e51f
mov rax, qword [rsp + 0x98]
add rax, 0x10
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov r8, rax
mov rdx, qword [rsp + 0xc8]
lea rcx, [rsp + 0x330]
call fcn.140039500
lea rcx, [rsp + 0x260]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x278]
lea rcx, [rsp + 0x260]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x288]
mov rcx, qword [rsp + 0xc8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov r8, rax
mov rdx, qword [rsp + 0xd0]
lea rcx, [rsp + 0x2d0]
call fcn.14000a2a0
lea rcx, [rsp + 0x1a0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x140]
lea rcx, [rsp + 0x1a0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
cmp dword [rsp + 0x3a8], 0
je 0x14003e502
mov rax, qword [rsp + 0x98]
movzx eax, word [rax + 2]
and eax, 0x200
test eax, eax
je 0x14003e500
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x148]
lea rax, [rax + rcx + 1]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov r8, rax
mov rdx, qword [rsp + 0xf8]
lea rcx, [rsp + 0x2e0]
call fcn.14000a2a0
lea rcx, [rsp + 0x1b0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x1c0]
lea rcx, [rsp + 0x1b0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xb8]
lea rcx, [rsp + 0x1c0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
jmp 0x14003e51f
lea rax, [rsp + 0xb8]
lea rcx, [rsp + 0x140]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
jmp 0x14003e895
cmp qword [rsp + 0x28], 8
jb 0x14003e716
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
movzx eax, word [rax + 2]
and eax, 0x80
test eax, eax
jne 0x14003e716
mov rax, qword [rsp + 0xa0]
add rax, 8
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov r8, rax
mov rdx, qword [rsp + 0xd8]
lea rcx, [rsp + 0x348]
call fcn.140039500
lea rcx, [rsp + 0x290]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x2a8]
lea rcx, [rsp + 0x290]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x2b8]
mov rcx, qword [rsp + 0xd8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov r8, rax
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0x2f0]
call fcn.14000a2a0
lea rcx, [rsp + 0x1d0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x150]
lea rcx, [rsp + 0x1d0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
cmp dword [rsp + 0x3a8], 0
je 0x14003e6f9
mov rax, qword [rsp + 0xa0]
movzx eax, word [rax + 2]
and eax, 0x200
test eax, eax
je 0x14003e6f7
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x158]
lea rax, [rax + rcx + 1]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov r8, rax
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x300]
call fcn.14000a2a0
lea rcx, [rsp + 0x1e0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x1f0]
lea rcx, [rsp + 0x1e0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xb8]
lea rcx, [rsp + 0x1f0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
jmp 0x14003e716
lea rax, [rsp + 0xb8]
lea rcx, [rsp + 0x150]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
jmp 0x14003e895
cmp qword [rsp + 0x28], 0xc
jb 0x14003e895
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
movzx eax, word [rax + 2]
and eax, 0x80
test eax, eax
jne 0x14003e895
mov rax, qword [rsp + 0xa8]
add rax, 0xc
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov r8, rax
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x310]
call fcn.14000a2a0
lea rcx, [rsp + 0x200]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x160]
lea rcx, [rsp + 0x200]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
cmp dword [rsp + 0x3a8], 0
je 0x14003e878
mov rax, qword [rsp + 0xa8]
movzx eax, word [rax + 2]
and eax, 0x200
test eax, eax
je 0x14003e876
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x168]
lea rax, [rax + rcx + 1]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov r8, rax
mov rdx, qword [rsp + 0x108]
lea rcx, [rsp + 0x320]
call fcn.14000a2a0
lea rcx, [rsp + 0x210]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x220]
lea rcx, [rsp + 0x210]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xb8]
lea rcx, [rsp + 0x220]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
jmp 0x14003e895
lea rax, [rsp + 0xb8]
lea rcx, [rsp + 0x160]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x230]
mov rdi, rax
mov rsi, qword [rsp + 0x3a0]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x240]
lea rcx, [rsp + 0xb8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
xor r8d, r8d
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x240]
call fcn.14000a440
test eax, eax
je 0x14003e9a7
mov edx, 0x10
mov rcx, qword [rsp + 0x170]
call fcn.140002cc0
mov r8d, 0x10
xor edx, edx
mov rcx, rax
call fcn.140226b00
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x68], 0
je 0x14003e954
cmp qword [rsp + 0x68], 0
je 0x14003e954
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x48]
mov qword [rax], rcx
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x48]
mov qword [rax], 0
mov qword [rsp + 0x110], 0
jmp 0x14003e980
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x48]
mov qword [rax], 0
mov qword [rsp + 0x110], 0
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x3c]
mov dword [rax + 8], ecx
mov eax, dword [rsp + 0x3b0]
cmp dword [rsp + 0x20], eax
jne 0x14003e9a7
jmp 0x14003e9b1
jmp 0x14003e1fe
jmp 0x14003e1bb
mov eax, dword [rsp + 0x20]
shl rax, 2
mov qword [rsp + 0x118], rax
mov ecx, dword [rsp + 0x20]
shl rcx, 2
mov rdx, rcx
mov rcx, qword [rsp + 0x388]
call fcn.140002cc0
mov rcx, qword [rsp + 0x118]
mov r8, rcx
xor edx, edx
mov rcx, rax
call fcn.140226b00
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x78], rax
jmp 0x14003ea33
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xb0]
add rax, 4
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0x78], 0
je 0x14003ea4f
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x78]
mov ecx, dword [rcx + 8]
mov dword [rax], ecx
jmp 0x14003ea12
lea rax, [rsp + 0x120]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x120], rax
mov eax, dword [rsp + 0x20]
mov qword [rsp + 0x128], rax
lea rax, [rsp + 0x250]
lea rcx, [rsp + 0x170]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x250]
call fcn.140002e80
lea rax, [rsp + 0x120]
mov rdi, qword [rsp + 0x380]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x380]
add rsp, 0x368
pop rdi
pop rsi
ret