Function at 0x10003160
Capabilities:
Load windows common language runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100145c0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x1001a170]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
push edi
xor ebx, ebx
push edi
mov byte [ebp - 4], 3
mov byte [ebp - 0xd], bl
call dword [sym.imp.ole32.dll_CoInitializeEx]
lea eax, [ebp - 0x24]
push eax
push 0x1001554c
push 0x17
push edi
push 0x1001553c
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, edi
jge 0x100031de
mov ecx, dword [ebp + 8]
push str.CoCreateInstance_Failure
push ecx
call fcn.100010a0
add esp, 8
jmp 0x1000340c
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x28]
call eax
cmp eax, edi
jge 0x10003203
mov ecx, dword [ebp + 8]
push str.icrh__Start_Failure
push ecx
call fcn.100010a0
add esp, 8
jmp 0x1000340c
mov eax, dword [ebp - 0x20]
cmp eax, edi
je 0x10003212
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], edi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x34]
call eax
cmp eax, edi
jge 0x1000323e
mov ecx, dword [ebp + 8]
push str.icrh__GetDefaultDomain_Failure
push ecx
call fcn.100010a0
add esp, 8
jmp 0x1000340c
mov esi, dword [ebp - 0x20]
cmp esi, edi
jne 0x1000324f
push 0x80004003
call fcn.1000d9f0
mov eax, dword [ebp - 0x1c]
cmp eax, edi
je 0x1000325e
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], edi
mov edi, dword [esi]
push ecx
call fcn.10002b70
mov edx, dword [edi]
add esp, 4
push eax
push 0x10015ba8
push esi
call edx
test eax, eax
jns 0x10003294
mov eax, dword [ebp + 8]
push str.iu__QueryInterface_Failure
push eax
call fcn.100010a0
add esp, 8
jmp 0x1000340a
mov esi, dword [ebp + 0x10]
lea ecx, [ebp - 0x30]
push ecx
push 1
push 0x11
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
mov ebx, eax
mov dword [ebp - 0x28], ebx
test ebx, ebx
jne 0x100032ca
mov edx, dword [ebp + 8]
push str.SafeArrayCreate_Failure
push edx
call fcn.100010a0
add esp, 8
jmp 0x1000340a
mov edi, dword [ebp + 8]
push str.Load_C_Code_Data
push edi
call fcn.100010a0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebx + 0xc]
push esi
push eax
push ecx
call fcn.10004520
mov esi, dword [ebp - 0x1c]
add esp, 0x14
test esi, esi
jne 0x100032fa
push 0x80004003
call fcn.1000d9f0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10003309
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x18], 0
mov ecx, dword [esi]
mov eax, dword [ecx + 0xb4]
push ebx
push esi
call eax
test eax, eax
jns 0x10003337
push str.ad__Load_3_Failure
push edi
call fcn.100010a0
add esp, 8
jmp 0x1000340a
push str.Get_C_Code_Entry_Point
push edi
call fcn.100010a0
mov esi, dword [ebp - 0x18]
add esp, 8
test esi, esi
jne 0x10003356
push 0x80004003
call fcn.1000d9f0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10003365
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
mov eax, dword [esi]
mov edx, dword [eax + 0x40]
push ecx
push esi
call edx
test eax, eax
jns 0x1000338c
push str.as__get_EntryPoint_Failure
push edi
call fcn.100010a0
add esp, 8
jmp 0x1000340a
push str.Start_To_Run_C_Code
push edi
call fcn.100010a0
mov ecx, dword [ebp - 0x14]
add esp, 8
mov eax, 1
xor edx, edx
mov word [ebp - 0x40], ax
test ecx, ecx
jne 0x100033b6
push 0x80004003
call fcn.1000d9f0
mov ebx, dword [ebp - 0x40]
mov esi, dword [ecx]
lea eax, [ebp - 0x50]
push eax
push 0
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [ebp - 0x3c]
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x34]
mov dword [eax + 0xc], edx
mov eax, dword [esi + 0x94]
push ecx
call eax
test eax, eax
js 0x100033f8
push str.Run_C_Code_Successfully
push edi
call fcn.100010a0
add esp, 8
mov byte [ebp - 0xd], 1
jmp 0x10003407
push eax
push str.Fail_To_Run_C_Code_0x_x
push edi
call fcn.100010a0
add esp, 0xc
mov ebx, dword [ebp - 0x28]
xor edi, edi
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x1000341b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x18]
cmp eax, edi
je 0x1000342a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp ebx, edi
je 0x10003435
push ebx
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
mov eax, dword [ebp - 0x1c]
cmp eax, edi
je 0x10003444
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x20]
cmp eax, edi
je 0x10003453
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x24]
cmp eax, edi
je 0x1000346d
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push eax
call edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp eax, edi
je 0x10003480
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 1
cmp eax, edi
je 0x10003493
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0
cmp eax, edi
je 0x100034a6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
cmp eax, edi
je 0x100034bc
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret