Function at 0x402b70
Capabilities:
Accept command line arguments
Load windows common language runtime

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 0x419955
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x98
push esi
push edi
mov eax, dword [0x427004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.004021b0
test al, al
jne 0x40316f
call fcn.00401f50
test al, al
jne 0x40316f
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov esi, dword [sym.imp.mscoree.dll_CLRCreateInstance]
lea eax, [ebp - 0x44]
push eax
push 0x424010
push 0x424020
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
call esi
lea eax, [ebp - 0x4c]
push eax
push 0x423ff0
push 0x423fe0
call esi
lea eax, [ebp - 0x50]
push eax
push 0x423fc0
push 0x424040
call esi
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x34]
push edx
push 0x424030
mov dword [ebp - 0x34], 0
mov ecx, dword [eax]
push str.v4.0.30319
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x70]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x38]
push edx
push 0x423fd0
mov dword [ebp - 0x38], 0
mov ecx, dword [eax]
push 0x424000
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov dword [ebp - 4], 0
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x403185
mov byte [ebp - 4], 2
lea edx, [ebp - 0x2c]
push edx
mov dword [ebp - 0x2c], 0
mov ecx, dword [eax]
push 0x424570
push eax
call dword [ecx]
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 4
mov eax, dword [0x428acc]
sub eax, dword [0x428ac8]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
push eax
push 1
push 0x11
mov dword [ebp - 0x60], 0
call dword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
mov edi, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x5c], edi
call fcn.004021b0
test al, al
jne 0x403139
call fcn.00401f50
test al, al
jne 0x403139
lea eax, [ebp - 0x48]
push eax
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
mov ecx, dword [0x428ac8]
mov eax, dword [0x428acc]
sub eax, ecx
push eax
push ecx
push dword [ebp - 0x48]
call fcn.00407900
add esp, 0xc
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x403185
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x402d55
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x20], 0
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0xb4]
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x403185
mov byte [ebp - 4], 9
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x403185
mov ecx, dword [eax]
lea edx, [ebp - 0x54]
push edx
push eax
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x54]
cmp dword [eax + 0x10], 0
je 0x402e50
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
push dword [ebp - 0x3c]
mov edi, eax
push 0
push 8
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopyData]
xor esi, esi
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x3c], esi
jle 0x402e12
add edi, 4
nop dword [eax + eax]
push dword [edi]
mov dword [ebp - 0x30], esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopy]
inc esi
lea edi, [edi + 4]
cmp esi, dword [ebp - 0x3c]
jl 0x402df0
push 1
push 0
push 0xc
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopyData]
mov esi, eax
mov dword [ebp - 0x58], 0
mov eax, 0x2008
mov dword [ebp - 0x30], esi
mov word [ebp - 0x88], ax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x58]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopy]
jmp 0x402e6f
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], 0
push eax
push 1
push 0xc
mov dword [ebp - 0x68], 0
call dword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
mov dword [ebp - 0x30], eax
xorps xmm0, xmm0
mov eax, 1
movups xmmword [ebp - 0x98], xmm0
mov ecx, 0x4315072e
mov word [ebp - 0x98], ax
movups xmmword [ebp - 0xa8], xmm0
call fcn.00404660
mov esi, edx
mov ecx, 0xf076ae24
mov edi, eax
mov dword [ebp - 0x28], esi
call fcn.00404660
push esi
push edi
mov ecx, 0x7deb3c2b
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], edx
call fcn.004045d0
push esi
push edi
mov ecx, 0x9e6c4c
mov dword [ebp - 0x18], eax
call fcn.004045d0
mov eax, dword [ebp - 0x14]
add esp, 0x10
mov edx, dword [ebp - 0x24]
mov ecx, eax
or ecx, edx
je 0x402f3c
push edx
push eax
mov ecx, 0xcc03ee21
call fcn.004045d0
push esi
push edi
mov ecx, 0x3fba5504
mov dword [ebp - 0x14], eax
call fcn.004045d0
push dword [ebp - 0x28]
mov ecx, 0xc43c8f09
mov esi, eax
push edi
call fcn.004045d0
add esp, 0x18
mov edi, eax
lea eax, [ebp - 0x24]
push eax
push 4
push 8
push dword [ebp - 0x14]
call dword [ebp - 0x18]
push eax
call edi
push 0
push 8
push 0x427a6c
push dword [ebp - 0x14]
call dword [ebp - 0x18]
push eax
call esi
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x24]
push 8
push dword [ebp - 0x14]
call dword [ebp - 0x18]
push eax
call edi
push 1
call fcn.00409d4e
add esp, 4
push eax
call fcn.00409adc
add esp, 4
mov ecx, 0x424544
call fcn.00404040
mov ecx, str.mscore
call fcn.00404040
mov ecx, 0x4315072e
call fcn.00404660
mov esi, edx
mov dword [ebp - 0x28], eax
push esi
push eax
mov ecx, 0x9e6c4c
call fcn.004045d0
push esi
push dword [ebp - 0x28]
mov ecx, 0xf5c7cdfe
mov edi, eax
call fcn.004045d0
add esp, 0x10
mov esi, eax
call edi
push eax
push 0
push 0x410
call esi
mov esi, eax
push 1
mov dword [ebp - 0x24], esi
call fcn.00409d4e
add esp, 4
push eax
call fcn.00409adc
add esp, 4
push 1
call fcn.00409d4e
add esp, 4
push eax
call fcn.00409adc
add esp, 4
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.004042e0
add esp, 4
mov dword [ebp - 0x14], eax
push 1
call fcn.00409d4e
add esp, 4
push eax
call fcn.00409adc
mov edi, dword [ebp - 0x28]
add esp, 4
cmp edi, 5
je 0x40308e
cmp edi, 6
je 0x40308e
cmp edi, 9
je 0x403046
cmp edi, 0xa
je 0x403046
cmp edi, 0xb
je 0x403046
cmp edi, 0xc
je 0x403046
xor esi, esi
test edi, edi
je 0x4030b7
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + esi*4]
call fcn.00404200
push 1
call fcn.00409d4e
add esp, 4
push eax
call fcn.00409adc
inc esi
add esp, 4
cmp esi, edi
jb 0x403021
jmp 0x4030b7
mov edi, dword [ebp - 0x14]
xor esi, esi
nop dword [eax + eax]
mov ecx, dword [edi + esi*4]
call fcn.00404200
push 1
call fcn.00409d4e
add esp, 4
push eax
call fcn.00409adc
inc esi
add esp, 4
cmp esi, 5
jb 0x403050
mov ecx, dword [edi + 0x1c]
call fcn.00404200
push 1
call fcn.00409d4e
add esp, 4
push eax
call fcn.00409adc
add esp, 4
jmp 0x4030b7
xor esi, esi
test edi, edi
je 0x4030b7
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + esi*4]
call fcn.00404200
push 1
call fcn.00409d4e
add esp, 4
push eax
call fcn.00409adc
inc esi
add esp, 4
cmp esi, edi
jb 0x403094
push dword [ebp - 0x14]
call fcn.00409dd2
add esp, 4
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.004021b0
test al, al
jne 0x403128
call fcn.00401f50
test al, al
jne 0x403128
mov ecx, dword [0x428ac8]
mov eax, dword [0x428acc]
sub eax, ecx
push eax
push 0
push ecx
call fcn.00407760
add esp, 0xc
push dword [ebp - 0x5c]
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x403185
movups xmm0, xmmword [ebp - 0x98]
mov edx, dword [eax]
lea ecx, [ebp - 0xa8]
push ecx
push dword [ebp - 0x30]
sub esp, 0x10
mov ecx, esp
push eax
movups xmmword [ecx], xmm0
call dword [edx + 0x94]
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x403139
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40314a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x40315b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0x12
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x40316f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x80004003
call fcn.00406a10
int3