joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005070
Capabilities:
Check os version
Encode data using xor
Query or enumerate registry value

Disassembly:
sub esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jae 0x1000508b
mov dword [0x10030e34], 1
add esp, 0xc
ret
push ebx
mov dword [esp + 4], 0x1001dc98
mov ebx, dword [esp + 4]
push esi
mov esi, dword [esp + 8]
add esi, 0x14
cmp byte [ebx + 0x13], 0
je 0x100050e1
mov eax, dword [ebx + 0xf]
push ebp
inc eax
push edi
push eax
call dword [sym.imp.ucrtbased.dll_malloc]
mov ebp, dword [ebx + 0xf]
add esp, 4
xor edx, edx
mov edi, eax
test ebp, ebp
je 0x100050d9
sub esi, edi
mov eax, edx
lea ecx, [edx + edi]
and eax, 7
inc edx
mov al, byte [eax + ebx + 7]
xor al, byte [esi + ecx]
mov byte [ecx], al
cmp edx, ebp
jb 0x100050c3
mov byte [edi + ebp], 0
mov esi, edi
pop edi
pop ebp
lea eax, [esp + 0xc]
push eax
push 0x20019
push 0
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
pop esi
pop ebx
test eax, eax
jne 0x10005136
mov dword [esp], eax
lea eax, [esp + 8]
push eax
lea eax, [esp + 4]
push eax
push 0
push 0
push str.MoveImages
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10005131
mov dword [0x10030e30], 1
add esp, 0xc
ret
call fcn.10005240
add esp, 0xc
ret

Function at 0x10005240
Capabilities:
Create thread
Get token membership

Disassembly:
sub esp, 0x18
mov eax, dword [0x10030a98]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
xor esi, esi
mov dword [esp + 8], 0
lea eax, [esp + 4]
mov dword [esp + 4], esi
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push 0x220
push 0x20
push 2
lea eax, [esp + 0x38]
mov dword [esp + 0x38], esi
push eax
mov word [esp + 0x40], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x1000529f
lea eax, [esp + 8]
push eax
push dword [esp + 8]
push esi
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x100052a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [esp + 4]
test eax, eax
je 0x100052be
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov dword [esp + 4], 0
test esi, esi
jne 0x1000533a
cmp dword [esp + 8], esi
je 0x10005313
cmp dword [0x10030e30], esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
jne 0x100052e7
push 0
push 0
push 0
push 0x10005a20
push 0
push 0
call esi
cmp dword [0x10030e2c], 0
jne 0x10005328
push 0
push 0
push 0
push fcn.10004c10
push 0
push 0
call esi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.100194a0
add esp, 0x18
ret
push 0
push 0
push 0
push 0x10005350
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esp + 0x18]
xor eax, eax
pop esi
xor ecx, esp
call fcn.100194a0
add esp, 0x18
ret
push 0x10029c10
lea eax, [esp + 0x10]
mov dword [esp + 0x10], esi
push eax
call sub.VCRUNTIME140D.dll__CxxThrowException
int3
Function at 0x10005740
Capabilities:
Create thread
Terminate process

Disassembly:
push 0
push 0
push 0
push 0x10005770
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x10005f60
Capabilities:
Acquire debug privileges
Create thread

Disassembly:
sub esp, 0x20
mov eax, dword [0x10030a98]
xor eax, esp
mov dword [esp + 0x1c], eax
cmp dword [0x10030f4c], 1
jne 0x10005fa0
push 0
push 0
push 0
push 0x100063f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.100194a0
add esp, 0x20
ret
lea eax, [esp]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x10006042
lea eax, [esp + 4]
push eax
push 0x1001e1ac
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x10006042
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
push 0
push 0
push 0x10
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 0
push dword [esp + 0x14]
mov dword [esp + 0x24], 1
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x10006042
push dword [esp]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x10006042
push 0
push 0
push 0
push 0x10005b20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.100194a0
add esp, 0x20
ret
mov ecx, dword [esp + 0x1c]
xor eax, eax
xor ecx, esp
call fcn.100194a0
add esp, 0x20
ret
Function at 0x10006450
Capabilities:
Create thread
Set file attributes
Terminate process

