Function at 0x401c4d
Capabilities:
Accept command line arguments
Identify system language via api
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x435340
push 0x430760
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c8
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0xda8bffff
movsx eax, byte [0x43ac81]
push eax
call fcn.0040b0ac
mov byte [0x43ac7e], al
push 0x9a8dffff
movsx eax, word [0x43ac88]
push eax
call fcn.0040aeeb
add esp, 0x10
add dword [0x43ac98], eax
xor eax, eax
xor ebx, ebx
cmp dword [0x43aca0], ebx
setne al
add byte [0x43ac78], al
mov esi, 0x104
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x124]
push eax
push 0xe
call fcn.0040f588
pop ecx
call eax
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x228]
push eax
push 0x41
call fcn.0040f588
pop ecx
call eax
push 0x6d8bffff
push 0xbf07ffff
call fcn.0040b0ac
add word [0x43ac82], ax
movsx eax, word [0x43ac88]
push eax
push 0x66d5ffff
call fcn.0040b087
add esp, 0x10
add byte [0x43ac81], al
mov eax, dword [0x43a9a8]
cmp eax, ebx
jne 0x4027b9
push 0x8975ffff
movsx eax, byte [0x43ac79]
push eax
call fcn.0040b0ac
mov byte [0x43ac81], al
push 0x6b9dffff
movsx eax, byte [0x43ac7c]
push eax
call fcn.0040b087
add byte [0x43ac79], al
movsx eax, word [0x43ac8c]
push eax
push 0x8ce3ffff
call fcn.0040afcb
add esp, 0x18
mov word [0x43ac92], ax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x2d8], ebx
mov dword [ebp - 0x20], 7
cmp word [0x43ac82], bx
jne 0x401d9e
cmp word [0x43ac94], bx
jne 0x401d9e
xor eax, eax
jmp 0x401da1
push 1
pop eax
add byte [0x43ac7a], al
movsx eax, word [0x43ac94]
push eax
movsx eax, word [0x43ac88]
push eax
call fcn.0040b0ac
add byte [0x43ac7c], al
movsx eax, word [0x43ac90]
push eax
push 0x662dffff
call fcn.0040b037
add esp, 0x10
add byte [0x43ac7a], al
call fcn.004019bd
test al, al
jne 0x4027ab
push 0xb22fffff
push 0x5355ffff
call fcn.0040b002
mov byte [0x43ac7d], al
mov dword [ebp - 0x20], 0xa
mov byte [ebp - 0x238], 0xd6
mov byte [ebp - 0x237], 0xd6
mov byte [ebp - 0x236], 0xa4
mov byte [ebp - 0x235], 0xd6
mov byte [ebp - 0x234], 0xd9
mov byte [ebp - 0x233], 0xc3
mov byte [ebp - 0x232], 0xc9
mov byte [ebp - 0x231], 0xcf
mov byte [ebp - 0x230], 0x8a
mov byte [ebp - 0x288], 0xd6
mov byte [ebp - 0x287], 0xd6
mov byte [ebp - 0x286], 0xa4
mov byte [ebp - 0x285], 0xd6
mov byte [ebp - 0x284], 0xc4
mov byte [ebp - 0x283], 0xde
mov byte [ebp - 0x282], 0xc3
mov byte [ebp - 0x281], 0xc9
mov byte [ebp - 0x280], 0xcf
mov byte [ebp - 0x27f], 0x8a
mov byte [ebp - 0x2d0], 0xd6
mov byte [ebp - 0x2cf], 0xd6
mov byte [ebp - 0x2ce], 0xa4
mov byte [ebp - 0x2cd], 0xd6
mov byte [ebp - 0x2cc], 0xd9
mov byte [ebp - 0x2cb], 0xc3
mov byte [ebp - 0x2ca], 0xdd
mov byte [ebp - 0x2c9], 0xdc
mov byte [ebp - 0x2c8], 0xc3
mov byte [ebp - 0x2c7], 0xce
mov byte [ebp - 0x2c6], 0xd9
mov byte [ebp - 0x2c5], 0xde
mov byte [ebp - 0x2c4], 0xcb
mov byte [ebp - 0x2c3], 0xd8
mov byte [ebp - 0x2c2], 0xde
mov byte [ebp - 0x2c1], 0x8a
push 0x3cc9ffff
push 0x284fffff
call fcn.0040af32
add esp, 0x10
mov dword [0x43acb0], eax
push ebx
mov edi, 0x80
push edi
push 3
push ebx
push 3
mov esi, 0x80000000
push esi
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.0040180f
pop ecx
pop ecx
push eax
push 0x39
call fcn.0040f588
pop ecx
call eax
mov dword [ebp - 0x2d4], eax
cmp eax, 0xffffffff
jne 0x4026f4
push ebx
push edi
push 3
push ebx
push 3
push esi
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x288]
push eax
call fcn.0040180f
pop ecx
pop ecx
push eax
push 0x39
call fcn.0040f588
pop ecx
call eax
mov dword [ebp - 0x2d4], eax
cmp eax, 0xffffffff
jne 0x4026f4
push ebx
push edi
push 3
push ebx
push 3
push esi
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x2d0]
push eax
call fcn.0040180f
pop ecx
pop ecx
push eax
push 0x39
call fcn.0040f588
pop ecx
call eax
mov dword [ebp - 0x2d4], eax
cmp eax, 0xffffffff
jne 0x4026f4
push dword [0x43ac98]
movsx eax, byte [0x43ac7a]
push eax
call fcn.0040af6d
add word [0x43ac94], ax
mov dword [ebp - 0x20], 8
mov byte [ebp - 0x2c0], 0xe1
mov byte [ebp - 0x2bf], 0xef
mov byte [ebp - 0x2be], 0xf8
mov byte [ebp - 0x2bd], 0xe4
mov byte [ebp - 0x2bc], 0xef
mov byte [ebp - 0x2bb], 0xe6
mov byte [ebp - 0x2ba], 0xb9
mov byte [ebp - 0x2b9], 0xb8
mov byte [ebp - 0x2b8], 0x8a
mov byte [ebp - 0x2b4], 0xdf
mov byte [ebp - 0x2b3], 0xe4
mov byte [ebp - 0x2b2], 0xe2
mov byte [ebp - 0x2b1], 0xeb
mov byte [ebp - 0x2b0], 0xe4
mov byte [ebp - 0x2af], 0xee
mov byte [ebp - 0x2ae], 0xe6
mov byte [ebp - 0x2ad], 0xef
mov byte [ebp - 0x2ac], 0xee
mov byte [ebp - 0x2ab], 0xcf
mov byte [ebp - 0x2aa], 0xf2
mov byte [ebp - 0x2a9], 0xe9
mov byte [ebp - 0x2a8], 0xef
mov byte [ebp - 0x2a7], 0xfa
mov byte [ebp - 0x2a6], 0xfe
mov byte [ebp - 0x2a5], 0xe3
mov byte [ebp - 0x2a4], 0xe5
mov byte [ebp - 0x2a3], 0xe4
mov byte [ebp - 0x2a2], 0xcc
mov byte [ebp - 0x2a1], 0xe3
mov byte [ebp - 0x2a0], 0xe6
mov byte [ebp - 0x29f], 0xfe
mov byte [ebp - 0x29e], 0xef
mov byte [ebp - 0x29d], 0xf8
mov byte [ebp - 0x29c], 0x8a
movsx eax, byte [0x43ac7b]
push eax
push 0xc599ffff
call fcn.0040afcb
mov dword [0x43aca4], eax
movsx eax, word [0x43ac84]
push eax
push 0x84e9ffff
call fcn.0040b037
mov word [0x43ac86], ax
push 0xed47ffff
push 0x885ffff
call fcn.0040af32
add byte [0x43ac80], al
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x2c0]
push eax
call fcn.0040180f
add esp, 0x28
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x298], eax
cmp word [0x43ac8e], bx
je 0x40214e
cmp byte [0x43ac7a], bl
je 0x40214e
push 1
pop esi
mov ebx, esi
jmp 0x402151
push 1
pop esi
mov word [0x43ac94], bx
movsx eax, byte [0x43ac79]
push eax
push 0xbc03ffff
call fcn.0040af32
add word [0x43ac90], ax
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x2b4]
push eax
call fcn.0040180f
add esp, 0x10
push eax
push dword [ebp - 0x298]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
movzx eax, byte [eax]
cmp eax, 0xffffffcc
jne 0x4021e4
movsx eax, byte [0x43ac7a]
movsx ecx, byte [0x43ac78]
and eax, ecx
mov word [0x43ac8e], ax
mov ax, word [0x43ac92]
movsx ecx, byte [0x43ac7c]
add eax, ecx
mov word [0x43ac86], ax
push dword [0x43ac98]
push 0xeed9ffff
call fcn.0040afcb
pop ecx
pop ecx
add dword [0x43aca4], eax
jmp 0x4027ab
mov al, byte [0x43ac7f]
add al, byte [0x43aca8]
mov byte [0x43ac7f], al
mov cl, byte [0x43ac78]
add byte [0x43ac7a], cl
mov cl, byte [0x43ac81]
sub ecx, eax
mov byte [0x43ac79], cl
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], esi
push 0x5adffff
push dword [0x43acb8]
call fcn.0040b087
pop ecx
pop ecx
mov byte [0x43ac81], al
call dword [sym.imp.USER32.dll_GetInputState]
add byte [0x43ac7a], al
push ecx
push ebx
push eax
dec ecx
dec eax
imul ecx, ecx, 0x2ff5ffff
inc ebx
pop eax
pop ebx
pop ecx
xor ebx, ebx
push edx
push ecx
push ebx
push eax
mov eax, edx
inc ebx
dec eax
xor ecx, 0x986fffff
pop eax
pop ebx
pop ecx
pop edx
mov ecx, 0xa
push ecx
push ebx
push eax
add eax, eax
xor ecx, 0x73bffff
imul ebx, eax
or ebx, 0xb7d9ffff
pop eax
pop ebx
pop ecx
mov eax, 0x564d5868
push edx
push ecx
push ebx
push eax
or edx, 0xd14bffff
add ecx, eax
inc ecx
nop
or ecx, ebx
dec ecx
pop eax
pop ebx
pop ecx
pop edx
mov dx, 0x5658
push edx
push ecx
push ebx
push eax
sub eax, 0x2675ffff
mov ecx, ebx
xor eax, eax
add eax, 0x7689ffff
add edx, ebx
pop eax
pop ebx
pop ecx
pop edx
in eax, dx
cmp ebx, 0x564d5868
sete al
push edx
push eax
inc eax
add edx, eax
add eax, 0xf38bffff
dec eax
pop eax
pop edx
movzx eax, al
push edx
push ecx
push eax
or ecx, 0x3e61ffff
nop
nop
add ecx, edx
add eax, 0x2d9bffff
and ecx, 0x335ffff
dec eax
pop eax
pop ecx
pop edx
mov dword [ebp - 0x2d8], eax
push edx
push ecx
push ebx
push eax
nop
nop
xor edx, 0xd489ffff
and eax, 0xf995ffff
imul ecx, ecx, 0x7297ffff
dec ebx
pop eax
pop ebx
pop ecx
pop edx
push 0x2db3ffff
movsx eax, word [0x43ac84]
push eax
call fcn.0040b037
pop ecx
pop ecx
mov dword [0x43aca8], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
jmp 0x402369
mov eax, dword [0x43acb8]
dec eax
add word [0x43ac8a], ax
push 0x5625ffff
push 0x3b69ffff
call fcn.0040b0ac
add word [0x43ac8e], ax
push 0x428dffff
movsx eax, byte [0x43ac7f]
push eax
call fcn.0040b0ac
add esp, 0x10
add byte [0x43ac7a], al
cmp dword [ebp - 0x2d8], ebx
jne 0x4027ab
mov al, byte [0x43ac80]
add byte [0x43ac7b], al
mov al, byte [0x43ac94]
dec al
add byte [0x43ac7c], al
push 2
pop edi
mov dword [ebp - 0x20], edi
push 0x40
mov eax, 0x1000
push eax
push eax
push ebx
push 0x5c
call fcn.0040f588
pop ecx
call eax
mov dword [ebp - 0x23c], eax
mov ax, word [0x43acb4]
add word [0x43ac82], ax
mov esi, dword [0x434d84]
mov dword [ebp - 0x22c], esi
mov al, byte [esi]
add al, 0x76
movzx eax, al
add eax, 3
and al, 0xfc
call fcn.00430730
mov dword [ebp - 0x18], esp
mov eax, esp
push 5
push esi
push eax
call fcn.0042d836
pop ecx
pop ecx
push eax
push dword [ebp - 0x23c]
call sub.MSVCRT.dll_memcpy
movsx eax, byte [0x43ac80]
push eax
push dword [0x43acbc]
call fcn.0040af6d
add dword [0x43acac], eax
push 0xd86bffff
movsx eax, byte [0x43ac7c]
push eax
call fcn.0040b0ac
add esp, 0x1c
mov word [0x43ac8a], ax
mov dword [ebp - 4], edi
inc word [0x43ac92]
cmp word [0x43ac94], bx
je 0x402484
cmp word [0x43ac82], bx
je 0x402484
push 1
pop ebx
add byte [0x43ac7d], bl
push edx
push ebx
push eax
sub eax, edx
sub eax, 0x30ffffff
xor ebx, eax
dec ebx
pop eax
pop ebx
pop edx
pushal
push edx
push ecx
push ebx
push eax
sub ebx, ecx
nop
mov edx, 0xdf01ffff
sub ebx, edx
dec eax
imul eax, eax, 0xe809ffff
pop eax
pop ebx
pop ecx
pop edx
mov ebx, dword [ebp - 0x23c]
push ecx
push eax
nop
add eax, ecx
mov eax, eax
xor ecx, 0xd967ffff
pop eax
pop ecx
call ebx
push edx
push eax
xor edx, edx
inc edx
and eax, 0x136fffff
dec edx
pop eax
pop edx
popal
push edx
push ebx
push eax
mov eax, ebx
imul eax, eax, 0x1e3fffff
or eax, edx
mov eax, edx
or edx, 0x42ebffff
pop eax
pop ebx
pop edx
inc dword [ebp - 0x2d8]
push edx
push ebx
add ebx, 0x9043ffff
imul edx, edx, 0xe2d5ffff
or edx, 0x688bffff
inc ebx
pop ebx
pop edx
push dword [0x43aca0]
push 0x735bffff
call fcn.0040aeeb
pop ecx
pop ecx
mov word [0x43ac8c], ax
xor edi, edi
mov dword [ebp - 4], edi
jmp 0x402545
mov dword [0x43aca4], 1
mov esi, dword [sym.imp.KERNEL32.dll_GetCommandLineA]
call esi
mov byte [0x43ac7e], al
push 0x8000
push edi
push dword [ebp - 0x23c]
push 0x5d
call fcn.0040f588
pop ecx
call eax
movsx eax, word [0x43ac8a]
push eax
push 0x1fb3ffff
call fcn.0040b087
pop ecx
pop ecx
add dword [0x43ac9c], eax
call esi
add byte [0x43ac7e], al
push 0x2e01ffff
movsx eax, byte [0x43ac7b]
push eax
call fcn.0040af32
pop ecx
pop ecx
add dword [0x43acac], eax
cmp dword [ebp - 0x2d8], edi
jne 0x4027ab
mov ax, word [0x43ac84]
or eax, 0xcbc3ffff
mov byte [0x43ac7e], al
push 3
pop esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x294], 0xd6
mov byte [ebp - 0x293], 0xd6
mov byte [ebp - 0x292], 0xa4
mov byte [ebp - 0x291], 0xd6
mov byte [ebp - 0x290], 0xdc
mov byte [ebp - 0x28f], 0xc7
mov byte [ebp - 0x28e], 0xce
mov byte [ebp - 0x28d], 0xd8
mov byte [ebp - 0x28c], 0xdc
mov byte [ebp - 0x28b], 0x8a
mov word [0x43ac88], di
movsx eax, word [0x43ac94]
push eax
movsx eax, byte [0x43ac7a]
push eax
call fcn.0040af6d
pop ecx
pop ecx
add byte [0x43ac79], al
push edi
push 0x80
push esi
push edi
push esi
push 0x80000000
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x294]
push eax
call fcn.0040180f
pop ecx
pop ecx
push eax
push 0x39
call fcn.0040f588
pop ecx
call eax
mov dword [ebp - 0x2d4], eax
cmp eax, 0xffffffff
je 0x4026c1
mov dword [0x43acbc], 0x1bffff
push 0x6327ffff
push dword [0x43aca0]
call fcn.0040b0ac
pop ecx
pop ecx
add dword [0x43acb4], eax
push dword [ebp - 0x2d4]
push 0x36
call fcn.0040f588
pop ecx
call eax
push 0x5ccfffff
push 0x12e3ffff
call fcn.0040af94
pop ecx
pop ecx
mov word [0x43ac84], ax
jmp 0x4027ab
mov al, byte [0x43ac7b]
mov ecx, 0x409dffff
sub ecx, eax
mov byte [0x43ac78], cl
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
add word [0x43ac82], ax
or al, 0xff
sub al, byte [0x43ac94]
add byte [0x43ac7d], al
int3
movsx eax, byte [0x43ac7d]
push eax
push 0x4ee3ffff
call fcn.0040afcb
mov byte [0x43ac81], al
push 0xcecfffff
movsx eax, byte [0x43ac7b]
push eax
call fcn.0040b002
add esp, 0x10
mov dword [0x43ac9c], eax
inc word [0x43ac82]
push dword [ebp - 0x2d4]
push 0x36
call fcn.0040f588
pop ecx
call eax
movsx eax, byte [0x43ac80]
push eax
push 0x4ebffff
call fcn.0040aeeb
add byte [0x43ac79], al
mov al, byte [0x43aca4]
inc al
add byte [0x43ac79], al
push 0xb30bffff
push 0x1e5dffff
call fcn.0040b002
add esp, 0x10
mov byte [0x43ac7b], al
jmp 0x4027ab
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
mov dword [0x43a9a8], eax
jmp 0x4027bc
mov dword [ebp - 0x20], eax
or byte [0x43ac79], 0xff
movsx eax, word [0x43ac90]
push eax
push dword [0x43acb0]
call fcn.0040aeeb
add byte [0x43ac81], al
mov ax, word [0x43ac8e]
add word [0x43ac84], ax
movsx eax, byte [0x43ac78]
push eax
push 0x88b7ffff
call fcn.0040af94
add esp, 0x10
add dword [0x43ac9c], eax
mov eax, dword [ebp - 0x20]
lea esp, [ebp - 0x2e4]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret