Function at 0x407b60
Capabilities:
Load windows common language runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40a706
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x410358]
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 edx, ecx
mov dword [ebp - 0x14], edx
push edx
mov dword [ebp - 0x48], 0
call fcn.00409200
test al, al
jne 0x408357
mov edi, dword [ebp + 0xc]
push edi
call fcn.00409200
test al, al
jne 0x408357
mov dword [ebp - 0x18], 0
xor ebx, ebx
mov dword [ebp - 4], 0
push edx
mov dword [ebp - 0x20], ebx
call fcn.00409200
test al, al
jne 0x407c9f
push edi
call fcn.00409200
test al, al
jne 0x407c9f
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
lea eax, [ebp - 0x18]
push eax
push 0x40333c
push 0x40337c
push 4
push 0x4033f0
push edi
call dword [sym.imp.mscoree.dll_CorBindToRuntimeEx]
cmp eax, 0x80131700
je 0x407c66
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x407c66
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 0x28]
mov ecx, esi
call dword [0x411204]
call esi
test eax, eax
jns 0x407ca7
mov ecx, dword [0x4106d4]
push eax
push 5
push ebx
mov esi, dword [ecx]
push ecx
mov esi, dword [esi + 4]
mov ecx, esi
call dword [0x411204]
call esi
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
mov esi, 0xffff0000
call fcn.00409691
jmp 0x40835c
mov eax, dword [0x4106d4]
push dword [ebp - 0x14]
push edi
mov esi, dword [eax]
push 3
push 0
push eax
mov esi, dword [esi + 4]
mov ecx, esi
call dword [0x411204]
call esi
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
mov esi, 0xffff0000
call fcn.00409691
jmp 0x40835c
mov ebx, 0xffff0000
mov dword [ebp - 0x20], ebx
cmp ebx, 0xffff0000
jne 0x407cc6
mov esi, dword [ebp - 0x20]
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.00409691
jmp 0x40835c
mov esi, dword [ebp + 0x20]
test esi, esi
je 0x408348
mov ebx, dword [ebp + 0x1c]
mov eax, ebx
mov edi, dword [ebp + 0x18]
sub eax, edi
dec eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push 1
push 8
call dword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x408348
cmp dword [ebp - 0x34], 0
mov dword [ebp - 0x14], 0
je 0x407d4f
inc edi
cmp edi, ebx
jge 0x407d4f
push dword [esi + edi*4]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ebx, eax
test ebx, ebx
je 0x408348
push ebx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopy]
push ebx
mov esi, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
inc dword [ebp - 0x14]
test esi, esi
js 0x408348
mov esi, dword [ebp + 0x20]
inc edi
cmp edi, dword [ebp + 0x1c]
jl 0x407d11
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 1
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x18]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x34]
mov ecx, esi
call dword [0x411204]
call esi
mov ecx, eax
test ecx, ecx
js 0x408313
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x408313
mov esi, dword [eax]
lea ecx, [ebp - 0x1c]
push ecx
push 0x40335c
push eax
mov esi, dword [esi]
mov ecx, esi
call dword [0x411204]
call esi
mov ecx, eax
test ecx, ecx
js 0x408313
cmp dword [ebp - 0x1c], 0
je 0x408313
mov dword [ebp - 0x28], 0
push 0xc
mov byte [ebp - 4], 3
call fcn.0040972e
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 4
test edi, edi
je 0x407e07
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 0x407e09
test esi, esi
jne 0x408385
jmp 0x407e09
xor edi, edi
mov byte [ebp - 4], 3
mov dword [ebp - 0x14], edi
test edi, edi
je 0x4083af
push 0xc
mov byte [ebp - 4], 5
call fcn.0040972e
mov ebx, eax
add esp, 4
mov dword [ebp - 0x30], ebx
mov byte [ebp - 4], 6
test ebx, ebx
je 0x407e58
push 0x403248
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 0x4083d9
jmp 0x407e5a
xor ebx, ebx
mov byte [ebp - 4], 5
mov dword [ebp - 0x30], ebx
test ebx, ebx
je 0x408409
mov byte [ebp - 4], 7
test ebx, ebx
je 0x407e75
mov edx, dword [ebx]
jmp 0x407e77
xor edx, edx
test edi, edi
je 0x407e7f
mov ecx, dword [edi]
jmp 0x407e81
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
lea esi, [ebp - 0x28]
push esi
push edx
push ecx
mov esi, dword [eax]
push eax
mov esi, dword [esi + 0x94]
mov ecx, esi
call dword [0x411204]
call esi
mov ecx, eax
test ecx, ecx
js 0x40828b
cmp dword [ebp - 0x28], 0
je 0x40828b
xor eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov word [ebp - 0x44], ax
mov byte [ebp - 4], 8
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 0x28]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x38]
mov ecx, esi
call dword [0x411204]
call esi
test eax, eax
jns 0x407f79
mov ecx, dword [0x4106dc]
push eax
push 7
push 0
mov esi, dword [ecx]
push ecx
mov esi, dword [esi + 4]
mov ecx, esi
call dword [0x411204]
call esi
add esp, 0x10
mov esi, 0xffff0000
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x44]
call fcn.0040c219
mov byte [ebp - 4], 5
test ebx, ebx
je 0x407f2b
mov ecx, ebx
call fcn.0040bb5a
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 3
test edi, edi
je 0x407f41
mov ecx, edi
call fcn.0040bb5a
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00409691
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.00409691
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.00409691
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.00409691
jmp 0x40835c
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x2c]
push dword [ebp - 0x3c]
push eax
call dword [sym.imp.ATL.DLL_AtlComPtrAssign]
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x54]
push ecx
push 0x800
push 1
mov dword [ebp - 0x4c], 0x403294
lea ecx, [ebp - 0x4c]
mov esi, dword [eax]
push ecx
push 0x4031f0
push eax
mov esi, dword [esi + 0x14]
mov ecx, esi
call dword [0x411204]
call esi
test eax, eax
jns 0x407ffb
mov ecx, dword [0x4106dc]
push eax
push 8
push 0
mov esi, dword [ecx]
push ecx
mov esi, dword [esi + 4]
mov ecx, esi
call dword [0x411204]
call esi
add esp, 0x10
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
mov esi, 0xffff0000
call fcn.00409691
mov byte [ebp - 4], 0xb
jmp 0x407f0d
mov eax, 0x2000
mov word [ebp - 0xd4], ax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x40803f
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x48], eax
test eax, eax
jne 0x408041
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
mov esi, 0xffff0000
call fcn.00409691
mov byte [ebp - 4], 0xc
jmp 0x407f0d
xor eax, eax
mov ecx, 8
mov dword [ebp - 0xbc], eax
mov word [ebp - 0xc4], cx
lea eax, [ebp - 0xd4]
lea ecx, [ebp - 0x50]
mov dword [ebp - 0xa4], eax
push ecx
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0xa0], 0
push ecx
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x9c], 2
push ecx
mov eax, 0x17
mov dword [ebp - 0x98], 0
mov word [ebp - 0xb4], ax
lea ecx, [ebp - 0xa4]
mov eax, dword [ebp - 0x2c]
push ecx
push 1
push 0x800
mov dword [ebp - 0xac], 0
mov dword [ebp - 0x50], 0
mov esi, dword [eax]
push 0x4031f0
push dword [ebp - 0x54]
mov esi, dword [esi + 0x18]
mov ecx, esi
push eax
call dword [0x411204]
call esi
mov ecx, eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x20], eax
test ecx, ecx
jns 0x408137
mov eax, dword [0x4106dc]
mov esi, dword [eax]
mov esi, dword [esi + 4]
cmp ecx, 0x80020009
jne 0x408100
push dword [ebp - 0xec]
push 0xa
jmp 0x408103
push ecx
push 9
push 0
push eax
mov ecx, esi
call dword [0x411204]
call esi
add esp, 0x10
mov dword [ebp - 0x20], 0xffff0000
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call fcn.00409691
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xd
call fcn.0040c219
jmp 0x4082af
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x408152
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x411204]
call esi
mov eax, 0xfff
mov byte [ebp - 4], 0xf
cmp word [ebp - 0x44], ax
jne 0x40816a
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 byte [ebp - 4], 5
test ebx, ebx
je 0x4081c3
mov eax, esi
lock xadd dword [ebx + 8], eax
dec eax
jne 0x4081bc
mov eax, dword [ebx]
test eax, eax
je 0x40819c
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebx], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x4081b3
push eax
call sub.msvcrt.dll_free
add esp, 4
mov dword [ebx + 4], 0
push ebx
call sub.msvcrt.dll_free
add esp, 4
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 3
test edi, edi
je 0x40820d
lock xadd dword [edi + 8], esi
dec esi
jne 0x408206
mov eax, dword [edi]
test eax, eax
je 0x4081e6
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x4081fd
push eax
call sub.msvcrt.dll_free
add esp, 4
mov dword [edi + 4], 0
push edi
call sub.msvcrt.dll_free
add esp, 4
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x408228
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x411204]
call esi
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x408243
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x411204]
call esi
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40825e
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x411204]
call esi
mov dword [ebp - 4], 0x13
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40827c
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x411204]
call esi
mov esi, dword [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
jmp 0x40835c
mov eax, dword [0x4106dc]
push ecx
push 7
push 0
mov esi, dword [eax]
push eax
mov esi, dword [esi + 4]
mov ecx, esi
call dword [0x411204]
call esi
add esp, 0x10
mov dword [ebp - 0x20], 0xffff0000
mov byte [ebp - 4], 5
test ebx, ebx
je 0x4082c5
mov ecx, ebx
call fcn.0040bb5a
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 3
test edi, edi
je 0x4082db
mov ecx, edi
call fcn.0040bb5a
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00409691
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.00409691
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.00409691
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.00409691
mov esi, dword [ebp - 0x20]
jmp 0x40835c
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 [0x411204]
call esi
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00409691
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.00409691
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.00409691
mov esi, 0xffff0000
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 ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00409a40
mov esp, ebp
pop ebp
ret 0x1c
push 0x40f57c
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 0x401190
push eax
mov dword [ebp - 0x60], 0x8007000e
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
call sub.msvcrt.dll__CxxThrowException
push 0x40f57c
lea eax, [ebp - 0x74]
mov dword [ebp - 0x74], 0x401190
push eax
mov dword [ebp - 0x70], 0x8007000e
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
call sub.msvcrt.dll__CxxThrowException
push 0x40f57c
lea eax, [ebp - 0x84]
mov dword [ebp - 0x84], 0x401190
push eax
mov dword [ebp - 0x80], 0x8007000e
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
call sub.msvcrt.dll__CxxThrowException
push 0x40f57c
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x401190
push eax
mov dword [ebp - 0x90], 0x8007000e
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
call sub.msvcrt.dll__CxxThrowException
int3