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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1024
call fcn.00434530
mov eax, dword [0x52a310]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
push 0x38
mov dword [ebp - 0x101c], eax
xor ebx, ebx
mov dword [ebp - 0x1008], 0
xor esi, esi
mov dword [ebp - 0x1014], 0
mov dword [ebp - 0x1010], 0
mov dword [ebp - 0x100c], 0
mov dword [ebp - 0x1018], 0
call fcn.0040af70
add esp, 4
mov dword [0x52bf84], eax
mov dword [eax], vtable.Package.0
mov dword [eax + 4], 0x52aac0
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x20], ebx
mov dword [eax + 0x24], ebx
mov dword [eax + 0x28], ebx
mov dword [eax + 0x2c], ebx
mov dword [eax + 0x30], ebx
mov dword [eax + 0x34], ebx
call fcn.00409af0
mov eax, dword [0x52bf84]
cmp dword [eax + 0x20], ebx
jle 0x408e74
push 0x446188
call fcn.00407a70
call fcn.00407a10
call fcn.00408ae0
mov edi, dword [0x52bf84]
mov eax, dword [edi + 0x28]
test eax, eax
jle 0x408e72
mov ebx, eax
nop dword [eax + eax]
push 0x1000
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.0040daa0
mov eax, dword [edi + 0x2c]
lea ecx, [ebp - 0x1004]
add esp, 8
mov eax, dword [eax + esi*4]
push ecx
push 0x446184
mov edx, dword [eax + 8]
mov ecx, dword [eax + 4]
call fcn.004089e0
test al, al
je 0x408e63
lea eax, [ebp - 0x1004]
push eax
call fcn.00406320
inc esi
cmp esi, ebx
jge 0x408e70
mov edi, dword [0x52bf84]
jmp 0x408e20
xor ebx, ebx
xor esi, esi
push 0x4461b0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
jne 0x408e94
mov dword [ebp - 0x1008], 1
xor edi, edi
jmp 0x409106
push str.CLRCreateInstance
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x408eb5
mov dword [ebp - 0x1008], 1
xor edi, edi
jmp 0x409106
lea ecx, [ebp - 0x1014]
push ecx
push 0x4462b8
push 0x4462a8
call eax
test eax, eax
je 0x408edd
mov dword [ebp - 0x1008], 1
xor edi, edi
jmp 0x409106
mov eax, dword [ebp - 0x1014]
lea edx, [ebp - 0x1010]
push edx
push 0x446298
push str.v4.0.30319
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x408f0f
mov dword [ebp - 0x1008], 1
xor edi, edi
jmp 0x409106
mov eax, dword [ebp - 0x1010]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
test eax, eax
je 0x408f30
mov dword [ebp - 0x1008], 1
xor edi, edi
jmp 0x409106
mov eax, dword [ebp - 0x1010]
lea edx, [ebp - 0x100c]
push edx
push 0x4462d8
push 0x4462e8
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x100c]
lea edx, [ebp - 0x1018]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
test eax, eax
je 0x408f75
mov dword [ebp - 0x1008], 1
xor edi, edi
jmp 0x409106
push 0x14
call fcn.0040af70
mov ecx, dword [0x52bf84]
mov ebx, eax
push 0x10
mov dword [ebx], vtable.HostAssemblyManager.0
mov dword [ebx + 0x10], ecx
call fcn.0040af70
mov ecx, dword [ebx + 0x10]
add esp, 8
mov dword [eax], vtable.HostAssemblyStore.0
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
mov dword [ebx + 8], eax
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov dword [ebx + 4], 0
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
push 0x10
call fcn.0040af70
mov esi, eax
add esp, 4
mov dword [esi], vtable.HostControl.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], ebx
mov ecx, dword [ebx]
push ebx
call dword [ecx + 4]
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [ebp - 0x100c]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
je 0x409011
mov dword [ebp - 0x1008], 1
xor edi, edi
jmp 0x409106
mov eax, dword [ebx + 8]
test eax, eax
je 0x409024
mov edi, dword [eax + 8]
test edi, edi
je 0x409024
mov edi, dword [edi + 0x10]
jmp 0x409026
xor edi, edi
test eax, eax
je 0x409036
mov edx, dword [eax + 8]
test edx, edx
je 0x409036
mov edx, dword [edx + 0xc]
jmp 0x409038
xor edx, edx
mov eax, dword [ebp - 0x1018]
push edi
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
test eax, eax
je 0x40905b
mov dword [ebp - 0x1008], 1
xor edi, edi
jmp 0x409106
mov eax, dword [ebp - 0x100c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
test eax, eax
je 0x40907c
mov dword [ebp - 0x1008], 1
xor edi, edi
jmp 0x409106
mov eax, dword [ebp - 0x101c]
mov dword [ebp - 0x1020], 0
test eax, eax
je 0x4090a8
cmp word [eax], 0
je 0x4090a8
lea ecx, [ebp - 0x1020]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
jmp 0x4090aa
xor edi, edi
mov edx, dword [esi + 8]
test edx, edx
je 0x4090ba
mov ecx, dword [edx]
push edx
call dword [ecx + 4]
mov edx, dword [esi + 8]
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x4090cd
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x4090cd
mov ecx, dword [ecx + 8]
jmp 0x4090cf
xor ecx, ecx
lea eax, [ebp - 0x1008]
push eax
mov eax, dword [edx]
push edi
push dword [ebp - 0x1020]
push ecx
push edx
call dword [eax + 0xc]
mov eax, dword [ebp - 0x100c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov ecx, dword [ebp - 0x1008]
test eax, eax
mov edx, 1
cmovne ecx, edx
mov dword [ebp - 0x1008], ecx
mov ecx, dword [ebp - 0x1014]
test ecx, ecx
je 0x409116
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x1010]
test ecx, ecx
je 0x409126
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x100c]
test ecx, ecx
je 0x409136
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x1018]
test ecx, ecx
je 0x409146
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
test esi, esi
je 0x409150
mov eax, dword [esi]
push esi
call dword [eax + 8]
test ebx, ebx
je 0x40915a
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
test edi, edi
je 0x409165
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x1008]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0040af50
mov esp, ebp
pop ebp
ret 0x10