Function at 0x401a80
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 [0x4063e0]
test eax, eax
je 0x401a9a
mov eax, 1
jmp 0x401e51
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 0x401b57
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 0x401b4b
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 0x401b4e
mov eax, dword [ebp - 0x40]
add eax, 4
mov eax, dword [eax]
or eax, 0x20202020
cmp eax, 0x6c642e6c
je 0x401b67
jmp 0x401b4f
nop
jmp 0x401b4f
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 0x401ad5
jmp 0x401b68
nop
cmp dword [ebp - 0xc], 0
jne 0x401b78
mov eax, 0
jmp 0x401e51
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], 0x4063e4
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 0x401c8c
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.00401930
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.0040197e
mov dword [ebx + 8], eax
add dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0x258
je 0x401c9c
sub dword [ebp - 0x18], 1
cmp dword [ebp - 0x18], 0
jne 0x401bb9
jmp 0x401c9d
nop
mov eax, dword [ebp - 0x1c]
mov dword [0x4063e0], eax
mov dword [ebp - 0x20], 0
jmp 0x401e3b
mov dword [ebp - 0x24], 0
jmp 0x401e23
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 ecx, eax
jbe 0x401e1f
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 [0x4063e0]
sub eax, dword [ebp - 0x20]
sub eax, 1
cmp dword [ebp - 0x24], eax
jb 0x401cbd
add dword [ebp - 0x20], 1
mov eax, dword [0x4063e0]
sub eax, 1
cmp dword [ebp - 0x20], eax
jb 0x401cb1
mov eax, 1
add esp, 0x74
pop ebx
pop ebp
ret