Function at 0x100058b0
Capabilities:
Load windows common language runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10073945
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x100b3100]
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 0x10005b33
push str.CLRCreateInstance
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10005b33
lea ecx, [ebp - 0x18]
push ecx
push 0x1007bcdc
push 0x1007bcec
call eax
test eax, eax
jns 0x10005930
push str.____CLRCreateInstance
jmp 0x10005b26
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 0x10005974
push str.v4.0.30319
push str.____GetRuntime_failed:__S
push 0x100b4250
call fcn.10010dc0
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 0x10005b21
cmp dword [ebp - 0x1c], 0
je 0x10005b21
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 0x100059b8
push str.____GetInterface
jmp 0x10005b26
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
test eax, eax
jns 0x100059cf
push str.____Start
jmp 0x10005b26
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x10005b33
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.100056b0
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x10005af9
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.100057c0
add esp, 4
mov byte [ebp - 4], 3
mov edx, dword [eax]
mov ecx, dword [0x100b7eb4]
cmp ecx, edx
je 0x10005a44
mov dword [0x100b7eb4], edx
mov dword [eax], 0
test ecx, ecx
je 0x10005a44
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10005a55
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
cmp dword [0x100b7eb4], 0
jne 0x10005a74
push str.____Get_mscorlib.dll_Assembly_Failed
push 0x100b4250
call fcn.10010dc0
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.100057c0
add esp, 4
mov byte [ebp - 4], 6
mov edx, dword [eax]
mov ecx, dword [0x100b7eb0]
cmp ecx, edx
je 0x10005abd
mov dword [0x100b7eb0], edx
mov dword [eax], 0
test ecx, ecx
je 0x10005abd
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10005ace
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
cmp dword [0x100b7eb0], 0
jne 0x10005aed
push str.____Get_osu__Assembly_Failed
push 0x100b4250
call fcn.10010dc0
add esp, 8
mov byte [ebp - 4], 8
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x10005b0f
push str.____C_Get_Default_Domain_Failed
push 0x100b4250
mov byte [ebp - 4], 0
call fcn.10010dc0
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 0x100b4250
call fcn.10010dc0
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