Function at 0x403e70
Capabilities:
Enumerate process modules
Load windows common language runtime
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x4b4
mov eax, dword [0x4e1898]
xor eax, esp
mov dword [esp + 0x4b0], eax
push ebx
push esi
push edi
call fcn.00403410
test al, al
jne 0x403f9b
cmp word [0x4e5a00], 0
mov byte [0x4e59eb], 1
je 0x403f9b
push str.mscoree.dll
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x403f9b
push str.CLRCreateInstance
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x403f9b
lea ecx, [esp + 0x10]
push ecx
push 0x4ad308
push 0x4ad318
call eax
test eax, eax
jne 0x403f9b
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push 0x4ad328
push str.v4.0.30319
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
test eax, eax
jne 0x403f91
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0xc]
push edx
push 0x4ad338
push 0x4ad2f8
mov eax, dword [ecx]
push ecx
call dword [eax + 0x24]
test eax, eax
jne 0x403f87
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x28]
push eax
push 0x4d5508
push str.prejit_all
push str.Freedom.PreJit
mov dword [esp + 0x38], 0
call fcn.00402a10
mov eax, dword [esp + 0x1c]
add esp, 0x10
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [0x4e5fbc]
xor ebx, ebx
push ebx
push 0x18
mov dword [esp + 0x34], ebx
movsd xmm0, qword [eax + 0x3dd8]
movsd qword [esp + 0x78], xmm0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x404014
lea eax, [esp + 0x78]
mov dword [esp + 0x78], 0x428
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x404014
mov edi, dword [sym.imp.KERNEL32.dll_Module32NextW]
lea eax, [esp + 0x98]
push str.osu_.exe
push eax
call fcn.0046f959
add esp, 8
test eax, eax
je 0x404009
lea eax, [esp + 0x78]
push eax
push esi
call edi
test eax, eax
jne 0x403fe2
jmp 0x404014
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x2c], ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1c
lea eax, [esp + 0x58]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x404738
cmp dword [esp + 0x64], 0x1000
movss xmm1, dword [0x4d9f88]
jne 0x404675
mov eax, dword [esp + 0x68]
cmp eax, 0x40
je 0x4040ca
cmp dword [0x4e5ea4], 0
jne 0x404675
cmp eax, 0x20
jne 0x404675
mov edi, dword [esp + 0x60]
xor esi, esi
shr edi, 3
test edi, edi
je 0x404675
mov edx, dword [esp + 0x54]
mov ebx, dword [0x4e5ec8]
add edx, 6
cmp byte [edx - 6], 0xb8
jne 0x4040bd
cmp byte [edx - 1], 0xe9
jne 0x4040bd
mov ecx, dword [edx]
lea eax, [ebx + 5]
add ecx, 4
add ecx, edx
cmp ecx, eax
jne 0x4040bd
mov eax, dword [edx - 5]
mov dword [0x4e215c], eax
mov dword [0x4e5ea4], 1
call fcn.00403d90
test al, al
jne 0x404765
inc esi
add edx, 8
cmp esi, edi
jne 0x404084
jmp 0x404675
mov eax, dword [esp + 0x60]
xor edx, edx
mov dword [esp + 0x28], edx
test eax, 0xfffffff8
je 0x404679
mov eax, dword [0x4e5e80]
mov dword [esp + 0x30], eax
mov eax, dword [0x4e5ed0]
mov dword [esp + 0x34], eax
mov eax, dword [0x4e5ecc]
mov dword [esp + 0x38], eax
mov eax, dword [0x4e5eb0]
mov ecx, dword [0x4e5f14]
mov dword [esp + 0x3c], eax
mov eax, dword [0x4e5e98]
mov ebx, dword [0x4e5f68]
mov dword [esp + 0x40], eax
mov eax, dword [0x4e59ec]
mov dword [esp + 0x44], eax
mov eax, dword [0x4e5e8c]
mov dword [esp + 0x18], eax
mov eax, dword [0x4e5ef0]
mov dword [esp + 0x1c], eax
mov eax, dword [0x4e5f74]
mov dword [esp + 0x48], eax
mov eax, dword [0x4e5fb4]
mov dword [esp + 0x4c], eax
mov eax, dword [0x4e5fb0]
mov dword [esp + 0x50], eax
mov eax, dword [0x4e5f90]
mov dword [esp + 0x20], eax
mov eax, dword [0x4e5f7c]
mov dword [esp + 0x24], eax
mov eax, dword [0x4e5f54]
mov dword [esp + 0x10], eax
mov eax, dword [0x4e5f58]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], eax
nop word [eax + eax]
mov eax, dword [esp + 0x54]
lea edi, [eax + edx*8]
movd xmm0, edi
mov eax, edi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4da2a0]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [0x4e5e90], xmm0
test ecx, ecx
jne 0x4041f7
lea esi, [edi + 0x25]
mov dword [esp + 0xc], edi
mov eax, edi
nop word [eax + eax]
mov ecx, 0x4d57e8
mov edx, eax
mov al, byte [ecx]
cmp al, byte [edx]
je 0x4041d7
cmp byte [ecx + 1], 0
je 0x404690
add ecx, 2
inc edx
cmp ecx, 0x4d5832
jne 0x4041c7
mov ecx, dword [esp + 0xc]
cmp ecx, esi
jne 0x4041f1
xor ecx, ecx
mov dword [esp + 0xc], ecx
mov dword [0x4e5f14], ecx
cmp dword [esp + 0x30], 0
jne 0x404226
push 0x4d584c
push 0x4d5834
lea esi, [edi + 0xc]
push esi
push edi
call fcn.00405d30
xor ecx, ecx
add esp, 0x10
cmp eax, esi
cmovne ecx, eax
mov dword [esp + 0x30], ecx
mov dword [0x4e5e80], ecx
cmp dword [esp + 0x34], 0
jne 0x404255
push 0x4d5862
push 0x4d584c
lea esi, [edi + 0xb]
push esi
push edi
call fcn.00405d30
xor ecx, ecx
add esp, 0x10
cmp eax, esi
cmovne ecx, eax
mov dword [esp + 0x34], ecx
mov dword [0x4e5ed0], ecx
cmp dword [esp + 0x38], 0
jne 0x404284
push 0x4d587e
push 0x4d5864
lea esi, [edi + 0xd]
push esi
push edi
call fcn.00405d30
xor ecx, ecx
add esp, 0x10
cmp eax, esi
cmovne ecx, eax
mov dword [esp + 0x38], ecx
mov dword [0x4e5ecc], ecx
cmp dword [esp + 0x3c], 0
jne 0x4042b3
push 0x4d587e
push 0x4d5864
lea esi, [edi + 0xd]
push esi
push edi
call fcn.00405d30
xor ecx, ecx
add esp, 0x10
cmp eax, esi
cmovne ecx, eax
mov dword [esp + 0x3c], ecx
mov dword [0x4e5eb0], ecx
cmp dword [esp + 0x40], 0
jne 0x4042e2
push 0x4d5896
push 0x4d5880
lea esi, [edi + 0xb]
push esi
push edi
call fcn.00405d30
xor ecx, ecx
add esp, 0x10
cmp eax, esi
cmovne ecx, eax
mov dword [esp + 0x40], ecx
mov dword [0x4e5e98], ecx
cmp dword [esp + 0x44], 0
jne 0x404311
push 0x4d58b2
push 0x4d5898
lea esi, [edi + 0xd]
push esi
push edi
call fcn.00405d30
xor ecx, ecx
add esp, 0x10
cmp eax, esi
cmovne ecx, eax
mov dword [esp + 0x44], ecx
mov dword [0x4e59ec], ecx
test ebx, ebx
jne 0x40434f
lea esi, [edi + 0x24]
mov ebx, edi
nop word [eax + eax]
mov ecx, 0x4d58b8
mov edx, ebx
mov al, byte [ecx]
cmp al, byte [edx]
je 0x404337
cmp byte [ecx + 1], 0
je 0x4046a6
add ecx, 2
inc edx
cmp ecx, 0x4d5900
jne 0x404327
cmp ebx, esi
jne 0x404349
xor ebx, ebx
mov dword [0x4e5f68], ebx
cmp dword [0x4e5e9c], 0
jne 0x404373
sub esp, 8
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], 0x15
call fcn.00405cd0
add esp, 8
mov dword [0x4e5e9c], eax
cmp dword [esp + 0x18], 0
jne 0x4043bf
lea esi, [edi + 0x1a]
mov dword [esp + 0x18], edi
mov eax, edi
mov ecx, 0x4d592c
mov edx, eax
nop word [eax + eax]
mov al, byte [ecx]
cmp al, byte [edx]
je 0x4043a0
cmp byte [ecx + 1], 0
je 0x4046b4
add ecx, 2
inc edx
cmp ecx, 0x4d5960
jne 0x404390
mov eax, dword [esp + 0x18]
cmp eax, esi
jne 0x4043ba
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [0x4e5e8c], eax
cmp dword [esp + 0x1c], 0
jne 0x404406
lea esi, [edi + 0x19]
mov dword [esp + 0x1c], edi
mov eax, edi
nop
mov ecx, 0x4d5960
mov edx, eax
mov al, byte [ecx]
cmp al, byte [edx]
je 0x4043e7
cmp byte [ecx + 1], 0
je 0x4046ca
add ecx, 2
inc edx
cmp ecx, 0x4d5992
jne 0x4043d7
mov eax, dword [esp + 0x1c]
cmp eax, esi
jne 0x404401
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [0x4e5ef0], eax
cmp dword [esp + 0x48], 0
jne 0x404435
push 0x4d59a6
push 0x4d5994
lea esi, [edi + 9]
push esi
push edi
call fcn.00405d30
xor ecx, ecx
add esp, 0x10
cmp eax, esi
cmovne ecx, eax
mov dword [esp + 0x48], ecx
mov dword [0x4e5f74], ecx
cmp dword [esp + 0x4c], 0
jne 0x404464
push 0x4d59c0
push 0x4d59a8
lea esi, [edi + 0xc]
push esi
push edi
call fcn.00405d30
xor ecx, ecx
add esp, 0x10
cmp eax, esi
cmovne ecx, eax
mov dword [esp + 0x4c], ecx
mov dword [0x4e5fb4], ecx
cmp dword [esp + 0x50], 0
jne 0x404493
push 0x4d59d8
push 0x4d59c0
lea esi, [edi + 0xc]
push esi
push edi
call fcn.00405d30
xor ecx, ecx
add esp, 0x10
cmp eax, esi
cmovne ecx, eax
mov dword [esp + 0x50], ecx
mov dword [0x4e5fb0], ecx
cmp dword [esp + 0x20], 0
jne 0x4044df
lea esi, [edi + 0xf]
mov dword [esp + 0x20], edi
mov eax, edi
mov ecx, 0x4d59d8
mov edx, eax
nop word [eax + eax]
mov al, byte [ecx]
cmp al, byte [edx]
je 0x4044c0
cmp byte [ecx + 1], 0
je 0x4046e0
add ecx, 2
inc edx
cmp ecx, 0x4d59f6
jne 0x4044b0
mov eax, dword [esp + 0x20]
cmp eax, esi
jne 0x4044da
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [0x4e5f90], eax
cmp dword [esp + 0x24], 0
jne 0x404526
lea esi, [edi + 0x1b]
mov dword [esp + 0x24], edi
mov eax, edi
nop
mov ecx, 0x4d59f8
mov edx, eax
mov al, byte [ecx]
cmp al, byte [edx]
je 0x404507
cmp byte [ecx + 1], 0
je 0x4046f6
add ecx, 2
inc edx
cmp ecx, 0x4d5a2e
jne 0x4044f7
mov eax, dword [esp + 0x24]
cmp eax, esi
jne 0x404521
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [0x4e5f7c], eax
cmp dword [esp + 0x10], 0
jne 0x40456f
lea esi, [edi + 0x21]
mov dword [esp + 0x10], edi
mov eax, edi
mov ecx, 0x4d5a30
mov edx, eax
nop dword [eax]
mov al, byte [ecx]
cmp al, byte [edx]
je 0x404550
cmp byte [ecx + 1], 0
je 0x40470c
add ecx, 2
inc edx
cmp ecx, 0x4d5a72
jne 0x404540
mov eax, dword [esp + 0x10]
cmp eax, esi
jne 0x40456a
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [0x4e5f54], eax
cmp dword [esp + 0x14], 0
jne 0x4045b6
lea esi, [edi + 0x13]
mov dword [esp + 0x14], edi
mov eax, edi
nop
mov ecx, 0x4d5a74
mov edx, eax
mov al, byte [ecx]
cmp al, byte [edx]
je 0x404597
cmp byte [ecx + 1], 0
je 0x404722
add ecx, 2
inc edx
cmp ecx, 0x4d5a9a
jne 0x404587
mov eax, dword [esp + 0x14]
cmp eax, esi
jne 0x4045b1
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [0x4e5f58], eax
cmp dword [0x4e5f84], 0
jne 0x40464c
mov eax, dword [edi]
lea ecx, [esp + 0x4a4]
mov dword [esp + 0x4a4], 0x56ec8b55
mov word [esp + 0x4a8], 0x358b
mov dword [esp + 0x4ac], 0x575f685
mov dword [esp + 0x4b0], 0x8c25d5e
mov dword [esp + 0x4b4], 0x89d23300
mov byte [esp + 0x4b8], 0x15
cmp eax, dword [ecx]
jne 0x40464c
movzx eax, word [edi + 4]
cmp ax, word [ecx + 4]
jne 0x40464c
lea ecx, [edi + 0xa]
mov esi, 9
lea edx, [esp + 0x4ac]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40464c
add ecx, 4
add edx, 4
sub esi, 4
jae 0x404627
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x40464c
mov eax, dword [edi + 6]
mov dword [0x4e5f84], edi
mov dword [0x4e5f94], eax
call fcn.00403d90
test al, al
jne 0x404738
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x60]
inc edx
mov ecx, dword [esp + 0xc]
shr eax, 3
mov dword [esp + 0x28], edx
cmp edx, eax
jne 0x404180
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x2c]
add ecx, eax
lea eax, [esp + 0x54]
push 0x1c
push eax
mov dword [esp + 0x34], ecx
push ecx
jmp 0x404023
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x4041eb
inc eax
mov dword [esp + 0xc], eax
jmp 0x4041c0
cmp ebx, edi
je 0x404347
inc ebx
jmp 0x404320
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x4043b4
inc eax
mov dword [esp + 0x18], eax
jmp 0x404383
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x4043fb
inc eax
mov dword [esp + 0x1c], eax
jmp 0x4043d0
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x4044d4
inc eax
mov dword [esp + 0x20], eax
jmp 0x4044a3
mov eax, dword [esp + 0x24]
cmp eax, edi
je 0x40451b
inc eax
mov dword [esp + 0x24], eax
jmp 0x4044f0
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x404564
inc eax
mov dword [esp + 0x10], eax
jmp 0x404536
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x4045ab
inc eax
mov dword [esp + 0x14], eax
jmp 0x404580
mov eax, dword [0x4e5fbc]
sub esp, 8
movsd xmm0, qword [eax + 0x3dd8]
subsd xmm0, qword [esp + 0x78]
movsd qword [esp], xmm0
push str.Memory_Scan_Took:__lfs_n
push 0x4e2450
call fcn.00402250
add esp, 0x10
mov ecx, dword [esp + 0x4bc]
pop edi
pop esi
pop ebx
xor ecx, esp
mov dword [0x4e5e90], 0x3f800000
call fcn.004672b4
mov esp, ebp
pop ebp
ret