Disassembly:
cmp dword [0x10030f40], 1
je 0x10006540
jmp fcn.100066e0
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001b1eb
mov eax, dword fs:[0]
push eax
sub esp, 0x168
push esi
mov eax, dword [0x10030a98]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x10030f24], 1
jne 0x10006605
push 1
push 0x40
push 8
push 0x1001e4d0
lea ecx, [ebp - 0xc4]
call fcn.100014c0
lea eax, [ebp - 0xc4]
mov dword [ebp - 4], 0
push str._n_GameGuard_Scan
push eax
call fcn.10001050
add esp, 8
lea eax, [ebp - 0xc4]
push 0x1001e4f8
push dword [0x10030e5c]
push eax
call fcn.10001050
add esp, 8
push eax
call fcn.10001050
add esp, 8
lea ecx, [ebp - 0xc0]
call fcn.10001f00
test eax, eax
jne 0x100065f3
push eax
mov eax, dword [ebp - 0xc4]
lea ecx, [ebp - 0xc4]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [ebp - 0xc4]
mov dword [ebp - 4], 0xffffffff
call fcn.10001ab0
cmp dword [0x10030f34], 1
jne 0x100066cb
lea eax, [ebp - 0x14]
push eax
call sub.ucrtbased.dll__time64
lea eax, [ebp - 0x14]
push eax
call sub.ucrtbased.dll__localtime64
add esp, 8
lea ecx, [ebp - 0x174]
mov esi, eax
push 1
push 0x40
push 8
push 0x1001e508
call fcn.100014c0
lea eax, [ebp - 0x174]
mov dword [ebp - 4], 1
push 0x1001e50c
push eax
call fcn.10001050
push esi
call dword [sym.imp.ucrtbased.dll_asctime]
push eax
lea eax, [ebp - 0x174]
push eax
call fcn.10001050
lea eax, [ebp - 0x174]
push str.GameGuard_Scan
push eax
call fcn.10001050
add esp, 0x1c
lea eax, [ebp - 0x174]
push str._Not_running_
push dword [0x10030e5c]
push eax
call fcn.10001050
add esp, 8
push eax
call fcn.10001050
lea eax, [ebp - 0x174]
push 0x1001e540
push eax
call fcn.10001050
add esp, 0x10
lea ecx, [ebp - 0x174]
call fcn.10007120
push 2
push 0x1001e568
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x10006470
Capabilities:
Create thread

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x10006b30
push 0
push 0
call esi
push 0
push 0
push 0
push 0x10006b50
push 0
push 0
call esi
push 0
push 0
push 0
push 0x10006920
push 0
push 0
call esi
pop esi
ret
Function at 0x10007490
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001ae4b
mov eax, dword fs:[0]
push eax
sub esp, 0x168
push esi
mov eax, dword [0x10030a98]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x10030f24], 1
jne 0x1000752e
push 1
push 0x40
push 8
push 0x1001e7ec
lea ecx, [ebp - 0x174]
call fcn.100014c0
lea eax, [ebp - 0x174]
mov dword [ebp - 4], 0
push str._nFTP_Server_connection_fail_
push eax
call fcn.10001050
add esp, 8
lea ecx, [ebp - 0x170]
call fcn.10001f00
test eax, eax
jne 0x1000751c
push eax
mov eax, dword [ebp - 0x174]
lea ecx, [ebp - 0x174]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [ebp - 0x174]
mov dword [ebp - 4], 0xffffffff
call fcn.10001ab0
cmp dword [0x10030f34], 1
jne 0x100075ef
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ucrtbased.dll__time64]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ucrtbased.dll__localtime64]
add esp, 8
lea ecx, [ebp - 0xc4]
mov esi, eax
push 1
push 0x40
push 8
push 0x1001e820
call fcn.100014c0
lea eax, [ebp - 0xc4]
mov dword [ebp - 4], 1
push 0x1001e824
push eax
call fcn.10001050
push esi
call dword [sym.imp.ucrtbased.dll_asctime]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.10001050
lea eax, [ebp - 0xc4]
push str.FTP_Server_connection_fail_
push eax
call fcn.10001050
lea eax, [ebp - 0xc4]
push 0x1001e850
push eax
call fcn.10001050
add esp, 0x24
lea ecx, [ebp - 0xc0]
call fcn.10001f00
test eax, eax
jne 0x100075e4
push eax
mov eax, dword [ebp - 0xc4]
lea ecx, [ebp - 0xc4]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [ebp - 0xc4]
call fcn.10001ab0
mov eax, dword [0x10030f28]
cmp eax, 1
je 0x10007630
cmp eax, 3
je 0x10007630
cmp eax, 4
je 0x10007630
push 0
cmp eax, 2
jne 0x1000762a
push 0
push 0
push 0x10007640
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0
push 0
push 0
push 0x10007670
jmp 0x10007613
Function at 0x100076a0
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001ae4b
mov eax, dword fs:[0]
push eax
sub esp, 0x168
push esi
mov eax, dword [0x10030a98]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x10030f24], 1
jne 0x1000773e
push 1
push 0x40
push 8
push 0x1001e8e8
lea ecx, [ebp - 0x174]
call fcn.100014c0
lea eax, [ebp - 0x174]
mov dword [ebp - 4], 0
push str._n_HTTP_Server_connection_fail_
push eax
call fcn.10001050
add esp, 8
lea ecx, [ebp - 0x170]
call fcn.10001f00
test eax, eax
jne 0x1000772c
push eax
mov eax, dword [ebp - 0x174]
lea ecx, [ebp - 0x174]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [ebp - 0x174]
mov dword [ebp - 4], 0xffffffff
call fcn.10001ab0
cmp dword [0x10030f34], 1
jne 0x100077ff
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ucrtbased.dll__time64]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ucrtbased.dll__localtime64]
add esp, 8
lea ecx, [ebp - 0xc4]
mov esi, eax
push 1
push 0x40
push 8
push 0x1001e91c
call fcn.100014c0
lea eax, [ebp - 0xc4]
mov dword [ebp - 4], 1
push 0x1001e920
push eax
call fcn.10001050
push esi
call dword [sym.imp.ucrtbased.dll_asctime]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.10001050
lea eax, [ebp - 0xc4]
push 0x1001e930
push eax
call fcn.10001050
lea eax, [ebp - 0xc4]
push 0x1001e950
push eax
call fcn.10001050
add esp, 0x24
lea ecx, [ebp - 0xc0]
call fcn.10001f00
test eax, eax
jne 0x100077f4
push eax
mov eax, dword [ebp - 0xc4]
lea ecx, [ebp - 0xc4]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [ebp - 0xc4]
call fcn.10001ab0
mov eax, dword [0x10030f28]
cmp eax, 1
je 0x10007840
cmp eax, 3
je 0x10007840
cmp eax, 4
je 0x10007840
push 0
cmp eax, 2
jne 0x1000783a
push 0
push 0
push 0x10007850
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0
push 0
push 0
push 0x10007880
jmp 0x10007823

Function at 0x100078b0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x10007a10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret
Function at 0x100078d0
Capabilities:
Capture public ip
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001b380
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x10030a98]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
push 0
push 0x80000000
push 0
push 0
push str.http:__icanhazip.com_
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
test esi, esi
je 0x100079fb
lea eax, [ebp - 0x44]
push eax
push 0x2f
lea eax, [ebp - 0x40]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [ebp - 0x44]
cmp eax, 0x2f
jae 0x10007a00
push 1
push 0x40
push 8
push 0x1001e9d0
lea ecx, [ebp - 0xf4]
mov byte [ebp + eax - 0x40], 0
call fcn.100014c0
lea eax, [ebp - 0xf4]
mov dword [ebp - 4], 0
push str._nPublic_IP:
push eax
call fcn.10001050
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xf4]
push eax
call fcn.10001050
lea eax, [ebp - 0xf4]
push str._n_________Hack_Log___________n_n
push eax
call fcn.10001050
add esp, 0x18
lea ecx, [ebp - 0xf0]
call fcn.10001f00
test eax, eax
jne 0x100079ca
push eax
mov eax, dword [ebp - 0xf4]
lea ecx, [ebp - 0xf4]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
call fcn.10007c40
lea ecx, [ebp - 0xf4]
call fcn.10001ab0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100194a0
mov esp, ebp
pop ebp
ret
call fcn.100076a0
call fcn.10019640
int3
Function at 0x10008230
Capabilities:
Get hostname
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001b48b
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x10030a98]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x14
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x10008384
push 1
push 0x40
push 8
push 0x1001ea40
lea ecx, [ebp - 0x1a0]
call fcn.100014c0
lea eax, [ebp - 0x1a0]
mov dword [ebp - 4], 0
push str._nComputer_Username:
push eax
call fcn.10001050
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x1a0]
push eax
call fcn.10001050
add esp, 0x10
lea ecx, [ebp - 0x19c]
call fcn.10001f00
test eax, eax
jne 0x100082e2
push eax
mov eax, dword [ebp - 0x1a0]
lea ecx, [ebp - 0x1a0]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0x10
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x10008374
push 1
push 0x40
push 8
push 0x1001ea20
lea ecx, [ebp - 0xf0]
call fcn.100014c0
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 1
push str._nComputer_Name:
push eax
call fcn.10001050
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.10001050
add esp, 0x10
lea ecx, [ebp - 0xec]
call fcn.10001f00
test eax, eax
jne 0x10008362
push eax
mov eax, dword [ebp - 0xf0]
lea ecx, [ebp - 0xf0]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
call fcn.100078d0
lea ecx, [ebp - 0xf0]
call fcn.10001ab0
jmp 0x10008379
call fcn.100078d0
lea ecx, [ebp - 0x1a0]
call fcn.10001ab0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100194a0
mov esp, ebp
pop ebp
ret
Function at 0x100087c0
Capabilities:
Create thread
Terminate process

Disassembly:
mov eax, dword [0x10030f28]
cmp eax, 1
je 0x1000880c
cmp eax, 4
je 0x1000880c
push 0
cmp eax, 2
jne 0x100087fc
push 0
push 0
push 0x10008840
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 3
jne 0x100087f6
push 0
push 0
push 0x100088a0
jmp 0x100087df
push 0
push 0
push 0
push 0x10008870
jmp 0x100087df

Function at 0x10008820
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x100086d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret

Function at 0x100088d0
Capabilities:
Terminate process

Disassembly:
cmp dword [0x10030e3c], 0xb7
jne 0x10008935
mov eax, dword [0x10030f28]
push 0x200030
push dword [0x10030ea4]
cmp eax, 1
jne 0x10008906
push 0x1001f224
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 2
jne 0x10008920
push str.SI_Scan_n_nO_Sistema_Anti_kill_permite_apenas_uma_instancia_de_jogo_aberta_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push str.SI_Scan_n_nAnti_kill_active__just_one_Game_instance_allowed_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
ret

Function at 0x10008970
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x10008d60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret
Function at 0x10008990
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
sub esp, 0x810
mov eax, dword [0x10030a98]
xor eax, esp
mov dword [esp + 0x80c], eax
push ebx
push esi
push edi
push 0
push 0
push 0
push 0
push str.MyBrowser
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
test esi, esi
je 0x10008b0f
push 1
push 0
push 3
push 0
push 0
push 0x50
push dword [0x10030e90]
push esi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ebx, eax
test ebx, ebx
je 0x10008b0f
push 1
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x1001f690
push eax
push 0
push 0
push str.Codex_ServerSideBan_Renew.php
push str.POST
push ebx
mov dword [esp + 0x34], 0
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, eax
test edi, edi
je 0x10008b0f
mov ecx, str._____________________________og94kfkldjs7ekk_r_nContent_Disposition:_form_data__name_uploadedfile___filename_Log.txt__r_nContent_Type:_text_plain_r_n_r_nCodex_Anti_Hack_r_n_____________________________og94kfkldjs7ekk___r_n
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10008a27
sub ecx, edx
mov edx, str.Content_Type:_multipart_form_data__boundary___________________________og94kfkldjs7ekk
push ebp
lea ebp, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x10008a40
push ecx
push str._____________________________og94kfkldjs7ekk_r_nContent_Disposition:_form_data__name_uploadedfile___filename_Log.txt__r_nContent_Type:_text_plain_r_n_r_nCodex_Anti_Hack_r_n_____________________________og94kfkldjs7ekk___r_n
sub edx, ebp
push edx
push str.Content_Type:_multipart_form_data__boundary___________________________og94kfkldjs7ekk
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
pop ebp
test eax, eax
je 0x10008b0f
push 0x800
lea eax, [esp + 0x1c]
push 0
push eax
call sub.VCRUNTIME140D.dll_memset
add esp, 0xc
mov dword [esp + 0xc], 0x800
lea eax, [esp + 0xc]
push 0
push eax
lea eax, [esp + 0x20]
push eax
push 0x16
push edi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x10008b0f
push 0x10005af0
lea eax, [esp + 0x1c]
push eax
push dword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.10001050
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP140D.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 0x800
lea eax, [esp + 0x1c]
push 0
push eax
call sub.VCRUNTIME140D.dll_memset
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push 0x800
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x10008b0f
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebx
call esi
push edi
call esi
mov ecx, dword [esp + 0x818]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100194a0
add esp, 0x810
ret
call fcn.10008b20
int3
Function at 0x10008b20
Capabilities:
Create thread
Set file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001ae4b
mov eax, dword fs:[0]
push eax
sub esp, 0x168
push esi
mov eax, dword [0x10030a98]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x10030f24], 1
jne 0x10008bbe
push 1
push 0x40
push 8
push 0x1001f5f0
lea ecx, [ebp - 0x174]
call fcn.100014c0
lea eax, [ebp - 0x174]
mov dword [ebp - 4], 0
push str._nHTTP_Server_connection_fail_
push eax
call fcn.10001050
add esp, 8
lea ecx, [ebp - 0x170]
call fcn.10001f00
test eax, eax
jne 0x10008bac
push eax
mov eax, dword [ebp - 0x174]
lea ecx, [ebp - 0x174]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [ebp - 0x174]
mov dword [ebp - 4], 0xffffffff
call fcn.10001ab0
cmp dword [0x10030f34], 1
jne 0x10008c8c
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ucrtbased.dll__time64]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ucrtbased.dll__localtime64]
add esp, 8
lea ecx, [ebp - 0xc4]
mov esi, eax
push 1
push 0x40
push 8
push 0x1001f624
call fcn.100014c0
lea eax, [ebp - 0xc4]
mov dword [ebp - 4], 1
push 0x1001f628
push eax
call fcn.10001050
push esi
call dword [sym.imp.ucrtbased.dll_asctime]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.10001050
lea eax, [ebp - 0xc4]
push str.HTTP_Server_connection_fail_
push eax
call fcn.10001050
lea eax, [ebp - 0xc4]
push 0x1001f658
push eax
call fcn.10001050
add esp, 0x24
lea ecx, [ebp - 0xc0]
call fcn.10001f00
test eax, eax
jne 0x10008c74
push eax
mov eax, dword [ebp - 0xc4]
lea ecx, [ebp - 0xc4]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
push 2
push 0x1001f680
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0xc4]
call fcn.10001ab0
mov eax, dword [0x10030f28]
cmp eax, 1
je 0x10008ccd
cmp eax, 3
je 0x10008ccd
cmp eax, 4
je 0x10008ccd
push 0
cmp eax, 2
jne 0x10008cc7
push 0
push 0
push 0x10008ce0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0
push 0
push 0
push 0x10008d10
jmp 0x10008cb0

Function at 0x10008d40
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push fcn.10008990
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret

Function at 0x10008d90
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x10008db0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret