Function at 0x100057f0
Capabilities:
Load windows common language runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10073175
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x100b3140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.mscoree.dll
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x10005a73
push str.CLRCreateInstance
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10005a73
lea ecx, [ebp - 0x18]
push ecx
push 0x1007bcdc
push 0x1007bcec
call eax
test eax, eax
jns 0x10005870
push str.____CLRCreateInstance
jmp 0x10005a66
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x10]
push edx
push 0x1007bcfc
push str.v4.0.30319
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
test eax, eax
jns 0x100058b4
push str.v4.0.30319
push str.____GetRuntime_failed:__S
push 0x100b4290
call fcn.10010c10
add esp, 0xc
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x1c]
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x28]
test eax, eax
js 0x10005a61
cmp dword [ebp - 0x1c], 0
je 0x10005a61
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push edx
push 0x1007bcbc
push 0x1007bccc
mov eax, dword [ecx]
push ecx
call dword [eax + 0x24]
test eax, eax
jns 0x100058f8
push str.____GetInterface
jmp 0x10005a66
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
test eax, eax
jns 0x1000590f
push str.____Start
jmp 0x10005a66
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x10005a73
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.100055f0
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x10005a39
push ecx
mov eax, esp
mov dword [eax], esi
mov byte [ebp - 4], 2
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov edx, str.mscorlib.dll
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.10005700
add esp, 4
mov byte [ebp - 4], 3
mov edx, dword [eax]
mov ecx, dword [0x100b7e54]
cmp ecx, edx
je 0x10005984
mov dword [0x100b7e54], edx
mov dword [eax], 0
test ecx, ecx
je 0x10005984
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10005995
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
cmp dword [0x100b7e54], 0
jne 0x100059b4
push str.____Get_mscorlib.dll_Assembly_Failed
push 0x100b4290
call fcn.10010c10
add esp, 8
push ecx
mov eax, esp
mov dword [eax], esi
mov byte [ebp - 4], 5
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov edx, str.osu_
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.10005700
add esp, 4
mov byte [ebp - 4], 6
mov edx, dword [eax]
mov ecx, dword [0x100b7e50]
cmp ecx, edx
je 0x100059fd
mov dword [0x100b7e50], edx
mov dword [eax], 0
test ecx, ecx
je 0x100059fd
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10005a0e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
cmp dword [0x100b7e50], 0
jne 0x10005a2d
push str.____Get_osu__Assembly_Failed
push 0x100b4290
call fcn.10010c10
add esp, 8
mov byte [ebp - 4], 8
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x10005a4f
push str.____C_Get_Default_Domain_Failed
push 0x100b4290
mov byte [ebp - 4], 0
call fcn.10010c10
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push str.____IsLoadable
push 0x100b4290
call fcn.10010c10
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret