Function at 0x4026b0
Capabilities:
Create process on windows
Enumerate process modules

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4089e0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x4f0
mov eax, dword [0x42a040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x74]
call fcn.004023c0
lea eax, [ebp - 0x74]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404900
add esp, 4
push str.dataInjector.exe____process_name_StarCraft.exe___inject__.eudplib_debug.dll
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.00404a10
add esp, 4
push 0x426640
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.00404a10
add esp, 4
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x48]
cmp ecx, 7
jbe 0x402775
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40276b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4027b9
push ecx
push edx
call fcn.00407954
add esp, 8
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x4027c9
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4027bf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4027bf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00407954
add esp, 8
xor eax, eax
xor esi, esi
xor edi, edi
mov dword [ebp - 0x4b4], eax
mov dword [ebp - 0x4b0], esi
mov dword [ebp - 0x4ac], edi
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x5c]
push 0xd
xorps xmm0, xmm0
mov dword [ebp - 0x4c], edi
push str.StarCraft.exe
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x48], edi
call fcn.00405370
lea edx, [ebp - 0x5c]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x20]
call fcn.00406fc0
mov ecx, eax
lea eax, [ebp - 0x4b4]
cmp eax, ecx
je 0x40284a
mov eax, dword [ecx]
mov esi, dword [ecx + 4]
mov edi, dword [ecx + 8]
mov dword [ebp - 0x4b4], eax
mov dword [ebp - 0x4b0], esi
mov dword [ebp - 0x4ac], edi
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x402899
mov eax, dword [ebp - 0x18]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x40287a
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4028c9
push edx
push ecx
call fcn.00407954
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x48]
cmp ecx, 7
jbe 0x4028d9
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4028cf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4028cf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00407954
add esp, 8
mov eax, dword [ebp - 0x4b4]
sub esi, eax
sar esi, 2
test esi, esi
jne 0x402901
push 0x20001
push esi
push str.data_buzz.wav
call dword [sym.imp.WINMM.dll_PlaySoundW]
or esi, 0xffffffff
jmp 0x402c71
cmp esi, 1
jbe 0x402922
push 0x20001
push 0
push str.data_buzz.wav
call dword [sym.imp.WINMM.dll_PlaySoundW]
mov esi, 0xfffffffe
jmp 0x402c71
mov esi, dword [eax]
mov edx, str.StarCraft_Process_ID:
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov dword [ebp - 0x4a8], esi
call fcn.004046a0
push esi
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int_]
push 0x4048d0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov edx, 0x426754
call fcn.004046a0
cmp dword [ebp - 0x30], 7
lea edx, [ebp - 0x44]
push dword [ebp - 0x34]
cmova edx, dword [ebp - 0x44]
mov ecx, eax
call fcn.00405a80
add esp, 4
mov edx, 0x426750
mov ecx, eax
call fcn.00404ae0
push 0x11
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push str.eudplib_debug.dll
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
call fcn.00405370
push esi
push 0x18
mov byte [ebp - 4], 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4029db
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Failed_to_create_snapshot.
call fcn.00404480
push 0x404dc0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
jmp 0x402a3a
lea eax, [ebp - 0x4a0]
mov dword [ebp - 0x4a0], 0x428
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x402a32
nop word [eax + eax]
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x480]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x402a77
lea eax, [ebp - 0x4a0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x402a00
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call eax
mov byte [ebp - 0x4a1], 0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x402a92
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402a88
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402a88
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call eax
mov byte [ebp - 0x4a1], 1
jmp 0x402a41
push ecx
push edx
call fcn.00407954
add esp, 8
cmp byte [ebp - 0x4a1], 0
je 0x402ab7
push 0x20001
push 0
push str.data_buzz.wav
call dword [sym.imp.WINMM.dll_PlaySoundW]
mov esi, 0xfffffffc
jmp 0x402c71
push dword [ebp - 0x4a8]
push 0
push 0x438
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x4a8], eax
test eax, eax
jne 0x402b02
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Failed_to_open_process._Error:
call fcn.00404480
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
push 0x404dc0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, dword [ebp - 0x4a8]
mov dword [0x42a784], eax
call fcn.00405df0
mov ecx, dword [0x42a784]
test ecx, ecx
je 0x402b85
mov eax, dword [0x42a788]
test eax, eax
je 0x402b85
lea edx, [ebp - 0x4a8]
add eax, 0xbd069c
push edx
push 2
lea edx, [ebp - 0x4b8]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x402b4f
cmp dword [ebp - 0x4a8], 2
je 0x402b7d
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Failed_to_read_memory._Error:
call fcn.00404480
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
push 0x404dc0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, dword [ebp - 0x4b8]
jmp 0x402b87
xor eax, eax
cmp ax, 1
jbe 0x402c5a
push 0x40
lea eax, [ebp - 0x4fc]
mov dword [ebp - 0x500], 0x44
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x24]
cmp dword [ebp - 0x30], 7
lea eax, [ebp - 0x44]
cmova eax, dword [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x500]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x402c13
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.runned_n
call fcn.00404480
push 0x20001
push 0
push str.data_bnetclick.wav
call dword [sym.imp.WINMM.dll_PlaySoundW]
push dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x24]
call esi
xor esi, esi
jmp 0x402c71
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov edx, str.Failed_to_run_the_injector._Error_code:
call fcn.004046a0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int_]
push 0x4048d0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
push 0x20001
push 0
push str.data_buzz.wav
call dword [sym.imp.WINMM.dll_PlaySoundW]
mov esi, 0xfffffffd
jmp 0x402c71
push 0x20001
push 0
push str.data_buzz.wav
call dword [sym.imp.WINMM.dll_PlaySoundW]
mov esi, 0xfffffffb
mov ecx, dword [ebp - 0x4b4]
test ecx, ecx
je 0x402ca8
sub edi, ecx
mov eax, ecx
and edi, 0xfffffffc
cmp edi, 0x1000
jb 0x402c9e
mov ecx, dword [eax - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402d1e
push edi
push ecx
call fcn.00407954
add esp, 8
mov ecx, dword [ebp - 0x30]
cmp ecx, 7
jbe 0x402cde
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402cd4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402d1e
push ecx
push edx
call fcn.00407954
add esp, 8
mov ecx, dword [ebp - 0x60]
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
cmp ecx, 7
jbe 0x402d2e
mov edx, dword [ebp - 0x74]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402d24
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402d24
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00407954
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004076c0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret