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

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x74
mov eax, dword [0x40a040]
test eax, eax
je 0x4023eb
mov eax, 1
jmp 0x4027a2
mov dword [ebp - 0x58], 0x30
mov eax, dword [ebp - 0x58]
mov eax, dword fs:[eax]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x14], eax
jmp 0x4024a8
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
add eax, 0x78
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x40249c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x3c]
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 - 0x40], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
or eax, 0x20202020
cmp eax, 0x6c64746e
jne 0x40249f
mov eax, dword [ebp - 0x40]
add eax, 4
mov eax, dword [eax]
or eax, 0x20202020
cmp eax, 0x6c642e6c
je 0x4024b8
jmp 0x4024a0
nop
jmp 0x4024a0
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 0x402426
jmp 0x4024b9
nop
cmp dword [ebp - 0xc], 0
jne 0x4024c9
mov eax, 0
jmp 0x4027a2
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 - 0x44], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x20]
mov eax, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x24]
mov eax, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x50], 0x40a044
mov eax, dword [ebp - 0x18]
add eax, 0x3fffffff
lea edx, [eax*4]
mov eax, dword [ebp - 0x48]
add eax, edx
mov edx, dword [eax]
mov eax, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
movzx eax, word [eax]
cmp ax, 0x775a
jne 0x4025dd
mov edx, dword [ebp - 0x1c]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x50]
lea ebx, [edx + eax]
mov eax, dword [ebp - 0x54]
mov dword [esp], eax
call fcn.00402280
mov dword [ebx], eax
mov eax, dword [ebp - 0x18]
add eax, 0x7fffffff
lea edx, [eax + eax]
mov eax, dword [ebp - 0x4c]
add eax, edx
movzx eax, word [eax]
movzx eax, ax
lea edx, [eax*4]
mov eax, dword [ebp - 0x44]
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 - 0x50]
add edx, eax
mov eax, dword [ecx]
mov dword [edx + 4], 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 - 0x50]
add eax, edx
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x10]
add eax, edx
mov ecx, 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 - 0x50]
lea ebx, [edx + eax]
mov dword [esp], ecx
call fcn.004022ce
mov dword [ebx + 8], eax
add dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0x258
je 0x4025ed
sub dword [ebp - 0x18], 1
cmp dword [ebp - 0x18], 0
jne 0x40250a
jmp 0x4025ee
nop
mov eax, dword [ebp - 0x1c]
mov dword [0x40a040], eax
mov dword [ebp - 0x20], 0
jmp 0x40278c
mov dword [ebp - 0x24], 0
jmp 0x402774
mov edx, dword [ebp - 0x24]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x50]
add eax, edx
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 0x24]
lea edx, [eax + 1]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x50]
add eax, edx
mov eax, dword [eax + 4]
cmp eax, ecx
jae 0x402770
mov edx, dword [ebp - 0x24]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x50]
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x24]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x50]
add eax, edx
mov eax, dword [eax + 4]
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x24]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x50]
add eax, edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x24]
lea edx, [eax + 1]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x50]
lea ecx, [edx + eax]
mov edx, dword [ebp - 0x24]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x50]
add edx, eax
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ebp - 0x24]
lea edx, [eax + 1]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x50]
lea ecx, [edx + eax]
mov edx, dword [ebp - 0x24]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x50]
add edx, eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x24]
lea edx, [eax + 1]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x50]
lea ecx, [edx + eax]
mov edx, dword [ebp - 0x24]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x50]
add edx, eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x24]
lea edx, [eax + 1]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x50]
add edx, eax
mov eax, dword [ebp - 0x68]
mov dword [edx], eax
mov eax, dword [ebp - 0x24]
lea edx, [eax + 1]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x50]
add edx, eax
mov eax, dword [ebp - 0x64]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x24]
lea edx, [eax + 1]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x50]
add edx, eax
mov eax, dword [ebp - 0x60]
mov dword [edx + 8], eax
add dword [ebp - 0x24], 1
mov eax, dword [0x40a040]
sub eax, dword [ebp - 0x20]
sub eax, 1
cmp dword [ebp - 0x24], eax
jb 0x40260e
add dword [ebp - 0x20], 1
mov eax, dword [0x40a040]
sub eax, 1
cmp dword [ebp - 0x20], eax
jb 0x402602
mov eax, 1
mov ebx, dword [ebp - 4]
leave
ret