Function at 0x402c6a
Capabilities:
Populate syswhispers2 syscall list
Resolve function by parsing pe exports

Disassembly:
push rbp
push rbx
sub rsp, 0xe8
lea rbp, [rsp + 0x80]
lea rax, [0x00418980]
mov eax, dword [rax]
test eax, eax
je 0x402c92
mov eax, 1
jmp 0x403086
mov dword [rbp - 0x3c], 0x60
mov eax, dword [rbp - 0x3c]
mov rax, qword gs:[rax]
mov qword [rbp - 0x48], rax
mov rax, qword [rbp - 0x48]
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x50], 0
mov rax, qword [rbp + 0x28]
mov rax, qword [rax + 0x10]
mov qword [rbp + 0x48], rax
jmp 0x402d7a
mov rax, qword [rbp + 0x48]
mov rax, qword [rax + 0x30]
mov qword [rbp + 0x50], rax
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0x20], rax
mov rax, qword [rbp + 0x20]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x50]
add rax, rdx
mov qword [rbp + 0x18], rax
mov rax, qword [rbp + 0x18]
add rax, 0x88
mov qword [rbp + 0x10], rax
mov rax, qword [rbp + 0x10]
mov eax, dword [rax]
mov dword [rbp + 0xc], eax
cmp dword [rbp + 0xc], 0
je 0x402d6b
mov edx, dword [rbp + 0xc]
mov rax, qword [rbp + 0x50]
add rax, rdx
mov qword [rbp + 0x58], rax
mov rax, qword [rbp + 0x58]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x50]
add rax, rdx
mov qword [rbp], rax
mov rax, qword [rbp]
mov eax, dword [rax]
or eax, 0x20202020
cmp eax, 0x6c64746e
jne 0x402d6e
mov rax, qword [rbp]
add rax, 4
mov eax, dword [rax]
or eax, 0x20202020
cmp eax, 0x6c642e6c
je 0x402d8d
jmp 0x402d6f
nop
jmp 0x402d6f
nop
mov rax, qword [rbp + 0x48]
mov rax, qword [rax]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
mov rax, qword [rax + 0x30]
test rax, rax
jne 0x402cd9
jmp 0x402d8e
nop
cmp qword [rbp + 0x58], 0
jne 0x402d9f
mov eax, 0
jmp 0x403086
mov rax, qword [rbp + 0x58]
mov eax, dword [rax + 0x18]
mov dword [rbp + 0x44], eax
mov rax, qword [rbp + 0x58]
mov eax, dword [rax + 0x1c]
mov edx, eax
mov rax, qword [rbp + 0x50]
add rax, rdx
mov qword [rbp - 8], rax
mov rax, qword [rbp + 0x58]
mov eax, dword [rax + 0x20]
mov edx, eax
mov rax, qword [rbp + 0x50]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp + 0x58]
mov eax, dword [rax + 0x24]
mov edx, eax
mov rax, qword [rbp + 0x50]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp + 0x40], 0
lea rax, [0x00418980]
lea rax, [rax + 8]
mov qword [rbp - 0x20], rax
mov eax, dword [rbp + 0x44]
sub eax, 1
mov eax, eax
lea rdx, [rax*4]
mov rax, qword [rbp - 0x10]
add rax, rdx
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp + 0x50]
add rax, rdx
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
movzx eax, word [rax]
cmp ax, 0x775a
jne 0x402e99
mov eax, dword [rbp + 0x40]
shl rax, 4
mov rdx, rax
mov rax, qword [rbp - 0x20]
lea rbx, [rdx + rax]
mov rax, qword [rbp - 0x28]
mov rcx, rax
call fcn.00402c0c
mov dword [rbx], eax
mov eax, dword [rbp + 0x44]
sub eax, 1
mov eax, eax
lea rdx, [rax + rax]
mov rax, qword [rbp - 0x18]
add rax, rdx
movzx eax, word [rax]
movzx eax, ax
lea rdx, [rax*4]
mov rax, qword [rbp - 8]
add rax, rdx
mov edx, dword [rbp + 0x40]
mov rcx, rdx
shl rcx, 4
mov rdx, qword [rbp - 0x20]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx + 4], eax
add dword [rbp + 0x40], 1
cmp dword [rbp + 0x40], 0x226
je 0x402ea9
sub dword [rbp + 0x44], 1
cmp dword [rbp + 0x44], 0
jne 0x402dfb
jmp 0x402eaa
nop
lea rax, [0x00418980]
mov edx, dword [rbp + 0x40]
mov dword [rax], edx
mov dword [rbp + 0x40], 0
jmp 0x402fef
mov dword [rbp + 0x3c], 0
jmp 0x402fd3
mov eax, dword [rbp + 0x3c]
shl rax, 4
mov rdx, rax
mov rax, qword [rbp - 0x20]
add rax, rdx
mov edx, dword [rax + 4]
mov eax, dword [rbp + 0x3c]
add eax, 1
mov eax, eax
shl rax, 4
mov rcx, rax
mov rax, qword [rbp - 0x20]
add rax, rcx
mov eax, dword [rax + 4]
cmp edx, eax
jbe 0x402fcf
mov qword [rbp - 0x60], 0
mov qword [rbp - 0x58], 0
mov eax, dword [rbp + 0x3c]
shl rax, 4
mov rdx, rax
mov rax, qword [rbp - 0x20]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp - 0x60], eax
mov eax, dword [rbp + 0x3c]
shl rax, 4
mov rdx, rax
mov rax, qword [rbp - 0x20]
add rax, rdx
mov eax, dword [rax + 4]
mov dword [rbp - 0x5c], eax
mov eax, dword [rbp + 0x3c]
add eax, 1
mov eax, eax
shl rax, 4
mov rdx, rax
mov rax, qword [rbp - 0x20]
add rax, rdx
mov edx, dword [rbp + 0x3c]
mov rcx, rdx
shl rcx, 4
mov rdx, qword [rbp - 0x20]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x3c]
add eax, 1
mov eax, eax
shl rax, 4
mov rdx, rax
mov rax, qword [rbp - 0x20]
add rax, rdx
mov edx, dword [rbp + 0x3c]
mov rcx, rdx
shl rcx, 4
mov rdx, qword [rbp - 0x20]
add rdx, rcx
mov eax, dword [rax + 4]
mov dword [rdx + 4], eax
mov eax, dword [rbp + 0x3c]
add eax, 1
mov eax, eax
shl rax, 4
mov rdx, rax
mov rax, qword [rbp - 0x20]
add rdx, rax
mov eax, dword [rbp - 0x60]
mov dword [rdx], eax
mov eax, dword [rbp + 0x3c]
add eax, 1
mov eax, eax
shl rax, 4
mov rdx, rax
mov rax, qword [rbp - 0x20]
add rdx, rax
mov eax, dword [rbp - 0x5c]
mov dword [rdx + 4], eax
add dword [rbp + 0x3c], 1
lea rax, [0x00418980]
mov eax, dword [rax]
sub eax, dword [rbp + 0x40]
sub eax, 1
cmp dword [rbp + 0x3c], eax
jb 0x402ece
add dword [rbp + 0x40], 1
lea rax, [0x00418980]
mov eax, dword [rax]
sub eax, 1
cmp dword [rbp + 0x40], eax
jb 0x402ec2
mov rax, qword [rbp - 0x20]
add rax, 0x10
mov edx, dword [rax + 4]
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 4]
sub edx, eax
mov eax, edx
mov dword [rbp - 0x2c], eax
mov dword [rbp + 0x40], 0
jmp 0x403070
mov eax, dword [rbp + 0x40]
shl rax, 4
mov rdx, rax
mov rax, qword [rbp - 0x20]
add rax, rdx
mov eax, dword [rax + 4]
mov edx, eax
mov rax, qword [rbp + 0x50]
add rax, rdx
mov qword [rbp - 0x38], rax
mov eax, dword [rbp + 0x40]
shl rax, 4
mov rdx, rax
mov rax, qword [rbp - 0x20]
lea rbx, [rdx + rax]
mov edx, dword [rbp - 0x2c]
mov rax, qword [rbp - 0x38]
mov rcx, rax
call fcn.00402ad1
mov qword [rbx + 8], rax
add dword [rbp + 0x40], 1
lea rax, [0x00418980]
mov eax, dword [rax]
sub eax, 1
cmp dword [rbp + 0x40], eax
jb 0x403026
mov eax, 1
add rsp, 0xe8
pop rbx
pop rbp
ret