Function at 0x407df0
Capabilities:
Check http status code
Check mutex and terminate process on windows
Check mutex on windows
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ac25
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x438080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
push str.RGameLauncher
push 1
push 0
mov dword [ebp - 0x3fc], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
mov dword [ebp - 0x400], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x407ead
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Vui_long_tat_launcher_cu_truoc_da.
call fcn.0040f4e0
push 0x40f700
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_____]
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
dec eax
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x408c67
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
mov esi, dword [ebp - 0x400]
jmp 0x408c73
lea ecx, [ebp - 0xa0]
call fcn.00403a00
mov dword [ebp - 4], 0
mov edx, str.Thu_muc_hien_tai:
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.0040f4e0
lea edx, [ebp - 0xa0]
mov ecx, eax
call fcn.0040fac0
push 0x40f700
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_____]
lea ecx, [ebp - 0xa0]
call fcn.00407cc0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test al, al
je 0x407f05
mov edx, str.Vui_long_dat_launcher_o_thu_muc_khong_chua_ky_tu_dac_biet__A_Z_
jmp 0x407f30
mov edx, str.Kiem_tra_quyen_han_...
call fcn.0040f4e0
push 0x40f700
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_____]
call fcn.00405280
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test al, al
jne 0x407f4d
mov edx, str.Vui_long_chay_launcher_bang_quyen_admin_____Chuot_phai_vao_launcher_chon_Run_as_Administrator__
call fcn.0040f4e0
push 0x40f700
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_____]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
jmp 0x40842c
mov edx, str.Phien_ban_hien_tai:
call fcn.0040f4e0
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push str.1.0.1.3
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0
mov esi, eax
movups xmmword [ebp - 0x40], xmm0
call fcn.00410940
mov byte [ebp - 4], 1
lea edx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0xf
mov ecx, esi
push dword [ebp - 0x30]
cmova edx, dword [ebp - 0x40]
call fcn.00416730
add esp, 4
mov ecx, eax
push 0x40f700
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 byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x407fe0
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407fd6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x407fd6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004294df
add esp, 8
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Kiem_tra_phien_ban_moi_...
call fcn.0040f4e0
push 0x40f700
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_____]
push 0xe0
lea eax, [ebp - 0x3f4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov edx, dword [0x439138]
mov eax, 0x7fffffff
mov esi, dword [0x439180]
sub eax, edx
add esp, 0xc
cmp eax, esi
jb 0x408c93
cmp dword [0x43913c], 0xf
mov ecx, 0x439128
push esi
cmova ecx, dword [0x439128]
mov eax, 0x439170
cmp dword [0x439184], 0xf
cmova eax, dword [0x439170]
push eax
push edx
push ecx
push ecx
push dword [ebp - 0x314]
lea ecx, [ebp - 0x41c]
call fcn.00413150
lea eax, [ebp - 0x404]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x41c]
push eax
push ecx
lea ecx, [ebp - 0x438]
call fcn.00401f70
mov esi, eax
push 0x1c0
lea eax, [ebp - 0x310]
mov byte [ebp - 4], 3
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x310]
call dword [sym.imp.cpr.dll_public:_void___thiscall_cpr::Session::constructor_void_]
push esi
lea ecx, [ebp - 0x310]
mov byte [ebp - 4], 4
call dword [sym.imp.cpr.dll_public:_void___thiscall_cpr::Session::SetOption_class_cpr::Url_const__]
lea eax, [ebp - 0x3f4]
push eax
lea ecx, [ebp - 0x310]
call dword [sym.imp.cpr.dll_public:_class_cpr::Response___thiscall_cpr::Session::Get_void_]
mov eax, 6
lea ecx, [ebp - 0x310]
mov dword [ebp - 0x3fc], eax
call fcn.00411d10
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x420]
cmp ecx, 0xf
jbe 0x408129
mov edx, dword [ebp - 0x434]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40811f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40811f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004294df
add esp, 8
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x420], 0xf
mov byte [ebp - 0x434], 0
push fcn.0040c380
push 1
push 0x18
lea eax, [ebp - 0x41c]
mov byte [ebp - 4], 7
push eax
call fcn.00429179
cmp dword [ebp - 0x3ec], 0xc8
je 0x40819f
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Khong_the_lay_thong_tin_phien_ban_cua_launcher
call fcn.0040f4e0
push dword [ebp - 0x3ec]
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___long_int_]
push 0x40f700
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_____]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
jmp 0x408421
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Phien_ban_moi:
call fcn.0040f4e0
cmp dword [ebp - 0x3d4], 0xf
lea edx, [ebp - 0x3e8]
push dword [ebp - 0x3d8]
cmova edx, dword [ebp - 0x3e8]
mov ecx, eax
call fcn.00416730
add esp, 4
mov ecx, eax
push 0x40f700
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_____]
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push str.1.0.1.3
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
call fcn.00410940
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x3e8]
call fcn.00406000
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 0x3f5], al
cmp ecx, 0xf
jbe 0x40825c
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40824c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40824c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004294df
mov al, byte [ebp - 0x3f5]
add esp, 8
test al, al
je 0x408475
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push 0x42ef2c
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
call fcn.00410940
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x40]
push 0x45
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push str.Phien_ban_hien_tai_da_cu__ban_co_muon_tai_phien_ban_moi_khong__Y_N___
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
call fcn.00410940
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xa
push eax
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x88]
call fcn.00405970
mov ecx, dword [ebp - 0x2c]
add esp, 4
cmp ecx, 0xf
jbe 0x4082f9
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4082ef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408331
push ecx
push edx
call fcn.004294df
add esp, 8
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp ecx, 0xf
jbe 0x408341
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408337
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x408337
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004294df
add esp, 8
cmp dword [ebp - 0x74], 0xf
lea ecx, [ebp - 0x88]
mov edi, dword [ebp - 0x88]
mov esi, dword [ebp - 0x78]
cmova ecx, edi
push 1
push 0x42ef2c
mov edx, esi
call fcn.00419870
add esp, 8
test al, al
jne 0x4083d8
cmp dword [ebp - 0x74], 0xf
lea ecx, [ebp - 0x88]
cmova ecx, edi
cmp esi, 1
jne 0x4083f0
mov edx, 0x42ef78
sub esi, 4
jb 0x408399
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40839e
add ecx, 4
add edx, 4
sub esi, 4
jae 0x408388
cmp esi, 0xfffffffc
je 0x4083d2
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4083cb
cmp esi, 0xfffffffd
je 0x4083d2
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4083cb
cmp esi, 0xfffffffe
je 0x4083d2
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x4083cb
cmp esi, 0xffffffff
je 0x4083d2
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x4083d2
sbb eax, eax
or eax, 1
jmp 0x4083d4
xor eax, eax
test eax, eax
jne 0x4083f0
push 1
push 0
push 0
push str..updater.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [ebp - 0x74]
cmp ecx, 0xf
jbe 0x408421
inc ecx
mov eax, edi
cmp ecx, 0x1000
jb 0x408417
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408c55
push ecx
push edi
call fcn.004294df
add esp, 8
lea ecx, [ebp - 0x3f4]
call fcn.00407a00
mov ecx, dword [ebp - 0x8c]
cmp ecx, 7
jbe 0x408c76
mov edx, dword [ebp - 0xa0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408466
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408c55
push ecx
push edx
call fcn.004294df
add esp, 8
jmp 0x408c76
call fcn.00405010
test al, al
jne 0x408c0b
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Thu_muc_GTA_SAMP:
call fcn.0040f4e0
cmp dword [0x439104], 0xf
mov edx, 0x4390f0
push dword [0x439100]
cmova edx, dword [0x4390f0]
mov ecx, eax
call fcn.00416730
add esp, 4
mov ecx, eax
push 0x40f700
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_____]
cmp dword [ebp + 8], 1
jle 0x408531
mov edx, dword [edi + 4]
xorps xmm0, xmm0
mov ecx, edx
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4084e5
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00410940
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
mov esi, dword [ebp - 0x28]
cmp edi, 0xf
mov edx, dword [ebp - 0x18]
mov eax, 7
push 5
cmova ecx, esi
mov dword [ebp - 0x3fc], eax
push str.hello
call fcn.004107a0
add esp, 8
test eax, eax
jne 0x408537
mov byte [ebp - 0x3f5], 1
jmp 0x40853e
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x28]
mov byte [ebp - 0x3f5], 0
mov eax, dword [ebp - 0x3fc]
test al, 1
je 0x408581
and eax, 0xfffffffe
mov dword [ebp - 0x3fc], eax
cmp edi, 0xf
jbe 0x408581
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x408577
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408bfb
push ecx
push esi
call fcn.004294df
add esp, 8
cmp byte [ebp - 0x3f5], 0
je 0x408850
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
movq qword [ebp - 0x4c], xmm0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
lea edx, [ebp - 0x4c]
mov byte [ebp - 4], 0xb
call fcn.00406280
xorps xmm0, xmm0
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x4c]
movq qword [ebp - 0x18], xmm0
lea ecx, [ebp - 0x20]
call fcn.004202c0
push 0xb0
lea eax, [ebp - 0x150]
mov byte [ebp - 4], 0xc
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x150], 0x430ba4
lea ecx, [ebp - 0xe8]
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 - 0x14c]
mov byte [ebp - 4], 0xd
or dword [ebp - 0x3fc], 8
lea ecx, [ebp - 0x150]
push eax
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], 0xe
mov eax, dword [ebp - 0x150]
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 - 0x150]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x154], eax
lea ecx, [ebp - 0x14c]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
lea ecx, [ebp - 0x14c]
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 - 0x104], 0
mov byte [ebp - 0x10f], 0
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void_]
mov eax, dword [0x4390dc]
mov ecx, dword [0x4390e0]
mov dword [ebp - 0x100], 0
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0x114], 0
push ecx
push 2
push str.doyouloveme.json
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 0xf
call fcn.0040dec0
test eax, eax
jne 0x4086e4
mov eax, dword [ebp - 0x150]
lea ecx, [ebp - 0x150]
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_]
sub esp, 0x10
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x450]
lea ecx, [ebp - 0x20]
push eax
call fcn.0040a500
mov byte [ebp - 4], 0x11
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x408709
mov eax, dword [eax]
push ecx
mov edx, eax
lea ecx, [ebp - 0x150]
call fcn.00416730
add esp, 4
mov ecx, eax
push 0x40f700
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 byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x43c]
cmp ecx, 0xf
jbe 0x408767
mov edx, dword [ebp - 0x450]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40875d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40875d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004294df
add esp, 8
lea ecx, [ebp - 0x14c]
call fcn.0040de30
test eax, eax
jne 0x40878f
mov eax, dword [ebp - 0x150]
lea ecx, [ebp - 0x150]
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 - 0x150]
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 - 0x150]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x154], eax
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x100], 0
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
je 0x4087fd
mov eax, dword [ebp - 0x140]
lea ecx, [ebp - 0x110]
cmp dword [eax], ecx
jne 0x4087fd
mov edx, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0xfc]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebp - 0x130]
mov dword [eax], ecx
mov eax, dword [ebp - 0x120]
mov dword [eax], edx
cmp byte [ebp - 0x104], 0
je 0x408811
lea ecx, [ebp - 0x14c]
call fcn.0040de30
lea ecx, [ebp - 0x14c]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x148]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0xe8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x18]
push dword [ebp - 0x20]
call fcn.0040d730
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 7
call fcn.0040dcf0
lea eax, [ebp - 0x314]
push eax
push 1
push 0
push str.SoftwareSAMP
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edx, dword [ebp - 0x314]
lea ecx, [ebp - 0x70]
sub esp, 8
call fcn.00404e30
add esp, 8
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x70]
cmp dword [ebp - 0x5c], 0xf
mov esi, dword [ebp - 0x60]
cmova ecx, dword [ebp - 0x70]
test esi, esi
jne 0x4088ff
mov edx, 0x42e985
sub esi, 4
jb 0x4088b1
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4088b6
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4088a0
cmp esi, 0xfffffffc
je 0x4088ea
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4088e3
cmp esi, 0xfffffffd
je 0x4088ea
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4088e3
cmp esi, 0xfffffffe
je 0x4088ea
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x4088e3
cmp esi, 0xffffffff
je 0x4088ea
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x4088ea
sbb eax, eax
or eax, 1
jmp 0x4088ec
xor eax, eax
test eax, eax
jne 0x4088ff
push 6
push str.Ten_Ho
lea ecx, [ebp - 0x70]
call fcn.0040e180
push 0x19
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
push str.Nhap_ten_nhan_vat_cua_ban
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
call fcn.00410940
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x15
push eax
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x40]
call fcn.00405970
add esp, 4
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x408973
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408969
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x408969
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004294df
add esp, 8
cmp dword [ebp - 0x30], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
je 0x408a87
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x20]
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x404], eax
push 1
mov byte [ebp - 4], 0x18
call dword [sym.imp.MSVCP140.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Init_bool_]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x19
call fcn.00411950
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040ef60
mov dword [ebp - 0x1c], eax
add esp, 4
mov byte [ebp - 4], 0x1a
push 0x42eb83
push ecx
lea ecx, [ebp - 0x24]
call fcn.0040fb70
mov byte [ebp - 4], 0x1b
lea edx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0xf
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 0x30]
cmova edx, dword [ebp - 0x40]
cmova ecx, dword [ebp - 0x40]
push ecx
push 0x10
lea edx, [edx + eax]
lea eax, [ebp - 0x24]
push eax
push ecx
call fcn.00416470
mov byte [ebp - 4], 0x17
add esp, 0x10
mov edx, dword [ebp - 0x24]
mov byte [ebp - 0x3f5], al
test edx, edx
je 0x408a57
or ecx, 0xffffffff
lock xadd dword [edx + 0x20], ecx
jne 0x408a57
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x408a57
nop word [eax + eax]
mov ecx, esi
lea eax, [esi + 0xc]
mov esi, dword [eax]
mov dword [eax], 0
push 1
mov eax, dword [ecx]
call dword [eax]
test esi, esi
jne 0x408a40
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x24], 0
test ecx, ecx
je 0x408a7a
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x408a7a
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
cmp byte [ebp - 0x3f5], 0
jne 0x408b75
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Ten_khong_hop_le__vui_long_nhap_lai__Ten_Ho_
call fcn.0040f4e0
push 0x40f700
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_____]
push 0x19
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push str.Nhap_ten_nhan_vat_cua_ban
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
call fcn.00410940
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x1c
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x41c]
call fcn.00405970
add esp, 4
lea ecx, [ebp - 0x40]
push eax
call fcn.0040c3d0
mov ecx, dword [ebp - 0x408]
cmp ecx, 0xf
jbe 0x408b20
mov edx, dword [ebp - 0x41c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408b16
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408b65
push ecx
push edx
call fcn.004294df
add esp, 8
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x40c], 0
mov dword [ebp - 0x408], 0xf
mov byte [ebp - 0x41c], 0
cmp ecx, 0xf
jbe 0x408b75
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408b6b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x408b6b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004294df
add esp, 8
cmp dword [ebp - 0x2c], 0xf
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmova eax, dword [ebp - 0x40]
mov ecx, 0x439110
push eax
call fcn.0040e180
call fcn.00406a70
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x408bc3
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408bb9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408bfb
push ecx
push edx
call fcn.004294df
add esp, 8
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp ecx, 0xf
jbe 0x408c0b
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408c01
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x408c01
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004294df
add esp, 8
mov esi, dword [ebp - 0x400]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea ecx, [ebp - 0x3f4]
call fcn.00407a00
mov ecx, dword [ebp - 0x8c]
cmp ecx, 7
jbe 0x408c6d
mov edx, dword [ebp - 0xa0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408c5b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x408c5b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004294df
add esp, 8
jmp 0x408c6d
mov esi, dword [ebp - 0x400]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
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.00429136
mov esp, ebp
pop ebp
ret
call fcn.00401470
int3