Function at 0x402d00
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40813b
mov eax, dword fs:[0]
push eax
sub esp, 0x45c
mov eax, dword [0x40d004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 1
mov dword [ebp - 0x3e4], 0
mov byte [ebp - 0x3ec], 0
jle 0x402d8e
mov eax, dword [ebp + 0xc]
mov ecx, str.__no_auto_start
mov eax, dword [eax + 4]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x402d70
test dl, dl
je 0x402d6c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x402d70
add eax, 2
add ecx, 2
test dl, dl
jne 0x402d50
xor ecx, ecx
jmp 0x402d75
sbb ecx, ecx
or ecx, 1
mov eax, dword [ebp - 0x3ec]
test ecx, ecx
movzx eax, al
mov edx, 1
cmove eax, edx
mov dword [ebp - 0x3ec], eax
mov byte [ebp - 0x3e8], 0
lea ecx, [ebp - 0x420]
push dword [ebp - 0x3e8]
call fcn.00406200
add esp, 4
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x404]
xorps xmm0, xmm0
mov dword [ebp - 0x3f4], 0
xor eax, eax
mov dword [ebp - 0x3f0], 7
movups xmmword [ebp - 0x404], xmm0
mov word [ebp - 0x404], ax
mov dword [ebp - 0x3e4], 8
call fcn.00402950
test eax, eax
jne 0x403f64
lea eax, [ebp - 0x404]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x278]
call fcn.00404b50
lea eax, [ebp - 0x420]
mov dword [ebp - 0x3e4], 0x18
push eax
lea ecx, [ebp - 0x278]
call fcn.00401a50
mov dword [ebp - 0x3e4], 0x10
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3f0]
cmp ecx, 8
jb 0x402e70
mov edx, dword [ebp - 0x404]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402e66
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402ec3
push ecx
push edx
call fcn.00406ffa
add esp, 8
xor eax, eax
mov dword [ebp - 0x3f4], 0
mov dword [ebp - 0x3f0], 7
mov word [ebp - 0x404], ax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x40c]
cmp ecx, 8
jb 0x402ed3
mov edx, dword [ebp - 0x420]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402ec9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402ec9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00406ffa
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
mov dword [ebp - 0x410], 0
mov dword [ebp - 0x40c], 7
mov word [ebp - 0x420], ax
cmp byte [ebp - 0x3ec], al
jne 0x403df1
call fcn.00402c00
mov esi, eax
test esi, esi
jne 0x403e22
mov byte [ebp - 0x3e8], al
lea ecx, [ebp - 0x450]
push dword [ebp - 0x3e8]
call fcn.00406230
add esp, 4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x438]
xorps xmm0, xmm0
mov dword [ebp - 0x428], esi
xor eax, eax
mov dword [ebp - 0x424], 7
movups xmmword [ebp - 0x438], xmm0
mov word [ebp - 0x438], ax
mov dword [ebp - 0x3e4], 0x50
call fcn.00402950
test eax, eax
jne 0x403f6b
lea eax, [ebp - 0x450]
push eax
lea edx, [ebp - 0x438]
lea ecx, [ebp - 0x260]
call fcn.00401da0
add esp, 4
mov edi, 0x10
mov dword [ebp - 0x3e4], edi
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x424]
cmp ecx, 8
jb 0x402fd5
mov edx, dword [ebp - 0x438]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402fcb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403028
push ecx
push edx
call fcn.00406ffa
add esp, 8
xor eax, eax
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x43c]
cmp ecx, 8
jb 0x403038
mov edx, dword [ebp - 0x450]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40302e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40302e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00406ffa
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x220], 0
movups xmmword [ebp - 0x230], xmm0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0xa
call fcn.004027e0
test al, al
je 0x403274
push 0xb8
lea eax, [ebp - 0x374]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x374], 0x4098ec
cmp dword [ebp - 0x24c], 8
lea esi, [ebp - 0x260]
lea ecx, [ebp - 0x304]
cmovae esi, dword [ebp - 0x260]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea eax, [ebp - 0x364]
mov byte [ebp - 4], 0xb
mov edi, 0x210
lea ecx, [ebp - 0x374]
push eax
mov dword [ebp - 0x3e4], edi
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov dword [ebp - 4], 0xc
mov eax, dword [ebp - 0x374]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x374]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x378], eax
lea ecx, [ebp - 0x364]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
lea ecx, [ebp - 0x364]
mov dword [ebp - method.std::basic_filebuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [ebp - 0x31c], 0
mov byte [ebp - 0x327], 0
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void_]
mov eax, dword [0x40d710]
mov ecx, dword [0x40d714]
mov dword [ebp - 0x318], 0
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x320], ecx
mov dword [ebp - 0x32c], 0
push ecx
push 1
push esi
lea ecx, [ebp - 0x364]
mov byte [ebp - 4], 0xd
call fcn.004060c0
test eax, eax
jne 0x403193
mov eax, dword [ebp - 0x374]
lea ecx, [ebp - 0x374]
push 0
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
mov eax, dword [ebp - 0x374]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x374]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x378], eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x374]
mov eax, dword [ebp - 0x374]
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::operator__void_const]
test al, al
je 0x4031f7
push str._ERROR__Cannot_open_osuPath.txt__n
call fcn.00401020
add esp, 4
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov eax, dword [ebp - 0x374]
lea ecx, [ebp - 0x374]
push 0xa
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_char___thiscall_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const]
movzx eax, al
lea edx, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x374]
call fcn.00406260
mov byte [ebp - 4], 0xa
add esp, 4
mov eax, dword [ebp - 0x374]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x374]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x378], eax
lea ecx, [ebp - 0x364]
call fcn.00404a70
lea ecx, [ebp - 0x35c]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x304]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
cmp dword [ebp - 0x220], 0
je 0x4032c1
mov byte [ebp - 0x3e8], 0
lea edx, [ebp - 0x230]
push dword [ebp - 0x3e8]
lea ecx, [ebp - 0x450]
call fcn.00406410
add esp, 4
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x450]
or edi, 1
mov dword [ebp - 0x3e4], edi
call fcn.004027e0
mov byte [ebp - 0x3dd], 0
test al, al
jne 0x4032c8
mov byte [ebp - 0x3dd], 1
mov dword [ebp - 4], 0xa
mov eax, dword [ebp - 0x3e4]
test al, 1
je 0x403324
mov ecx, dword [ebp - 0x43c]
and eax, 0xfffffffe
mov dword [ebp - 0x3e4], eax
cmp ecx, 8
jb 0x403324
mov edx, dword [ebp - 0x450]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40331a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40331a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00406ffa
add esp, 8
cmp byte [ebp - 0x3dd], 0
je 0x40374b
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x58
lea eax, [ebp - 0x3dc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
mov dword [ebp - 0x3dc], 0x58
lea eax, [ebp - 0x218]
mov dword [ebp - 0x3d8], 0
mov dword [ebp - 0x3c0], eax
lea eax, [ebp - 0x3dc]
mov dword [ebp - 0x3d0], 0x409704
push eax
mov dword [ebp - 0x3bc], 0x208
mov dword [ebp - 0x3ac], str.Select_osu_.exe
mov dword [ebp - 0x3a8], 0x2001000
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
test eax, eax
je 0x403741
mov edx, dword [ebp - 0x3c0]
xorps xmm0, xmm0
mov ecx, edx
mov dword [ebp - 0x3f4], 0
movups xmmword [ebp - 0x404], xmm0
mov dword [ebp - 0x3f0], 0
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4033e0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x404]
call fcn.00405800
push 0
push 0
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x404]
mov ecx, dword [ebp - 0x3f4]
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
inc ecx
cmp dword [ebp - 0x3f0], 8
push 0
cmovae eax, dword [ebp - 0x404]
push 0
push ecx
push eax
push 0
push 0
mov dword [ebp - 0x3ec], ecx
call edi
mov esi, eax
push esi
call fcn.00407008
add esp, 4
mov dword [ebp - 0x3e8], eax
cmp dword [ebp - 0x3f0], 8
lea ecx, [ebp - 0x404]
cmovae ecx, dword [ebp - 0x404]
push 0
push 0
push esi
mov esi, eax
push esi
push dword [ebp - 0x3ec]
push ecx
push 0
push 0
call edi
mov ecx, esi
mov dword [ebp - 0x410], 0
xorps xmm0, xmm0
mov dword [ebp - 0x40c], 0
movups xmmword [ebp - 0x420], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403494
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x420]
call fcn.00405a20
mov edi, dword [ebp - 0x3e4]
or edi, 0x80000
push esi
mov dword [ebp - 0x3e4], edi
call fcn.00406fc0
mov ecx, dword [ebp - 0x21c]
add esp, 4
cmp ecx, 0x10
jb 0x4034fb
mov edx, dword [ebp - 0x230]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4034f1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40354f
push ecx
push edx
call fcn.00406ffa
add esp, 8
movups xmm0, xmmword [ebp - 0x420]
movups xmmword [ebp - 0x230], xmm0
movq xmm0, qword [ebp - 0x410]
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x3f0]
movq qword [ebp - 0x220], xmm0
cmp ecx, 8
jb 0x40355f
mov edx, dword [ebp - 0x404]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403555
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403555
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00406ffa
add esp, 8
push 0xb0
lea eax, [ebp - 0x36c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x36c], 0x4098bc
cmp dword [ebp - 0x24c], 8
lea esi, [ebp - 0x260]
lea ecx, [ebp - 0x304]
cmovae esi, dword [ebp - 0x260]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea eax, [ebp - 0x368]
mov byte [ebp - 4], 0x11
or edi, 0x100000
lea ecx, [ebp - 0x36c]
push eax
mov dword [ebp - 0x3e4], edi
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov dword [ebp - 4], 0x12
mov eax, dword [ebp - 0x36c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x36c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x370], eax
lea ecx, [ebp - 0x368]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
lea ecx, [ebp - 0x368]
mov dword [ebp - method.std::basic_filebuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [ebp - 0x320], 0
mov byte [ebp - 0x32b], 0
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void_]
mov eax, dword [0x40d710]
mov ecx, dword [0x40d714]
mov dword [ebp - 0x31c], 0
mov dword [ebp - 0x328], eax
mov dword [ebp - 0x324], ecx
mov dword [ebp - 0x330], 0
push ecx
push 0x12
push esi
lea ecx, [ebp - 0x368]
mov byte [ebp - 4], 0x13
call fcn.004060c0
test eax, eax
jne 0x40367f
mov eax, dword [ebp - 0x36c]
lea ecx, [ebp - 0x36c]
push 0
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
mov eax, dword [ebp - 0x36c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x36c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x370], eax
mov byte [ebp - 4], 0x14
lea edx, [ebp - 0x230]
cmp dword [ebp - 0x21c], 0x10
lea ecx, [ebp - 0x36c]
push dword [ebp - 0x220]
cmovae edx, dword [ebp - 0x230]
call fcn.00406440
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push str._DEBUG__Line:__s_n
call fcn.00401020
mov byte [ebp - 4], 0xa
add esp, 0xc
mov eax, dword [ebp - 0x36c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x36c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x370], eax
lea ecx, [ebp - 0x368]
call fcn.00404a70
lea ecx, [ebp - 0x364]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x304]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
jmp 0x403751
push str._ERROR__Failed_to_select_osu_.exe__n
jmp 0x4031dc
mov edi, dword [ebp - 0x3e4]
cmp dword [ebp - 0x220], 0
je 0x40379e
mov byte [ebp - 0x3e8], 0
lea edx, [ebp - 0x230]
push dword [ebp - 0x3e8]
lea ecx, [ebp - 0x450]
call fcn.00406410
add esp, 4
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x450]
or edi, 2
mov dword [ebp - 0x3e4], edi
call fcn.004027e0
mov byte [ebp - 0x3dd], 0
test al, al
jne 0x4037a5
mov byte [ebp - 0x3dd], 1
mov dword [ebp - 4], 0xa
mov eax, dword [ebp - 0x3e4]
test al, 2
je 0x403801
mov ecx, dword [ebp - 0x43c]
and eax, 0xfffffffd
mov dword [ebp - 0x3e4], eax
cmp ecx, 8
jb 0x403801
mov edx, dword [ebp - 0x450]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4037f7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4037f7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00406ffa
add esp, 8
cmp byte [ebp - 0x3dd], 0
je 0x403814
push str._ERROR__Cannot_find_osu_.exe__n
jmp 0x4031dc
mov byte [ebp - 0x3e8], 0
lea edx, [ebp - 0x230]
push dword [ebp - 0x3e8]
lea ecx, [ebp - 0x248]
call fcn.00406410
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 0x16
push eax
lea ecx, [ebp - 0x248]
call fcn.00405120
mov edi, dword [ebp - 0x3e4]
lea eax, [ebp - 0x420]
or edi, 0x2000
cmp dword [ebp - 0x40c], 0x10
mov dword [ebp - 0x3e4], edi
cmovae eax, dword [ebp - 0x420]
push eax
push str._INFO__osu__path:__s_n
call fcn.00401020
mov ecx, dword [ebp - 0x40c]
add esp, 8
cmp ecx, 0x10
jb 0x4038b8
mov edx, dword [ebp - 0x420]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4038ae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4038ae
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00406ffa
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x2bc], 0x44
lea eax, [ebp - 0x450]
movlpd qword [ebp - 0x2b8], xmm0
push eax
lea ecx, [ebp - 0x248]
movlpd qword [ebp - 0x2b0], xmm0
movlpd qword [ebp - 0x2a8], xmm0
movlpd qword [ebp - 0x2a0], xmm0
movlpd qword [ebp - 0x298], xmm0
movlpd qword [ebp - 0x290], xmm0
movlpd qword [ebp - 0x288], xmm0
movlpd qword [ebp - 0x280], xmm0
movups xmmword [ebp - 0x384], xmm0
call fcn.00401cd0
mov dword [ebp - 0x3e8], eax
mov byte [ebp - 4], 0x17
cmp dword [eax + 0x14], 8
jb 0x403936
mov eax, dword [eax]
mov dword [ebp - 0x3e8], eax
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x468]
call fcn.00404b50
or edi, 0x800
mov dword [ebp - 0x3e4], edi
mov byte [ebp - 4], 0x18
mov esi, dword [ebp - 0x454]
mov eax, esi
mov ecx, dword [ebp - 0x458]
sub eax, ecx
mov dword [ebp - 0x408], ecx
cmp eax, 0xd
jb 0x403a2b
cmp esi, 8
lea edx, [ebp - 0x468]
lea eax, [ecx + 0xd]
cmovae edx, dword [ebp - 0x468]
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x3ec], edx
cmp edx, 0x4097d6
jae 0x4039c0
lea eax, [edx + ecx*2]
cmp eax, str.explorer.exe
jb 0x4039c0
cmp edx, str.explorer.exe
ja 0x4039b4
xor esi, esi
jmp 0x4039c5
mov esi, edx
sub esi, str.explorer.exe
sar esi, 1
jmp 0x4039c5
mov esi, 0xd
mov eax, dword [ebp - 0x408]
lea ecx, [edx + 0x1a]
mov dword [ebp - 0x3e4], esi
lea eax, [eax*2 + 2]
push eax
push edx
push ecx
call sub.VCRUNTIME140.dll_memmove
add esi, esi
push esi
push str.explorer.exe
push dword [ebp - 0x3ec]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x3e4]
mov ecx, dword [ebp - 0x3ec]
add ecx, esi
lea edx, [eax*2 + 0x4097d6]
mov eax, 0xd
sub eax, dword [ebp - 0x3e4]
add eax, eax
push eax
push edx
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0x24
lea eax, [ebp - 0x468]
jmp 0x403a43
push 0xd
sub esp, 8
lea ecx, [ebp - 0x468]
push dword [ebp - 0x408]
push 0xd
call fcn.00406630
mov dword [ebp - 0x3f4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x404], xmm0
mov dword [ebp - 0x3f0], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
or edi, 0x1000
mov dword [ebp - 0x3e4], edi
movups xmmword [ebp - 0x404], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x3f4], xmm0
mov word [eax], cx
lea ecx, [ebp - 0x384]
push ecx
lea ecx, [ebp - 0x2bc]
mov dword [eax + 0x10], 0
push ecx
push dword [ebp - 0x3e8]
mov dword [eax + 0x14], 7
lea eax, [ebp - 0x404]
cmp dword [ebp - 0x3f0], 8
push 0
cmovae eax, dword [ebp - 0x404]
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [ebp - 0x3f0]
test eax, eax
sete byte [ebp - 0x3dd]
cmp ecx, 8
jb 0x403b1b
mov edx, dword [ebp - 0x404]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403b11
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403bcb
push ecx
push edx
call fcn.00406ffa
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x454]
mov dword [ebp - 0x3f4], 0
mov dword [ebp - 0x3f0], 7
mov word [ebp - 0x404], ax
cmp ecx, 8
jb 0x403b78
mov edx, dword [ebp - 0x468]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403b6e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403bcb
push ecx
push edx
call fcn.00406ffa
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x43c]
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 7
mov word [ebp - 0x468], ax
cmp ecx, 8
jb 0x403bdb
mov edx, dword [ebp - 0x450]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403bd1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403bd1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00406ffa
add esp, 8
cmp byte [ebp - 0x3dd], 0
je 0x403bfd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._ERROR__Failed_to_start_osu___error_code:__d_n
call fcn.00401020
add esp, 8
jmp 0x4031e4
push str._INFO__Waiting_for_explorer..._n
call fcn.00401020
add esp, 4
push 0xffffffffffffffff
push dword [ebp - 0x384]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call fcn.00402c00
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
test eax, eax
jne 0x403c37
push 0x3e8
call edi
call fcn.00402c00
test eax, eax
je 0x403c27
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x403c5f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._ERROR__Failed_to_open_process__error_code:__d_n
call fcn.00401020
add esp, 8
push ecx
lea eax, [ebp - 0x438]
push eax
lea ecx, [ebp - 0x278]
call fcn.00405120
cmp dword [ebp - 0x424], 0x10
lea edx, [ebp - 0x438]
mov ecx, esi
cmovae edx, dword [ebp - 0x438]
call fcn.00402ab0
mov ecx, dword [ebp - 0x424]
mov byte [ebp - 0x3dd], al
cmp ecx, 0x10
jb 0x403cd5
mov edx, dword [ebp - 0x438]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403cc5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403cc5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00406ffa
mov al, byte [ebp - 0x3dd]
add esp, 8
test al, al
je 0x403ce6
push str._INFO__Dll_injected_successfully_n
call fcn.00401020
add esp, 4
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x384]
call esi
push dword [ebp - 0x380]
call esi
mov ecx, dword [ebp - 0x234]
cmp ecx, 8
jb 0x403d3f
mov edx, dword [ebp - 0x248]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403d35
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403deb
push ecx
push edx
call fcn.00406ffa
add esp, 8
mov ecx, dword [ebp - 0x21c]
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
cmp ecx, 0x10
jb 0x403d92
mov edx, dword [ebp - 0x230]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403d88
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403deb
push ecx
push edx
call fcn.00406ffa
add esp, 8
mov ecx, dword [ebp - 0x24c]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
cmp ecx, 8
jb 0x403efe
mov edx, dword [ebp - 0x260]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403ef4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403ef4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push str._INFO__Waiting_for_osu__to_start..._n
call fcn.00401020
add esp, 4
call fcn.00402c00
mov esi, eax
test esi, esi
jne 0x403e22
nop dword [eax]
push 0x3e8
call edi
call fcn.00402c00
mov esi, eax
test esi, esi
je 0x403e10
push esi
push str._INFO__osu__found__pid:__d_n
call fcn.00401020
add esp, 8
push esi
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x403e58
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._ERROR__Failed_to_open_process__error_code:__d_n
call fcn.00401020
add esp, 8
push str._INFO__Injecting_dll..._n
call fcn.00401020
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x278]
call fcn.00405120
cmp dword [ebp - 0x234], 0x10
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
push str._INFO__DLL_path:__s_n
call fcn.00401020
add esp, 8
lea edx, [ebp - 0x248]
cmp dword [ebp - 0x234], 0x10
mov ecx, esi
cmovae edx, dword [ebp - 0x248]
call fcn.00402ab0
test al, al
je 0x403ec2
push str._INFO__Dll_injected_successfully_n
call fcn.00401020
add esp, 4
mov ecx, dword [ebp - 0x234]
cmp ecx, 0x10
jb 0x403efe
mov edx, dword [ebp - 0x248]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403ef4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403ef4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00406ffa
add esp, 8
push 0xbb8
call edi
mov ecx, dword [ebp - 0x264]
cmp ecx, 8
jb 0x403f47
mov edx, dword [ebp - 0x278]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403f3d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403f3d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00406ffa
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00406fb2
mov esp, ebp
pop ebp
ret
mov edx, eax
call fcn.00402640
mov edx, eax
call fcn.00402640
int3