Function at 0x408a00
Capabilities:
Load windows common language runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40c908
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
push ebx
push esi
push edi
mov eax, dword [0x411368]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push ebx
mov dword [ebp - 0x48], 0
call fcn.0040a390
test al, al
jne 0x4090b4
mov edi, dword [ebp + 0xc]
push edi
call fcn.0040a390
test al, al
jne 0x4090b4
mov dword [ebp - 0x14], 0
push 1
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
lea eax, [ebp - 0x14]
push eax
push 0x404658
push 0x404698
push 4
push 0x4048f4
push edi
call dword [sym.imp.mscoree.dll_CorBindToRuntimeEx]
cmp eax, 0x80131700
je 0x40908e
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40908e
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 0x28]
mov ecx, esi
call dword [0x412204]
call esi
test eax, eax
jns 0x408ae1
mov ecx, dword [0x4116fc]
push eax
push 5
push 0
mov esi, dword [ecx]
push ecx
mov esi, dword [esi + 4]
mov ecx, esi
call dword [0x412204]
call esi
add esp, 0x10
lea ecx, [ebp - 0x14]
call fcn.0040aa7d
mov esi, 0xffff0000
jmp 0x408ffb
mov esi, dword [ebp + 0x20]
test esi, esi
je 0x4090ac
mov ebx, dword [ebp + 0x1c]
mov eax, ebx
mov edi, dword [ebp + 0x18]
sub eax, edi
dec eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x60]
push eax
push 1
push 8
call dword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x4090ac
cmp dword [ebp - 0x60], 0
mov dword [ebp - 0x2c], 0
je 0x408b6e
inc edi
cmp edi, ebx
jge 0x408b6e
lea esp, [esp]
push dword [esi + edi*4]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ebx, eax
test ebx, ebx
je 0x4090ac
push ebx
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopy]
push ebx
mov esi, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
inc dword [ebp - 0x2c]
test esi, esi
js 0x4090ac
mov esi, dword [ebp + 0x20]
inc edi
cmp edi, dword [ebp + 0x1c]
jl 0x408b30
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x34]
mov ecx, esi
call dword [0x412204]
call esi
mov ecx, eax
test ecx, ecx
js 0x40904f
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40904f
mov esi, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
push 0x404678
push eax
mov esi, dword [esi]
mov ecx, esi
call dword [0x412204]
call esi
mov ecx, eax
test ecx, ecx
js 0x40904f
cmp dword [ebp - 0x18], 0
je 0x40904f
mov dword [ebp - 0x20], 0
push 0xc
mov byte [ebp - 4], 3
call fcn.0040ab00
mov edi, eax
add esp, 4
mov dword [ebp - 0x58], edi
mov byte [ebp - 4], 4
test edi, edi
je 0x408c22
mov esi, dword [ebp + 0x10]
push esi
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi], eax
test eax, eax
jne 0x408c24
test esi, esi
jne 0x4090be
jmp 0x408c24
xor edi, edi
mov byte [ebp - 4], 3
mov dword [ebp - 0x58], edi
test edi, edi
je 0x4090c3
push 0xc
mov byte [ebp - 4], 5
call fcn.0040ab00
mov ebx, eax
add esp, 4
mov dword [ebp - 0x30], ebx
mov byte [ebp - 4], 6
test ebx, ebx
je 0x408c73
push 0x403f20
mov dword [ebx + 4], 0
mov dword [ebx + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebx], eax
test eax, eax
je 0x4090c8
jmp 0x408c75
xor ebx, ebx
mov byte [ebp - 4], 5
mov dword [ebp - 0x30], ebx
test ebx, ebx
je 0x4090cd
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 0x18]
push ecx
push dword [ebx]
mov esi, dword [eax]
push dword [edi]
push eax
mov esi, dword [esi + 0x94]
mov ecx, esi
call dword [0x412204]
call esi
mov ecx, eax
test ecx, ecx
js 0x40901a
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40901a
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov word [ebp - 0x44], cx
mov byte [ebp - 4], 8
lea edx, [ebp - 0x44]
mov ecx, dword [eax]
push edx
push eax
mov esi, dword [ecx + 0x38]
mov ecx, esi
call dword [0x412204]
call esi
test eax, eax
jns 0x408d47
mov ecx, dword [0x411704]
push eax
push 7
push 0
mov esi, dword [ecx]
push ecx
mov esi, dword [esi + 4]
mov ecx, esi
call dword [0x412204]
call esi
add esp, 0x10
mov esi, 0xffff0000
lea ecx, [ebp - 0x44]
call fcn.0040d7e6
mov ecx, ebx
call fcn.0040e378
mov ecx, edi
call fcn.0040e378
lea ecx, [ebp - 0x20]
call fcn.0040aa7d
lea ecx, [ebp - 0x1c]
call fcn.0040aa7d
lea ecx, [ebp - 0x18]
call fcn.0040aa7d
lea ecx, [ebp - 0x14]
call fcn.0040aa7d
jmp 0x408ffb
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x24]
push dword [ebp - 0x3c]
push eax
call dword [sym.imp.ATL.DLL_AtlComPtrAssign]
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x54]
push ecx
push 0x800
push 1
mov dword [ebp - 0x4c], 0x403f6c
lea ecx, [ebp - 0x4c]
mov esi, dword [eax]
push ecx
push 0x403de8
push eax
mov esi, dword [esi + 0x14]
mov ecx, esi
call dword [0x412204]
call esi
test eax, eax
jns 0x408dc1
mov ecx, dword [0x411704]
push eax
push 8
push 0
mov esi, dword [ecx]
push ecx
mov esi, dword [esi + 4]
mov ecx, esi
call dword [0x412204]
call esi
add esp, 0x10
lea ecx, [ebp - 0x24]
mov esi, 0xffff0000
call fcn.0040aa7d
jmp 0x408d0c
mov eax, 0x2000
mov word [ebp - 0xa4], ax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x408dfd
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x48], eax
test eax, eax
jne 0x408dff
lea ecx, [ebp - 0x24]
mov esi, 0xffff0000
call fcn.0040aa7d
jmp 0x408d0c
xor eax, eax
mov ecx, 8
mov dword [ebp - 0x8c], eax
mov word [ebp - 0x94], cx
lea eax, [ebp - 0xa4]
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x70], eax
push ecx
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0x6c], 0
push ecx
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x68], 2
push ecx
mov eax, 0x17
mov dword [ebp - 0x64], 0
mov word [ebp - 0x84], ax
lea ecx, [ebp - 0x70]
mov eax, dword [ebp - 0x24]
push ecx
push 1
push 0x800
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x50], 0
mov esi, dword [eax]
push 0x403de8
push dword [ebp - 0x54]
mov esi, dword [esi + 0x18]
mov ecx, esi
push eax
call dword [0x412204]
call esi
mov ecx, eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x28], eax
test ecx, ecx
jns 0x408ed1
mov eax, dword [0x411704]
mov esi, dword [eax]
mov esi, dword [esi + 4]
cmp ecx, 0x80020009
jne 0x408ea9
push dword [ebp - 0xbc]
push 0xa
jmp 0x408eac
push ecx
push 9
push 0
push eax
mov ecx, esi
call dword [0x412204]
call esi
add esp, 0x10
lea ecx, [ebp - 0x24]
call fcn.0040aa7d
lea ecx, [ebp - 0x44]
call fcn.0040d7e6
jmp 0x409037
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x408eec
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x412204]
call esi
mov eax, 0xfff
cmp word [ebp - 0x44], ax
jne 0x408f00
mov eax, 8
mov word [ebp - 0x44], ax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ebx + 8], eax
dec eax
jne 0x408f4c
mov eax, dword [ebx]
test eax, eax
je 0x408f2a
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebx], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x408f42
push eax
call dword [sym.imp.msvcrt.dll____V_YAXPAX_Z]
add esp, 4
mov dword [ebx + 4], 0
push ebx
call dword [sym.imp.msvcrt.dll___3_YAXPAX_Z]
add esp, 4
lock xadd dword [edi + 8], esi
dec esi
jne 0x408f89
mov eax, dword [edi]
test eax, eax
je 0x408f67
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x408f7f
push eax
call dword [sym.imp.msvcrt.dll____V_YAXPAX_Z]
add esp, 4
mov dword [edi + 4], 0
push edi
call dword [sym.imp.msvcrt.dll___3_YAXPAX_Z]
add esp, 4
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x408fa4
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x412204]
call esi
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x408fbf
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x412204]
call esi
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x408fda
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x412204]
call esi
mov dword [ebp - 4], 0xe
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x408ff8
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x412204]
call esi
mov esi, dword [ebp - 0x28]
push dword [ebp - 0x48]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov eax, dword [0x411704]
push ecx
push 7
push 0
mov esi, dword [eax]
push eax
mov esi, dword [esi + 4]
mov ecx, esi
call dword [0x412204]
call esi
add esp, 0x10
mov ecx, ebx
call fcn.0040e378
mov ecx, edi
call fcn.0040e378
lea ecx, [ebp - 0x20]
call fcn.0040aa7d
jmp 0x40906c
mov eax, dword [0x411704]
push ecx
push 6
push 0
mov esi, dword [eax]
push eax
mov esi, dword [esi + 4]
mov ecx, esi
call dword [0x412204]
call esi
add esp, 0x10
lea ecx, [ebp - 0x1c]
call fcn.0040aa7d
lea ecx, [ebp - 0x18]
call fcn.0040aa7d
lea ecx, [ebp - 0x14]
call fcn.0040aa7d
mov esi, 0xffff0000
jmp 0x408ffb
mov eax, dword [0x4116fc]
push ebx
push edi
push 3
mov esi, dword [eax]
push 0
push eax
mov esi, dword [esi + 4]
mov ecx, esi
call dword [0x412204]
call esi
add esp, 0x14
lea ecx, [ebp - 0x14]
call fcn.0040aa7d
mov esi, 0xffff0000
jmp 0x408ffb
call fcn.0040bde6
call fcn.0040bde6
call fcn.0040bde6
call fcn.0040bde6
int3