Function at 0x402c60
Capabilities:
Accept command line arguments

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x488ba5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x160
mov eax, dword [0x4b701c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x168], esi
lea eax, [ebp - 0x154]
mov dword [ebp - 0x154], 0
push eax
push ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x16c], eax
test eax, eax
je 0x403110
lea eax, [ebp - 0x44]
mov byte [esi], 0
push eax
mov dword [ebp - 0x158], 0
call fcn.00483d00
add esp, 4
mov dword [ebp - 4], 0
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x30]
lea edi, [ebp - 0x44]
mov ecx, dword [ebp - 0x44]
cmp edx, 8
mov esi, dword [ebp - 0x34]
cmovae eax, ecx
cmovae edi, ecx
lea eax, [eax + esi*2]
lea esi, [ebp - 0x44]
mov dword [ebp - 0x150], eax
cmovae esi, ecx
cmp esi, eax
je 0x402d3e
sub edi, esi
nop dword [eax]
movzx eax, word [esi]
push eax
call fcn.00458897
mov word [edi + esi], ax
add esp, 4
add esi, 2
cmp esi, dword [ebp - 0x150]
jne 0x402d20
mov edx, dword [ebp - 0x30]
cmp edx, 8
lea ecx, [ebp - 0x44]
mov edx, dword [ebp - 0x34]
cmovae ecx, dword [ebp - 0x44]
push 5
push str._task
push 0
call fcn.00404a50
add esp, 0xc
cmp eax, 0xffffffff
je 0x402d6b
mov edi, 6
jmp 0x402f57
xor edx, edx
mov dword [ebp - 0x150], edx
cmp dword [ebp - 0x154], edx
jle 0x402f55
nop
mov eax, dword [ebp - 0x16c]
lea eax, [eax + edx*4]
mov edx, dword [eax]
mov dword [ebp - 0x164], eax
test edx, edx
je 0x402f34
mov ecx, edx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402db3
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00408440
cmp dword [ebp - 0x18], 8
lea edi, [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x1c]
cmovae edi, eax
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x160], edi
test esi, esi
je 0x402ea6
push 0x100
lea eax, [ebp - 0x148]
push 0
push eax
call fcn.00455ce0
add esp, 0xc
mov ecx, str.0123456789
mov edx, 0x100
movzx eax, word [ecx]
cmp ax, dx
jae 0x402e61
movzx eax, al
add ecx, 2
mov byte [ebp + eax - 0x148], 1
cmp ecx, 0x4a02c2
jne 0x402e10
lea edx, [edi + esi*2]
mov ecx, edi
cmp edi, edx
jae 0x402ea6
mov esi, 0x100
movzx eax, word [ecx]
cmp ax, si
jae 0x402e5b
cmp byte [ebp + eax - 0x148], 0
je 0x402e5b
add ecx, 2
cmp ecx, edx
jb 0x402e40
jmp 0x402ea6
sub ecx, edi
sar ecx, 1
jmp 0x402ea1
mov ecx, dword [ebp - 0x160]
lea edi, [edi + esi*2]
cmp ecx, edi
jae 0x402e9e
nop
movzx esi, word [ecx]
mov edx, 0xb
mov eax, str.0123456789
nop dword [eax]
cmp word [eax], si
je 0x402e97
add eax, 2
sub edx, 1
jne 0x402e80
sub ecx, dword [ebp - 0x160]
sar ecx, 1
jmp 0x402ea1
add ecx, 2
cmp ecx, edi
jb 0x402e70
or ecx, 0xffffffff
cmp ecx, 0xffffffff
jne 0x402ed7
mov esi, dword [ebp - 0x164]
push dword [esi]
call fcn.0045991d
mov ecx, eax
add esp, 4
shr ecx, 0x10
cwde
mov word [0x4bc578], cx
cmp eax, 9
mov ecx, dword [ebp - 0x158]
cmovbe ecx, eax
mov dword [ebp - 0x158], ecx
jmp 0x402edd
mov esi, dword [ebp - 0x164]
push str._check
push dword [esi]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x402ef7
mov eax, dword [ebp - 0x168]
mov byte [eax], 1
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x402f34
mov edx, dword [ebp - 0x15c]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402f2a
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403138
push ecx
push edx
call fcn.00453c42
add esp, 8
mov edx, dword [ebp - 0x150]
inc edx
mov dword [ebp - 0x150], edx
cmp edx, dword [ebp - 0x154]
jl 0x402d80
mov edi, dword [ebp - 0x158]
jmp 0x402f57
xor edi, edi
mov edx, edi
lea ecx, [ebp - 0x2c]
call fcn.00405350
sub esp, 0x18
mov byte [ebp - 4], 1
mov esi, esp
mov ecx, eax
mov dword [ebp - 0x15c], esi
push 9
push str.InitType:
push 0
call fcn.00404c60
mov dword [esi], 0
xor ecx, ecx
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
call fcn.0043f4d0
mov byte [ebp - 4], 0
add esp, 0x18
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x402ffd
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402ff3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40312e
push edx
push ecx
call fcn.00453c42
add esp, 8
mov eax, dword [ebp - 0x168]
cmp byte [eax], 0
jne 0x4030d8
test edi, edi
jne 0x4030d8
cmp byte [ebx + 8], 0
je 0x4030d8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00482890
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea eax, [ebp - 0x2c]
add esp, 8
cmp dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x2c]
push 0x49ffb8
push eax
call esi
test eax, eax
je 0x40306c
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push str.devenv.exe
cmovae eax, dword [ebp - 0x2c]
push eax
call esi
mov byte [ebp - 0x149], 0
test eax, eax
jne 0x403073
mov byte [ebp - 0x149], 1
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x4030ad
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4030a3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403133
push edx
push ecx
call fcn.00453c42
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp byte [ebp - 0x149], al
je 0x4030d8
call fcn.00402060
test al, al
mov ecx, 2
cmovne edi, ecx
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x40310e
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403104
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403138
push edx
push ecx
call fcn.00453c42
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00453c11
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004584af
call fcn.004584af
call fcn.004584af
int3