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

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x84
mov eax, dword [0x41d3e0]
test eax, eax
je 0x402baf
mov eax, 1
jmp 0x402f4d
mov dword [ebp - 0x5c], 0x30
mov eax, dword [ebp - 0x5c]
mov eax, dword fs:[eax]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x14], eax
jmp 0x402c6c
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
add eax, 0x78
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x402c60
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x38]
add eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
or eax, 0x20202020
cmp eax, 0x6c64746e
jne 0x402c63
mov eax, dword [ebp - 0x3c]
add eax, 4
mov eax, dword [eax]
or eax, 0x20202020
cmp eax, 0x6c642e6c
je 0x402c7c
jmp 0x402c64
nop
jmp 0x402c64
nop
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x402bea
jmp 0x402c7d
nop
cmp dword [ebp - 0xc], 0
jne 0x402c8d
mov eax, 0
jmp 0x402f4d
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x1c]
mov eax, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x20]
mov eax, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x24]
mov eax, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x4c], 0x41d3e4
mov eax, dword [ebp - 0x18]
add eax, 0x3fffffff
lea edx, [eax*4]
mov eax, dword [ebp - 0x44]
add eax, edx
mov edx, dword [eax]
mov eax, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
movzx eax, word [eax]
cmp ax, 0x775a
jne 0x402d61
mov edx, dword [ebp - 0x1c]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x4c]
lea ebx, [edx + eax]
mov eax, dword [ebp - 0x50]
mov dword [esp], eax
call fcn.00402b44
mov dword [ebx], eax
mov eax, dword [ebp - 0x18]
add eax, 0x7fffffff
lea edx, [eax + eax]
mov eax, dword [ebp - 0x48]
add eax, edx
movzx eax, word [eax]
movzx eax, ax
lea edx, [eax*4]
mov eax, dword [ebp - 0x40]
lea ecx, [edx + eax]
mov edx, dword [ebp - 0x1c]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x4c]
add edx, eax
mov eax, dword [ecx]
mov dword [edx + 4], eax
add dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0x226
je 0x402d71
sub dword [ebp - 0x18], 1
cmp dword [ebp - 0x18], 0
jne 0x402cce
jmp 0x402d72
nop
mov eax, dword [ebp - 0x1c]
mov dword [0x41d3e0], eax
mov dword [ebp - 0x1c], 0
jmp 0x402ec0
mov dword [ebp - 0x20], 0
jmp 0x402ea8
mov edx, dword [ebp - 0x20]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x4c]
add eax, edx
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 0x20]
lea edx, [eax + 1]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x4c]
add eax, edx
mov eax, dword [eax + 4]
cmp ecx, eax
jbe 0x402ea4
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov edx, dword [ebp - 0x20]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x4c]
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x20]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x4c]
add eax, edx
mov eax, dword [eax + 4]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x20]
lea edx, [eax + 1]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x4c]
lea ecx, [edx + eax]
mov edx, dword [ebp - 0x20]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x4c]
add edx, eax
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ebp - 0x20]
lea edx, [eax + 1]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x4c]
lea ecx, [edx + eax]
mov edx, dword [ebp - 0x20]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x4c]
add edx, eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x20]
lea edx, [eax + 1]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x4c]
add edx, eax
mov eax, dword [ebp - 0x6c]
mov dword [edx], eax
mov eax, dword [ebp - 0x20]
lea edx, [eax + 1]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x4c]
add edx, eax
mov eax, dword [ebp - 0x68]
mov dword [edx + 4], eax
add dword [ebp - 0x20], 1
mov eax, dword [0x41d3e0]
sub eax, dword [ebp - 0x1c]
sub eax, 1
cmp dword [ebp - 0x20], eax
jb 0x402d92
add dword [ebp - 0x1c], 1
mov eax, dword [0x41d3e0]
sub eax, 1
cmp dword [ebp - 0x1c], eax
jb 0x402d86
mov eax, dword [ebp - 0x4c]
add eax, 0xc
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 4]
sub edx, eax
mov eax, edx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x1c], 0
jmp 0x402f3b
mov edx, dword [ebp - 0x1c]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x4c]
add eax, edx
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x1c]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x4c]
lea ebx, [edx + eax]
mov eax, dword [ebp - 0x54]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
call fcn.004029f9
mov dword [ebx + 8], eax
add dword [ebp - 0x1c], 1
mov eax, dword [0x41d3e0]
sub eax, 1
cmp dword [ebp - 0x1c], eax
jb 0x402ef0
mov eax, 1
add esp, 0x84
pop ebx
pop ebp
ret