Function at 0x4be460
Capabilities:
Load windows common language runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58cb8b
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x5ff1d4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, ecx
mov dword [ebp - 0x90], eax
mov ebx, dword [ebp + 8]
lea edi, [eax + 0x30]
xor eax, eax
mov dword [ebp - 0x30], 7
push 0xffffffffffffffff
push eax
xor esi, esi
mov word [ebp - 0x44], ax
push edi
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], esi
call fcn.004a4df0
lea eax, [ebp - 0x44]
mov dword [ebp - 4], esi
push eax
mov edx, str._CLRv_
lea ecx, [ebp - 0x8c]
call fcn.004ab990
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x4be4f0
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.004a5150
xor eax, eax
mov dword [ebp - 0x30], 7
push 0x29
push str._n_WaCLRHost___createV2Host_:_Start_create
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x2c], ax
call fcn.004a4ab0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
push 1
push eax
call fcn.004be7e0
mov ecx, eax
call fcn.004bb210
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x4be550
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.004a5150
push str.CorBindToRuntime
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x4be75f
push 0x33
xor eax, eax
mov dword [ebp - 0x18], 7
push str._n_WaCLRHost___createV2Host_:_CorBindToRuntime_found
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.004a4ab0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 7
push 1
push eax
call fcn.004be7e0
mov ecx, eax
call fcn.004bb210
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x4be5b5
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.004a5150
mov byte [ebp - 4], 8
cmp dword [edi + 0x14], 8
jb 0x4be5c1
mov edi, dword [edi]
mov eax, dword [ebp - 0x90]
mov ecx, ebx
add eax, 0x4c
push eax
push 0x5d8bf4
push 0x5d8c3c
push 0x5d9508
push edi
call dword [0x59a43c]
call ebx
mov edi, eax
mov dword [ebp - 4], 2
test edi, edi
js 0x4be67e
push 0x34
xor eax, eax
mov dword [ebp - 0x18], 7
push str._n_WaCLRHost___createV2Host_:_Bind_to_runtime_success
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.004a4ab0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xd
push 1
push eax
call fcn.004be7e0
mov ecx, eax
call fcn.004bb210
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x4be786
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
jmp 0x4be781
push 0x5d843c
lea ecx, [ebp - 0x5c]
call fcn.004a48c0
mov dword [ebp - 0x3c], vtable._com_error.0
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xb
call fcn.004bac90
push eax
lea ecx, [ebp - 0x74]
call fcn.004a48c0
push eax
mov edx, str._HRESULT:
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2c]
call fcn.004ab990
add esp, 4
lea ecx, [ebp - 0x5c]
push eax
call fcn.004aa2c0
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x4be6eb
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.004a5150
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x1c], 0
cmp eax, 8
jb 0x4be714
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.004a5150
mov byte [ebp - 4], 0xa
xor eax, eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], 0
mov word [ebp - 0x74], ax
mov dword [ebp - 0x3c], vtable._com_error.0
test ecx, ecx
je 0x4be74a
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x59a43c]
call esi
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4be758
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, 0xffffffe5
jmp 0x4be771
push 0x5d843c
lea ecx, [ebp - 0x5c]
call fcn.004a48c0
mov esi, 0xffffffe4
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x4be786
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.004a5150
mov ecx, dword [ebp - 0x78]
cmp ecx, 8
jb 0x4be7a1
inc ecx
push ecx
push dword [ebp - 0x8c]
lea ecx, [ebp - 0x8c]
call fcn.004a5150
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 - 0x14]
xor ecx, ebp
call fcn.00533fc6
mov esp, ebp
pop ebp
ret 4