Function at 0x140042ef0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x2e8
mov rax, qword [rsp + 0x300]
mov rax, qword [rax + 0x18]
mov ecx, dword [rsp + 0x308]
cmp dword [rax + 0x10], ecx
ja 0x140042f32
mov rax, qword [rsp + 0x300]
mov rax, qword [rax + 0x18]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x308], eax
jb 0x140042f33
int3
xor eax, eax
test eax, eax
jne 0x140042f02
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x300]
mov rax, qword [rax + 0x18]
mov rcx, qword [rsp + 0x300]
mov rcx, qword [rcx + 0x18]
mov ecx, dword [rcx + 0x10]
mov edx, dword [rsp + 0x308]
sub edx, ecx
mov ecx, edx
mov ecx, ecx
mov rax, qword [rax + 0x18]
lea rax, [rax + rcx*8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x300]
mov rax, qword [rax + 0x18]
lea rcx, [rsp + 0xb8]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 4]
mov rcx, qword [rsp + 0x48]
mov ecx, dword [rcx]
add ecx, eax
mov eax, ecx
mov eax, eax
cmp rax, qword [rsp + 0xc0]
ja 0x1400436d8
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
mov rcx, qword [rsp + 0xb8]
lea rax, [rcx + rax + 2]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 4]
sub eax, 2
cdqe
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 6]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0x1504
je 0x140043029
cmp dword [rsp + 0x38], 0x1505
je 0x140043029
cmp dword [rsp + 0x38], 0x1506
je 0x140043287
cmp dword [rsp + 0x38], 0x1507
je 0x1400434ee
jmp 0x1400436d8
cmp qword [rsp + 0x28], 0x10
jb 0x140043282
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
add rax, 0x10
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov r8, rax
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x2b0]
call fcn.140039500
lea rcx, [rsp + 0x1f0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x208]
lea rcx, [rsp + 0x1f0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x218]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov r8, rax
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x250]
call fcn.14000a2a0
lea rcx, [rsp + 0xf8]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xc8]
lea rcx, [rsp + 0xf8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0xd0]
lea rax, [rax + rcx + 1]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov r8, rax
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x260]
call fcn.14000a2a0
lea rcx, [rsp + 0x108]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x118]
lea rcx, [rsp + 0x108]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 2]
and eax, 0x80
test eax, eax
je 0x140043282
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 2]
and eax, 0x100
test eax, eax
je 0x1400431d4
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 2]
and eax, 0x200
test eax, eax
je 0x1400431d4
mov dword [rsp + 0x3c], 1
jmp 0x1400431dc
mov dword [rsp + 0x3c], 0
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
je 0x140043239
lea rax, [rsp + 0x130]
lea rcx, [rsp + 0x118]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r9d, 1
lea r8, [rsp + 0x130]
mov rax, qword [rsp + 0x300]
mov rdx, qword [rax + 0x18]
mov rax, qword [rsp + 0x300]
mov rcx, qword [rax + 0x10]
call fcn.14003eae0
mov dword [rsp + 0x20], eax
jmp 0x140043282
lea rax, [rsp + 0x140]
lea rcx, [rsp + 0xc8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
xor r9d, r9d
lea r8, [rsp + 0x140]
mov rax, qword [rsp + 0x300]
mov rdx, qword [rax + 0x18]
mov rax, qword [rsp + 0x300]
mov rcx, qword [rax + 0x10]
call fcn.14003eae0
mov dword [rsp + 0x20], eax
jmp 0x1400436d8
cmp qword [rsp + 0x28], 8
jb 0x1400434e9
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
add rax, 8
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov r8, rax
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x2c8]
call fcn.140039500
lea rcx, [rsp + 0x220]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x238]
lea rcx, [rsp + 0x220]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x248]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov r8, rax
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x270]
call fcn.14000a2a0
lea rcx, [rsp + 0x150]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xd8]
lea rcx, [rsp + 0x150]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0xe0]
lea rax, [rax + rcx + 1]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov r8, rax
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x280]
call fcn.14000a2a0
lea rcx, [rsp + 0x160]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x170]
lea rcx, [rsp + 0x160]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 2]
and eax, 0x80
test eax, eax
je 0x1400434e9
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 2]
and eax, 0x100
test eax, eax
je 0x14004343b
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 2]
and eax, 0x200
test eax, eax
je 0x14004343b
mov dword [rsp + 0x40], 1
jmp 0x140043443
mov dword [rsp + 0x40], 0
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0
je 0x1400434a0
lea rax, [rsp + 0x180]
lea rcx, [rsp + 0x170]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r9d, 1
lea r8, [rsp + 0x180]
mov rax, qword [rsp + 0x300]
mov rdx, qword [rax + 0x18]
mov rax, qword [rsp + 0x300]
mov rcx, qword [rax + 0x10]
call fcn.14003eae0
mov dword [rsp + 0x20], eax
jmp 0x1400434e9
lea rax, [rsp + 0x190]
lea rcx, [rsp + 0xd8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
xor r9d, r9d
lea r8, [rsp + 0x190]
mov rax, qword [rsp + 0x300]
mov rdx, qword [rax + 0x18]
mov rax, qword [rsp + 0x300]
mov rcx, qword [rax + 0x10]
call fcn.14003eae0
mov dword [rsp + 0x20], eax
jmp 0x1400436d8
cmp qword [rsp + 0x28], 0xc
jb 0x1400436d8
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
add rax, 0xc
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov r8, rax
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x290]
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 + 0xe8]
lea rcx, [rsp + 0x1a0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xf0]
lea rax, [rax + rcx + 1]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov r8, rax
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x2a0]
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]
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + 2]
and eax, 0x80
test eax, eax
je 0x1400436d8
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + 2]
and eax, 0x100
test eax, eax
je 0x14004362a
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + 2]
and eax, 0x200
test eax, eax
je 0x14004362a
mov dword [rsp + 0x44], 1
jmp 0x140043632
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0
je 0x14004368f
lea rax, [rsp + 0x1d0]
lea rcx, [rsp + 0x1c0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r9d, 1
lea r8, [rsp + 0x1d0]
mov rax, qword [rsp + 0x300]
mov rdx, qword [rax + 0x18]
mov rax, qword [rsp + 0x300]
mov rcx, qword [rax + 0x10]
call fcn.14003eae0
mov dword [rsp + 0x20], eax
jmp 0x1400436d8
lea rax, [rsp + 0x1e0]
lea rcx, [rsp + 0xe8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
xor r9d, r9d
lea r8, [rsp + 0x1e0]
mov rax, qword [rsp + 0x300]
mov rdx, qword [rax + 0x18]
mov rax, qword [rsp + 0x300]
mov rcx, qword [rax + 0x10]
call fcn.14003eae0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14004370c
mov rax, qword [rsp + 0x300]
add rax, 0x40
mov r9d, dword [rsp + 0x20]
mov r8d, dword [rsp + 0x308]
mov rdx, rax
mov rax, qword [rsp + 0x300]
mov rcx, qword [rax + 0x38]
call fcn.140047bd0
mov eax, dword [rsp + 0x20]
add rsp, 0x2e8
pop rdi
pop rsi
ret