Function at 0x404970
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 0x443fe0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa8
mov eax, dword [0x45d0c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
test esi, esi
jne 0x4049d3
mov dword [ebp - 0x84], eax
jmp 0x404a6d
mov eax, 0x2008
push 8
mov word [ebp - 0x80], ax
call fcn.0041f444
add esp, 4
mov dword [eax], esi
push eax
push 1
push 8
mov dword [eax + 4], 0
call dword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
cmp dword [ebp - 0x24], 0
mov edi, dword [sym.imp.OLEAUT32.dll_SafeArrayCopy]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x50], 0
jle 0x404a31
xor eax, eax
push dword [esi + eax*4]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push eax
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x78]
call edi
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp eax, dword [ebp - 0x24]
jl 0x404a12
push 8
call fcn.0041f444
add esp, 4
mov dword [eax], 1
push eax
push 1
push 0xc
mov dword [eax + 4], 0
call dword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
mov esi, eax
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x80]
mov dword [ebp - 0x84], esi
push eax
lea eax, [ebp - 0x34]
push eax
push esi
call edi
mov edi, dword [sym.imp.mscoree.dll_CLRCreateInstance]
lea eax, [ebp - 0x68]
push eax
push 0x456704
push 0x456714
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x58], 0
call edi
test eax, eax
jne 0x404fb3
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x4c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
jne 0x404fb3
push 0x800
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ecx, dword [ebp - 0x4c]
mov esi, eax
push 0
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], 0
push eax
mov edx, dword [ecx]
push 1
push ecx
call dword [edx + 0xc]
test eax, eax
jne 0x404b1c
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x58]
push edx
push 0x456724
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
jne 0x404b07
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x404b07
mov eax, dword [ecx]
lea edx, [ebp - 0x38]
push edx
push esi
push ecx
call dword [eax + 0xc]
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x60]
push 0
push edx
push 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x404ae0
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x64], 0
push eax
push 0x456704
push 0x456714
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x5c], 0
call edi
test eax, eax
js 0x404fb3
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x64]
push edx
push 0x456724
push esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x404fb3
mov eax, dword [ebp - 0x64]
lea edx, [ebp - 0x20]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
test eax, eax
js 0x404fb3
cmp dword [ebp - 0x20], 0
je 0x404fb3
mov eax, dword [ebp - 0x64]
lea edx, [ebp - 0x54]
push edx
push 0x4566d4
push 0x4566f4
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
test eax, eax
js 0x404fb3
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
test eax, eax
js 0x404fb3
mov esi, dword [ebp - 0x54]
test esi, esi
je 0x404fb3
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push 0x20
push str.9E8764440F5147589E8764440F514758
lea ecx, [ebp - 0xb4]
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x28], 0
movups xmmword [ebp - 0xb4], xmm0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
call fcn.00406dc0
push 0x20
xorps xmm0, xmm0
mov dword [ebp - 0x8c], 0
push str.EB00F88292D44090EB00F88292D44090
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x88], 0
movups xmmword [ebp - 0x9c], xmm0
call fcn.00406dc0
lea eax, [ebp - 0xb4]
push eax
lea edx, [ebp - 0x9c]
lea ecx, [ebp - 0x30]
call fcn.004040f0
mov ecx, dword [ebp - 0x88]
add esp, 4
cmp ecx, 0xf
jbe 0x404c83
mov edx, dword [ebp - 0x9c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404c79
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404fd6
push ecx
push edx
call fcn.0041f474
add esp, 8
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0xf
mov byte [ebp - 0x9c], 0
cmp ecx, 0xf
jbe 0x404cd8
mov edx, dword [ebp - 0xb4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404cce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404fd6
push ecx
push edx
call fcn.0041f474
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
mov eax, dword [esi]
push ecx
push esi
mov dword [ebp - 0x18], 0
call dword [eax + 0x34]
mov edi, dword [ebp - 0x30]
test eax, eax
jns 0x404da4
xor esi, esi
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x404d11
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 0x11
test esi, esi
je 0x404d29
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x404fdb
mov eax, dword [esi]
lea ecx, [ebp - 0x6c]
push ecx
push esi
mov dword [ebp - 0x6c], 0
call dword [eax + 0x48]
test eax, eax
jns 0x404d5c
push 0x456684
push esi
push eax
call fcn.0041f1d0
mov eax, dword [ebp - 0x1c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x48], xmm0
test eax, eax
je 0x404fdb
mov edx, dword [eax]
lea ecx, [ebp - 0x48]
push ecx
mov ecx, dword [ebp - 0x6c]
xor esi, esi
cmp esi, dword [ecx + 0x10]
sbb ecx, ecx
and ecx, dword [ebp - 0x84]
push ecx
sub esp, 0x10
mov ecx, esp
push eax
movups xmmword [ecx], xmm0
call dword [edx + 0x94]
test eax, eax
jns 0x404f69
or esi, 0xffffffff
jmp 0x404f6b
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x404fdb
mov dword [ebp - 4], 0xffffffff
lea edx, [ebp - 0x50]
push edx
mov dword [ebp - 0x50], 0
mov ecx, dword [eax]
push 0x4566e4
push eax
call dword [ecx]
test eax, eax
jns 0x404df1
xor esi, esi
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x404de5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 4
jmp 0x404d04
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x50], 0
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x404e0f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x404d18
mov eax, dword [ebp - 0x2c]
sub eax, edi
mov dword [ebp - 0x4c], 0
push 8
mov dword [ebp - 0x5c], eax
call fcn.0041f444
mov ecx, dword [ebp - 0x5c]
add esp, 4
mov dword [eax], ecx
push eax
push 1
push 0x11
mov dword [eax + 4], 0
call dword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x20], eax
push ecx
push eax
mov dword [ebp - 0x58], 0
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
test eax, eax
js 0x404fdb
push dword [ebp - 0x5c]
push edi
push dword [ebp - 0x58]
call fcn.00420c60
mov edi, dword [ebp - 0x20]
add esp, 0xc
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
jns 0x404eaa
xor edi, edi
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x404e9e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
jmp 0x404f4f
mov dword [ebp - 4], 9
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x404ebe
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
push ecx
push edi
push esi
call dword [eax + 0xb4]
test eax, eax
jns 0x404ee2
xor edi, edi
mov dword [ebp - 4], 0xa
jmp 0x404e91
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x54], edi
test edi, edi
je 0x404f4c
mov dword [ebp - 4], 0xc
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x404f0e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
mov eax, dword [edi]
push ecx
push edi
mov dword [ebp - 0x54], edi
call dword [eax + 0x40]
test eax, eax
jns 0x404f4c
mov dword [ebp - 4], 0xd
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov dword [ebp - 4], 0xe
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
or esi, 0xffffffff
jmp 0x404f6b
mov edi, dword [ebp - 0x54]
mov dword [ebp - 4], 0x10
test edi, edi
je 0x404d18
mov eax, dword [edi]
push edi
call dword [eax + 8]
jmp 0x404d18
xor esi, esi
mov edx, dword [ebp - 0x30]
test edx, edx
je 0x404f9b
mov ecx, dword [ebp - 0x28]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x404f91
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404fe5
push ecx
push edx
call fcn.0041f474
add esp, 8
mov dword [ebp - 4], 0x13
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x404faf
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
jmp 0x404fb6
or eax, 0xffffffff
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.0041f425
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.0042afdf
push 0x80004003
call fcn.0041f1b0
call fcn.0042afdf
int3