Function at 0x4011d0
Capabilities:
Load windows common language runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4032b0
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00401700
push 2
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, ebx
jl 0x4016e1
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x18]
push eax
push 0x404a68
mov byte [ebp - 4], 2
push 0x404940
mov dword [ebp - 0x18], ebx
call dword [sym.imp.mscoree.dll_CLRCreateInstance]
cmp eax, ebx
jl 0x4012fd
mov esi, dword [ebp - 0x18]
cmp esi, ebx
jne 0x40124d
push 0x80004003
call fcn.00402020
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x40125c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [ebp - 0x14]
push ecx
push 0x404a58
mov dword [ebp - 0x14], ebx
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
push str.v4.0.30319
push esi
call edx
cmp eax, ebx
jl 0x4012fd
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jne 0x40128e
push 0x80004003
call fcn.00402020
mov ecx, dword [eax]
mov edx, dword [ecx + 0x34]
push eax
call edx
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jne 0x4012a7
push 0x80004003
call fcn.00402020
mov ecx, dword [eax]
lea edx, [ebp - 0x2c]
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
cmp eax, ebx
jl 0x4012fd
cmp dword [ebp - 0x2c], ebx
je 0x4012f5
mov esi, dword [ebp - 0x14]
cmp esi, ebx
jne 0x4012cd
push 0x80004003
call fcn.00402020
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x4012dc
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [ebp - 0x10]
push ecx
push 0x404a48
mov dword [ebp - 0x10], ebx
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
push 0x404920
push esi
call edx
cmp eax, ebx
jge 0x401447
push 0x404a28
lea ebx, [ebp - 0x30]
call fcn.00401050
mov esi, eax
push str.v2.0.5727
lea ebx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00401050
mov edi, eax
mov eax, dword [ebp - 0x10]
xor ebx, ebx
cmp eax, ebx
je 0x401330
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x10], ebx
mov eax, dword [esi]
cmp eax, ebx
je 0x40133d
mov ecx, dword [eax]
jmp 0x40133f
xor ecx, ecx
mov eax, dword [edi]
cmp eax, ebx
je 0x401349
mov eax, dword [eax]
jmp 0x40134b
xor eax, eax
lea edx, [ebp - 0x10]
push edx
push 0x404930
push 0x404920
push 3
push ecx
push eax
call dword [sym.imp.mscoree.dll_CorBindToRuntimeEx]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x4013ae
mov esi, eax
add eax, 8
push eax
call edi
cmp eax, ebx
jne 0x4013ab
cmp esi, ebx
je 0x4013ab
mov eax, dword [esi]
cmp eax, ebx
je 0x401390
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4013a1
push eax
call dword [sym.imp.MSVCR100.dll___3_YAXPAX_Z]
add esp, 4
push esi
call dword [sym.imp.MSVCR100.dll___3_YAXPAX_Z]
add esp, 4
mov dword [ebp - 0x28], ebx
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x30]
cmp esi, ebx
je 0x4013ef
lea eax, [esi + 8]
push eax
call edi
cmp eax, ebx
jne 0x4013ef
cmp esi, ebx
je 0x4013ef
mov eax, dword [esi]
cmp eax, ebx
je 0x4013d4
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4013e5
push eax
call dword [sym.imp.MSVCR100.dll___3_YAXPAX_Z]
add esp, 4
push esi
call dword [sym.imp.MSVCR100.dll___3_YAXPAX_Z]
add esp, 4
mov esi, dword [ebp - 0x34]
cmp esi, ebx
jge 0x401445
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x401409
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40141b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x401431
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
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
xor ebx, ebx
mov eax, dword [ebp - 0x10]
cmp eax, ebx
jne 0x401458
push 0x80004003
call fcn.00402020
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push eax
call edx
mov esi, eax
cmp esi, ebx
jge 0x401499
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x401479
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x40148b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, ebx
jmp 0x401427
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
cmp eax, ebx
jne 0x4014b1
push 0x80004003
call fcn.00402020
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x34]
call eax
mov esi, eax
cmp esi, ebx
jge 0x4014db
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x401466
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x401466
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], ebx
cmp eax, ebx
jne 0x4014f3
push 0x80004003
call fcn.00402020
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push 0x404a38
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
cmp esi, ebx
jge 0x40151e
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x4014c6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x4014c6
call fcn.00401770
mov esi, eax
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x24]
cmp eax, ebx
jne 0x40153d
push 0x80004003
call fcn.00402020
lea edx, [ebp - 0x20]
push edx
mov dword [ebp - 0x20], ebx
mov ecx, dword [eax]
push esi
push eax
mov eax, dword [ecx + 0xb4]
call eax
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x401568
push 0x80004003
call fcn.00402020
mov ecx, dword [eax]
lea edx, [ebp - 0x58]
push edx
mov edx, dword [0x4b6610]
push edx
push eax
mov eax, dword [ecx + 0xa4]
call eax
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x30], esi
cmp esi, ebx
je 0x401590
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
mov byte [ebp - 4], 7
cmp esi, ebx
jne 0x4015a2
push 0x80004003
call fcn.00402020
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
lea ecx, [ebp - 0x38]
push ecx
push 0x800
push 1
push 0x4b6614
push 0x404198
push esi
call edx
mov edi, eax
cmp edi, ebx
jl 0x40165f
push 0x10
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
call dword [sym.imp.MSVCR100.dll___2_YAPAXI_Z]
mov edi, dword [ebp + 8]
add esp, 4
lea edx, [ebp - 0x34]
mov ecx, 8
mov dword [ebp - 0x48], eax
push edx
mov word [eax], cx
call fcn.004010e0
mov eax, dword [eax]
cmp eax, ebx
je 0x401601
mov eax, dword [eax]
jmp 0x401603
xor eax, eax
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebp - 0x48]
lea ebx, [ebp - 0x34]
mov dword [ecx + 8], eax
call fcn.00401180
mov ecx, dword [ebp - 0x38]
xor ebx, ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x48]
push eax
push 1
push 0x800
push 0x404198
mov dword [ebp - 0x40], 1
mov edx, dword [esi]
mov edx, dword [edx + 0x18]
push ecx
push esi
call edx
mov edi, eax
cmp edi, ebx
jl 0x40165f
mov eax, dword [ebp - 0x10]
cmp eax, ebx
jne 0x401657
push 0x80004003
call fcn.00402020
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push eax
call edx
mov byte [ebp - 4], 6
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x40167e
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x401691
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x4016a4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x4016b7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x4016c9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x4016df
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret