Function at 0x22916070
Capabilities:
Load windows common language runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x22918fc0
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push esi
push edi
mov eax, dword [0x2291a01c]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x3c], ebx
call fcn.22914d04
test al, al
jne 0x22916444
mov eax, dword [ebp + 0x10]
call fcn.22914d04
test al, al
jne 0x22916444
mov dword [esp + 0x10], ebx
push 1
mov dword [esp + 0xbc], ebx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
lea eax, [esp + 0x10]
push eax
push 0x229146d4
push 0x229146c4
push 4
push 0x229146e4
push dword [ebp + 0x10]
call sub.mscoree.dll_CorBindToRuntimeEx
cmp eax, 0x80131700
jne 0x22916137
push dword [ebp + 8]
push dword [ebp + 0x10]
push 3
push ebx
call fcn.22915eb7
add esp, 0x10
mov esi, 0xffff0000
or dword [esp + 0xb8], 0xffffffff
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x22916449
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x22916449
cmp eax, ebx
jge 0x22916149
push eax
push 4
push ebx
call fcn.22915eb7
add esp, 0xc
jmp 0x22916113
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
cmp eax, ebx
jge 0x2291615c
push eax
push 5
jmp 0x2291613e
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov byte [esp + 0xb8], 2
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push eax
call dword [ecx + 0x34]
cmp eax, ebx
jl 0x229163ff
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
je 0x229163ff
mov eax, dword [ecx]
lea edx, [esp + 0x14]
push edx
push 0x22914a20
push ecx
call dword [eax]
cmp eax, ebx
jl 0x229163ff
cmp dword [esp + 0x14], ebx
je 0x229163ff
mov dword [esp + 0x1c], ebx
push dword [ebp + 0x14]
lea edi, [esp + 0x28]
mov byte [esp + 0xbc], 3
call fcn.22914c4f
push 0x229146f0
lea edi, [esp + 0x24]
mov byte [esp + 0xbc], 4
call fcn.22914c4f
mov byte [esp + 0xb8], 5
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x229161f2
mov edx, dword [eax]
jmp 0x229161f4
xor edx, edx
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x22916200
mov ecx, dword [eax]
jmp 0x22916202
xor ecx, ecx
mov eax, dword [esp + 0x14]
mov esi, dword [eax]
lea edi, [esp + 0x1c]
push edi
push edx
push ecx
push eax
call dword [esi + 0x94]
cmp eax, ebx
jl 0x229163e9
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x229163e9
xor eax, eax
lea edi, [esp + 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov word [esp + 0x2c], ax
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0xbc], 6
mov eax, dword [ecx]
push ecx
call dword [eax + 0x38]
cmp eax, ebx
jge 0x229162b3
push eax
push 7
push ebx
call fcn.22915eb7
add esp, 0xc
mov esi, 0xffff0000
mov eax, 0xfff
cmp word [esp + 0x2c], ax
jne 0x22916277
push 8
pop eax
mov word [esp + 0x2c], ax
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edi, [esp + 0x20]
call fcn.22914cbd
lea edi, [esp + 0x24]
call fcn.22914cbd
mov byte [esp + 0xb8], 2
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x22916410
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x22916410
mov dword [esp + 0x28], ebx
mov byte [esp + 0xb8], 7
push dword [esp + 0x34]
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.ATL.DLL_AtlComPtrAssign]
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x40]
push edx
push 0x800
push 1
lea edx, [esp + 0x54]
push edx
mov esi, 0x229112ac
push esi
mov dword [esp + 0x5c], 0x2291473c
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
cmp eax, ebx
jge 0x2291632b
push eax
push 8
push ebx
call fcn.22915eb7
add esp, 0xc
mov esi, 0xffff0000
mov byte [esp + 0xb8], 6
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x22916263
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x22916263
mov eax, 0x2000
mov word [esp + 0x6c], ax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x74], eax
cmp dword [ebp + 0xc], ebx
je 0x22916352
push dword [ebp + 0xc]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esp + 0x3c], eax
cmp eax, ebx
je 0x22916307
push 8
pop eax
mov word [esp + 0x7c], ax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x84], eax
push 0x17
lea eax, [esp + 0x70]
mov dword [esp + 0x50], eax
xor eax, eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], 2
lea edi, [esp + 0x5c]
stosd dword es:[edi], eax
pop eax
lea edx, [esp + 0x44]
push edx
lea edx, [esp + 0x90]
push edx
lea edx, [esp + 0x64]
push edx
lea edx, [esp + 0x58]
push edx
push 1
push 0x800
push esi
push dword [esp + 0x5c]
mov word [esp + 0x7c], ax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x84], ebx
mov dword [esp + 0x64], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
cmp eax, ebx
mov esi, dword [esp + 0x64]
jge 0x2291630c
cmp eax, 0x80020009
jne 0x229163e1
push dword [esp + 0x94]
push 0xa
jmp 0x229162fe
push eax
push 9
jmp 0x229162fe
push eax
push 7
push ebx
call fcn.22915eb7
add esp, 0xc
mov esi, 0xffff0000
jmp 0x22916282
push eax
push 6
push ebx
call fcn.22915eb7
mov esi, 0xffff0000
add esp, 0xc
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x22916426
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [esp + 0xb8], bl
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x22916118
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x22916118
mov esi, 0xffff0000
push dword [esp + 0x3c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, esi
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14