Function at 0x407a90
Capabilities:
Load windows common language runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40a1e6
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x410344]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push ebx
mov dword [ebp - 0x44], 0
call fcn.00408dc0
test al, al
jne 0x40a909
mov edi, dword [ebp + 0xc]
push edi
call fcn.00408dc0
test al, al
jne 0x40a909
mov dword [ebp - 0x14], 0
push ebx
mov dword [ebp - 4], 0
call fcn.00408dc0
test al, al
jne 0x40a6ac
push edi
call fcn.00408dc0
test al, al
jne 0x40a6ac
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
lea eax, [ebp - 0x14]
push eax
push 0x403144
push 0x403134
push 4
push 0x40312c
push edi
call dword [sym.imp.mscoree.dll_CorBindToRuntimeEx]
cmp eax, 0x80131700
je 0x40a68c
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40a68c
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 0x28]
mov ecx, esi
call dword [0x4111f8]
call esi
test eax, eax
js 0x40a655
xor edi, edi
cmp edi, 0xffff0000
je 0x40a678
mov esi, dword [ebp + 0x20]
test esi, esi
je 0x40a673
mov ebx, dword [ebp + 0x1c]
mov eax, ebx
mov edi, dword [ebp + 0x18]
sub eax, edi
dec eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 1
push 8
call dword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x40a673
cmp dword [ebp - 0x4c], 0
mov dword [ebp - 0x18], 0
je 0x407c00
inc edi
cmp edi, ebx
jge 0x407c00
lea ecx, [ecx]
push dword [esi + edi*4]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x40a673
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x30]
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopy]
push dword [ebp - 0x24]
mov esi, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
inc dword [ebp - 0x18]
test esi, esi
js 0x40a673
mov esi, dword [ebp + 0x20]
inc edi
cmp edi, ebx
jl 0x407bc0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 1
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x14]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x34]
mov ecx, esi
call dword [0x4111f8]
call esi
mov ecx, eax
test ecx, ecx
js 0x40a8bb
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40a8bb
mov esi, dword [eax]
lea ecx, [ebp - 0x1c]
push ecx
push 0x40311c
push eax
mov esi, dword [esi]
mov ecx, esi
call dword [0x4111f8]
call esi
mov ecx, eax
test ecx, ecx
js 0x40a8bb
cmp dword [ebp - 0x1c], 0
je 0x40a8bb
mov dword [ebp - 0x28], 0
push 0xc
mov byte [ebp - 4], 3
call fcn.004092b9
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 4
test esi, esi
je 0x40a6e8
mov edi, dword [ebp + 0x10]
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
je 0x40a6b6
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], esi
test esi, esi
je 0x40a6ef
push 0xc
mov byte [ebp - 4], 5
call fcn.004092b9
mov ebx, eax
add esp, 4
mov dword [ebp - 0x24], ebx
mov byte [ebp - 4], 6
test ebx, ebx
je 0x40a743
push 0x4030d0
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 0x40a719
mov byte [ebp - 4], 5
mov dword [ebp - 0x24], ebx
test ebx, ebx
je 0x40a74a
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
push ecx
push dword [ebx]
mov edi, dword [eax]
push dword [esi]
push eax
mov edi, dword [edi + 0x94]
mov ecx, edi
call dword [0x4111f8]
call edi
mov ecx, eax
test ecx, ecx
js 0x40a867
cmp dword [ebp - 0x28], 0
je 0x40a867
xor eax, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 8
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x28]
push edx
push eax
mov ecx, dword [eax]
mov edi, dword [ecx + 0x38]
mov ecx, edi
call dword [0x4111f8]
call edi
test eax, eax
js 0x40a783
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x2c]
push dword [ebp - 0x38]
push eax
call dword [sym.imp.ATL.DLL_AtlComPtrAssign]
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x60]
push ecx
push 0x800
push 1
mov dword [ebp - 0x58], 0x4030c0
lea ecx, [ebp - 0x58]
mov edi, dword [eax]
push ecx
push 0x402f90
push eax
mov edi, dword [edi + 0x14]
mov ecx, edi
call dword [0x4111f8]
call edi
test eax, eax
js 0x40a7b7
mov eax, 0x2000
mov word [ebp - 0xd0], ax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 8]
test eax, eax
jne 0x40a7ff
mov ecx, 8
mov dword [ebp - 0xb8], eax
mov word [ebp - 0xc0], cx
lea eax, [ebp - 0xd0]
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0xa0], eax
push ecx
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x9c], 0
push ecx
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x98], 2
push ecx
mov eax, 0x17
mov dword [ebp - 0x94], 0
mov word [ebp - 0xb0], ax
lea ecx, [ebp - 0xa0]
mov eax, dword [ebp - 0x2c]
push ecx
push 1
push 0x800
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0x5c], 0
mov edi, dword [eax]
push 0x402f90
push dword [ebp - 0x60]
mov edi, dword [edi + 0x18]
mov ecx, edi
push eax
call dword [0x4111f8]
call edi
mov ecx, eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x30], eax
test ecx, ecx
js 0x40a813
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x407eb1
mov ecx, dword [eax]
push eax
mov edi, dword [ecx + 8]
mov ecx, edi
call dword [0x4111f8]
call edi
mov eax, 0xfff
mov byte [ebp - 4], 7
cmp word [ebp - 0x40], ax
je 0x40a82f
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
or edi, 0xffffffff
mov byte [ebp - 4], 5
mov eax, edi
lock xadd dword [ebx + 8], eax
dec eax
jne 0x407f06
mov eax, dword [ebx]
test eax, eax
je 0x407ef2
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebx], 0
mov eax, dword [ebx + 4]
test eax, eax
jne 0x40a83d
push ebx
call sub.msvcrt.dll_free
add esp, 4
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 3
lock xadd dword [esi + 8], edi
dec edi
jne 0x407f40
mov eax, dword [esi]
test eax, eax
je 0x407f2c
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
jne 0x40a852
push esi
call sub.msvcrt.dll_free
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], 0
test eax, eax
je 0x407f62
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x4111f8]
call esi
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x407f7d
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x4111f8]
call esi
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x407f98
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x4111f8]
call esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x407fb6
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x4111f8]
call esi
mov edi, dword [ebp - 0x30]
push dword [ebp - 0x44]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00409600
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, dword [0x4106d4]
push eax
push 5
push 0
mov esi, dword [ecx]
push ecx
mov esi, dword [esi + 4]
mov ecx, esi
call dword [0x4111f8]
call esi
add esp, 0x10
mov edi, 0xffff0000
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.0040b53a
jmp 0x407fb9
mov eax, dword [0x4106d4]
push ebx
push edi
push 3
mov esi, dword [eax]
push 0
push eax
mov esi, dword [esi + 4]
mov ecx, esi
call dword [0x4111f8]
call esi
add esp, 0x14
jmp 0x40a673
mov edi, 0xffff0000
jmp 0x407b66
test edi, edi
je 0x407cb6
push 0x40f254
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], 0x401170
push eax
mov dword [ebp - 0x50], 0x8007000e
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
call sub.msvcrt.dll__CxxThrowException
xor esi, esi
jmp 0x407cb6
push 0x40f254
lea eax, [ebp - 0x70]
mov dword [ebp - 0x70], 0x401170
push eax
mov dword [ebp - 0x6c], 0x8007000e
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
call sub.msvcrt.dll__CxxThrowException
push 0x40f254
lea eax, [ebp - 0x80]
mov dword [ebp - 0x80], 0x401170
push eax
mov dword [ebp - 0x7c], 0x8007000e
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
call sub.msvcrt.dll__CxxThrowException
xor ebx, ebx
jmp 0x407d07
push 0x40f254
lea eax, [ebp - 0x90]
mov dword [ebp - 0x90], 0x401170
push eax
mov dword [ebp - 0x8c], 0x8007000e
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
call sub.msvcrt.dll__CxxThrowException
mov ecx, dword [0x4106dc]
push eax
push 7
push 0
mov edi, dword [ecx]
push ecx
mov edi, dword [edi + 4]
mov ecx, edi
call dword [0x4111f8]
call edi
add esp, 0x10
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x40]
mov edi, 0xffff0000
call fcn.0040be5a
jmp 0x40a889
mov ecx, dword [0x4106dc]
push eax
push 8
push 0
mov edi, dword [ecx]
push ecx
mov edi, dword [edi + 4]
jmp 0x40a7d0
push ecx
push 9
push 0
push eax
mov ecx, edi
call dword [0x4111f8]
call edi
add esp, 0x10
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
mov edi, 0xffff0000
call fcn.0040b53a
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call fcn.0040be5a
jmp 0x40a889
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x44], eax
test eax, eax
jne 0x407def
jmp 0x40a7dd
mov eax, dword [0x4106dc]
mov edi, dword [eax]
mov edi, dword [edi + 4]
cmp ecx, 0x80020009
jne 0x40a7ca
push dword [ebp - 0xe8]
push 0xa
jmp 0x40a7cd
mov eax, 8
mov word [ebp - 0x40], ax
jmp 0x407ec4
push eax
call sub.msvcrt.dll_free
add esp, 4
mov dword [ebx + 4], 0
jmp 0x407efd
push eax
call sub.msvcrt.dll_free
add esp, 4
mov dword [esi + 4], 0
jmp 0x407f37
mov eax, dword [0x4106dc]
push ecx
push 7
push 0
mov edi, dword [eax]
push eax
mov edi, dword [edi + 4]
mov ecx, edi
call dword [0x4111f8]
call edi
add esp, 0x10
mov edi, 0xffff0000
mov ecx, ebx
mov byte [ebp - 4], 5
call fcn.0040b78f
mov ecx, esi
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 3
call fcn.0040b78f
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 2
call fcn.0040b53a
jmp 0x40a8dd
mov eax, dword [0x4106dc]
push ecx
push 6
push 0
mov esi, dword [eax]
push eax
mov esi, dword [esi + 4]
mov ecx, esi
call dword [0x4111f8]
call esi
add esp, 0x10
mov edi, 0xffff0000
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0040b53a
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.0040b53a
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.0040b53a
jmp 0x407fb9
mov edi, 0xffff0000
jmp 0x407fb9