Function at 0x402190
Capabilities:
Create thread
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4067f7
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x40b040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 4
call fcn.004055d2
mov dword [ebp - 0x22c], eax
mov dword [eax], 0x401410
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x4054a0
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x1c
mov dword [ebp - 0x234], eax
test eax, eax
je 0x40280a
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x298]
mov byte [ebp - 4], 2
call fcn.00401880
mov edi, eax
mov byte [ebp - 4], 3
mov esi, dword [edi + 0x14]
mov eax, esi
mov ecx, dword [edi + 0x10]
sub eax, ecx
mov dword [ebp - 0x260], ecx
cmp eax, 0x12
jb 0x4022e0
mov dword [ebp - 0x258], edi
lea eax, [ecx + 0x12]
mov dword [edi + 0x10], eax
mov edx, edi
cmp esi, 7
jbe 0x402255
mov edx, dword [edi]
mov dword [ebp - 0x258], edx
cmp edx, 0x407684
jae 0x40227f
lea eax, [edx + ecx*2]
cmp eax, str.COPY_YOUR_HWID___
jb 0x40227f
cmp edx, str.COPY_YOUR_HWID___
ja 0x402273
xor esi, esi
jmp 0x402284
mov esi, edx
sub esi, str.COPY_YOUR_HWID___
sar esi, 1
jmp 0x402284
mov esi, 0x12
mov eax, dword [ebp - 0x260]
lea ecx, [edx + 0x24]
mov dword [ebp - 0x25c], esi
lea eax, [eax*2 + 2]
push eax
push edx
push ecx
call sub.VCRUNTIME140.dll_memmove
add esi, esi
push esi
push str.COPY_YOUR_HWID___
push dword [ebp - 0x258]
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [ebp - 0x25c]
mov eax, 0x12
mov ecx, dword [ebp - 0x258]
sub eax, edx
add eax, eax
add ecx, esi
push eax
lea eax, [edx*2 + 0x407684]
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0x24
jmp 0x4022fd
push 0x12
sub esp, 8
mov byte [ebp - 0x260], 0
mov ecx, edi
push dword [ebp - 0x260]
push 0x12
call fcn.00405310
mov edi, eax
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0x27c], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x26c], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov byte [ebp - 4], 4
call fcn.00401810
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x268]
cmp ecx, 7
jbe 0x402370
mov edx, dword [ebp - 0x27c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402366
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4023a6
push ecx
push edx
call fcn.00405717
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x284]
cmp ecx, 7
jbe 0x4023b6
mov edx, dword [ebp - 0x298]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4023ac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4023ac
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00405717
add esp, 8
lea eax, [ebp - 0x250]
mov dword [ebp - 0x250], 0x101
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x40275b
mov dword [ebp - 0x254], str.C:Users_USERNAME_DesktopBOBO_SECU_RAN_ASIALUAP_TANGA.dll
lea eax, [ebp - 0x228]
mov dword [ebp - 0x228], str.MiniA.exe
mov dword [ebp - 0x224], str.GameClient.exe
mov dword [ebp - 0x220], str.Game.exe
mov dword [ebp - 0x21c], str.Amazon.exe
lea edx, [ebp - 0x218]
mov dword [ebp - 0x258], eax
cmp eax, edx
je 0x402750
mov edi, dword [eax]
xor esi, esi
nop dword [eax]
test esi, esi
jne 0x40244a
mov ecx, edi
call fcn.00401b40
push 0x1f4
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x402430
push 2
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov edx, str.Found
call fcn.00404130
mov edx, edi
mov ecx, eax
call fcn.00404130
mov edx, str.__PID:
mov ecx, eax
call fcn.00404130
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_]
mov edx, str._._Injecting_DLL...
mov ecx, eax
call fcn.00404130
push 0x404540
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 esi
push 0
push 0x43a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x22c], esi
test esi, esi
je 0x40271c
cmp esi, 0xffffffff
je 0x40271c
call fcn.00401fa0
lea eax, [ebp - 0x254]
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x25c], eax
cmp eax, ecx
je 0x402707
mov edx, dword [eax]
xorps xmm0, xmm0
mov ecx, edx
mov dword [ebp - 0x23c], 0
movups xmmword [ebp - 0x24c], xmm0
mov dword [ebp - 0x238], 0
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402510
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x24c]
call fcn.004049e0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24c]
cmp dword [ebp - 0x238], 7
mov eax, dword [ebp - 0x23c]
cmova ecx, dword [ebp - 0x24c]
mov dword [ebp - 0x264], ecx
cmp eax, 0xa
jb 0x402582
add eax, 0xfffffff7
lea edx, [ecx + eax*2]
mov eax, ecx
mov dword [ebp - 0x260], edx
mov ecx, edx
sub ecx, eax
sar ecx, 1
je 0x402582
nop dword [eax + eax]
cmp word [eax], 0x25
je 0x4026ad
add eax, 2
sub ecx, 1
jne 0x402570
or edi, 0xffffffff
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402590
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
push ecx
push edi
lea ecx, [ebp - 0x24c]
call fcn.00403da0
xorps xmm0, xmm0
mov dword [ebp - 0x26c], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x268], 0
movups xmmword [ebp - 0x27c], xmm0
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4025e0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x27c]
call fcn.004049e0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x27c]
cmp dword [ebp - 0x238], 7
lea edx, [ebp - 0x24c]
mov esi, dword [ebp - 0x22c]
mov ecx, esi
cmova edx, dword [ebp - 0x24c]
push eax
call fcn.00401d70
mov byte [ebp - 4], 5
add esp, 4
mov ecx, dword [ebp - 0x268]
cmp ecx, 7
jbe 0x402671
mov edx, dword [ebp - 0x27c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402667
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4026a7
push ecx
push edx
call fcn.00405717
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x238]
cmp ecx, 7
jbe 0x4026f9
mov edx, dword [ebp - 0x24c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4026ef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4026ef
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
test eax, eax
je 0x402582
mov esi, 0xa
mov edx, str._USERNAME_
mov edi, eax
mov cx, word [eax]
cmp cx, word [edx]
jne 0x4026e1
add eax, 2
add edx, 2
sub esi, 1
jne 0x4026c1
sub edi, dword [ebp - 0x264]
sar edi, 1
jmp 0x402585
mov edx, dword [ebp - 0x260]
lea eax, [edi + 2]
jmp 0x402563
push ecx
push edx
call fcn.00405717
add esp, 8
mov eax, dword [ebp - 0x25c]
add eax, 4
jmp 0x4024d4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x258]
add eax, 4
jmp 0x402414
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_open_process
call fcn.00404130
mov edx, edi
mov ecx, eax
call fcn.00404130
push 0x404540
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 eax, dword [ebp - 0x258]
add eax, 4
jmp 0x402414
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x230], 0
jne 0x40276c
push 1
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
call dword [sym.imp.MSVCP140.dll__Thrd_id]
mov ecx, dword [ebp - 0x230]
cmp ecx, eax
jne 0x402784
push 5
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 0
push ecx
push dword [ebp - 0x234]
call dword [sym.imp.MSVCP140.dll__Thrd_join]
add esp, 0xc
test eax, eax
je 0x4027ec
push 2
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov ecx, dword [ebp - 0x280]
push 0x404790
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Error:
mov esi, eax
call fcn.00404570
mov edx, esi
mov ecx, eax
call fcn.00404570
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, 0x4027dd
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004055c4
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x230], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3