Function at 0x4022cd
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 [0x496020]
test eax, eax
je 0x4022e7
mov eax, 1
jmp 0x40269e
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 0x4023a4
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 0x402398
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 0x40239b
mov eax, dword [ebp - 0x40]
add eax, 4
mov eax, dword [eax]
or eax, 0x20202020
cmp eax, 0x6c642e6c
je 0x4023b4
jmp 0x40239c
nop
jmp 0x40239c
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 0x402322
jmp 0x4023b5
nop
cmp dword [ebp - 0xc], 0
jne 0x4023c5
mov eax, 0
jmp 0x40269e
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], 0x496024
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 0x4024d9
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.0040217c
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.004021ca
mov dword [ebx + 8], eax
add dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0x258
je 0x4024e9
sub dword [ebp - 0x18], 1
cmp dword [ebp - 0x18], 0
jne 0x402406
jmp 0x4024ea
nop
mov eax, dword [ebp - 0x1c]
mov dword [0x496020], eax
mov dword [ebp - 0x20], 0
jmp 0x402688
mov dword [ebp - 0x24], 0
jmp 0x402670
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 0x40266c
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 [0x496020]
sub eax, dword [ebp - 0x20]
sub eax, 1
cmp dword [ebp - 0x24], eax
jb 0x40250a
add dword [ebp - 0x20], 1
mov eax, dword [0x496020]
sub eax, 1
cmp dword [ebp - 0x20], eax
jb 0x4024fe
mov eax, 1
mov ebx, dword [ebp - 4]
leave
ret