joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006e55
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x10006e64
pop dword [ebp - 0x30]
mov eax, 0xc828751e
add eax, 0x47d7f946
sub dword [ebp - 0x30], eax
push 0x40
push 0x1000
push 0x3cffd
push 0
mov eax, 0xf0b83ddd
sub eax, 0xe0b54cf1
add eax, dword [ebp - 0x30]
call dword [eax]
mov ecx, 0xfbde326a
add ecx, 0x422092e
mov ebx, eax
mov esi, 0xb0883a36
sub esi, 0xa083a236
add esi, dword [ebp - 0x30]
mov edx, 0xf25e4701
add edx, 0x1e745a9e
sub dword [ebp - 0x18], edi
mov edi, dword [esi]
add edi, edx
mov dword [ebx], edi
xor dword [ebp - 0x28], esi
add ebx, 0x6ccdde98
sub ebx, 0x6ccdde94
add esi, 0xfa2b3b54
add esi, 0x5d4c4b0
loop 0x10006ec3
add eax, 0x5d84fab7
sub eax, 0x5d841984
xor ebx, ebx
add ebx, eax
add eax, 0x35ee206f
sub eax, 0x35ee206a
mov ecx, 0x10000000
add ecx, dword [ebp - 0x30]
call ebx
leave
ret

Function at 0x1000ab38
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x1002c5a8
call fcn.10014f96
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x418], ebx
push 0x60
push ebx
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x1000abb5
push 2
push ebx
push esi
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x1000abb5
call fcn.10004855
mov esi, eax
jmp 0x1000acae
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.kernel32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x1000abd8
call fcn.10004855
jmp 0x1000aca1
push esi
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x1000abce
push esi
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x420], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x1000ac0b
mov esi, 0x8007000e
jmp 0x1000aca3
push 2
push eax
mov byte [ebp - 4], 2
call main
pop ecx
pop ecx
cmp eax, 0x400
jbe 0x1000ac2e
push eax
lea ecx, [ebp - 0x418]
call main
jmp 0x1000ac50
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x1000ac50
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
je 0x1000ac01
push esi
push dword [ebp - 0x418]
push esi
push dword [ebp - 0x41c]
push ebx
push 3
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x1000abce
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call main
mov esi, eax
test edi, edi
je 0x1000acae
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1000acc7
lea ecx, [ebp - 0x418]
call fcn.1000a32f
mov eax, esi
call fcn.10014ee3
ret 0x10
Function at 0x1000f934
Capabilities:
Delete file

Disassembly:
push 0x14
mov eax, 0x1002ca7e
call fcn.10014ef4
mov ebx, ecx
mov eax, dword [ebx]
xor esi, esi
call dword [eax + 0x18]
push eax
lea ecx, [ebp - 0x10]
call main
and dword [ebp - 4], esi
cmp dword [ebx + 0x44], esi
je 0x1000f9de
push str.Excel.Application
lea ecx, [ebp - 0x10]
call main
test al, al
je 0x1000f9b4
push 0xb
pop eax
mov word [ebp - 0x20], ax
xor eax, eax
mov word [ebp - 0x18], ax
sub esp, 0x10
mov byte [ebp - 4], 1
mov edi, esp
lea esi, [ebp - 0x20]
push 1
movsd dword es:[edi], dword [esi]
push str.Close
push dword [ebx + 0x44]
movsd dword es:[edi], dword [esi]
push eax
push 1
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call main
add esp, 0x28
mov byte [ebp - 4], 0
mov esi, eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x1000f9cd
push 0
push str.Close
push dword [ebx + 0x44]
push 0
push 1
push ebx
call main
add esp, 0x18
mov esi, eax
mov ecx, dword [ebx + 0x44]
test ecx, ecx
je 0x1000f9de
and dword [ebx + 0x44], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
cmp dword [ebx + 0x24], 0
je 0x1000f9fe
push str.Excel.Application
lea ecx, [ebp - 0x10]
call main
test al, al
je 0x1000f9fe
push dword [ebx + 0x24]
call dword [sym.imp.kernel32.dll_DeleteFileW]
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, esi
call fcn.10014ebd
ret
Function at 0x1001086f
Capabilities:
Copy file
Set file attributes

Disassembly:
push 0x210
mov eax, 0x1002cb41
call fcn.10014f28
mov esi, dword [ebp + 8]
xor edi, edi
mov ebx, dword [ebp + 0xc]
cmp dword [esi + 8], edi
je 0x10010895
mov eax, reloc.OLEAUT32.dll_VariantCopyInd
jmp 0x100109fd
lea ecx, [esi - 0xc]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [esi + 0x14]
test ecx, ecx
jne 0x100108ae
mov eax, 0x80004005
jmp 0x100109fd
mov edx, dword [ebp + 0x10]
mov eax, edx
and eax, reloc.OLEAUT32.dll_SysReAllocString
cmp eax, reloc.OLEAUT32.dll_SysReAllocString
push ebx
sete al
mov byte [ecx + 0x31], al
mov ecx, reloc.OLEAUT32.dll_SysReAllocStringLen
mov eax, edx
and eax, ecx
cmp eax, ecx
mov eax, dword [esi + 0x14]
sete cl
mov byte [eax + 0x32], cl
mov eax, reloc.OLEAUT32.dll_VariantClear
and edx, eax
cmp edx, eax
mov eax, dword [esi + 0x14]
sete cl
mov byte [eax + 0x33], cl
mov ecx, dword [esi + 0x14]
add ecx, 0x28
call main
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
call dword [eax + 0x18]
push eax
lea ecx, [ebp - 0x21c]
call main
push str.Excel.Application
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], edi
call main
test al, al
je 0x100109da
push 0x208
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.100182f0
push 0x5c
push ebx
call main
add esp, 0x14
test eax, eax
jne 0x10010953
push 0x2f
push ebx
call main
pop ecx
pop ecx
test eax, eax
je 0x10010973
add eax, 2
push 0x2e
push eax
call main
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call main
add esp, 0x14
cmp word [ebp - 0x218], 0
je 0x100109d3
push edi
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.kernel32.dll_CopyFileW]
lea eax, [ebp - 0x218]
push edi
push eax
call main
pop ecx
pop ecx
mov ecx, dword [esi + 0x14]
add ecx, 0x24
test eax, eax
jne 0x100109c5
lea eax, [ebp - 0x218]
push eax
call main
push 0x80
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
jmp 0x100109cb
push ebx
call main
mov eax, dword [esi + 0x14]
add eax, 0x24
jmp 0x100109e6
mov edi, 0x80004005
jmp 0x100109ef
mov ecx, dword [esi + 0x14]
push ebx
add ecx, 0x24
call main
push eax
lea ecx, [esi + 0x10]
call main
push dword [ebp - 0x21c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, edi
call fcn.10014ed2
ret 0xc
Function at 0x10010fbb
Capabilities:
Terminate process

Disassembly:
push 0x81c
mov eax, 0x1002cc00
call fcn.10014f28
mov esi, ecx
xor edi, edi
xor ebx, ebx
and dword [ebp - 0x814], edi
cmp dword [esi + 0x40], ebx
je 0x100110e7
push 0x10
lea eax, [ebp - 0x828]
push ebx
push eax
call fcn.100182f0
add esp, 0xc
lea eax, [ebp - 0x828]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push edi
push str.Caption
push dword [esi + 0x40]
lea eax, [ebp - 0x828]
mov dword [ebp - 4], edi
push eax
push 2
push esi
call main
add esp, 0x18
test eax, eax
jne 0x10011051
push dword [ebp - 0x820]
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x810]
push 0x400
push eax
call main
add esp, 0xc
lea eax, [ebp - 0x810]
push eax
push edi
call dword [sym.imp.USER32.dll_FindWindowW]
mov ebx, eax
mov eax, dword [esi]
lea ecx, [ebp - 0x814]
push ecx
mov ecx, esi
call dword [eax + 0x2c]
mov edi, eax
test edi, edi
js 0x10011087
cmp dword [ebp - 0x814], 0
jne 0x10011087
push 0
push str.Quit
push dword [esi + 0x40]
push 0
push 1
push esi
call main
add esp, 0x18
mov edi, eax
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x10011098
and dword [esi + 0x40], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea eax, [ebp - 0x828]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test ebx, ebx
je 0x100110e7
cmp dword [ebp - 0x814], 0
jne 0x100110e7
test edi, edi
jns 0x100110e7
and dword [ebp - 0x818], 0
lea eax, [ebp - 0x818]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x818]
push 1
push 0x1fffff
call dword [sym.imp.kernel32.dll_OpenProcess]
push 1
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
mov eax, edi
call fcn.10014ed2
ret
Function at 0x100129ec
Capabilities:
Enumerate processes

Disassembly:
push 0x238
mov eax, 0x1002cef1
call fcn.10014f28
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x10012a09
xor eax, eax
jmp 0x10012adf
xor edi, edi
push edi
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov esi, eax
test esi, esi
je 0x10012add
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push eax
push esi
call sub.kernel32.dll_Process32FirstW
jmp 0x10012ab3
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x244]
call fcn.100125e1
push ebx
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], edi
call fcn.100125e1
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 1
call fcn.10012b61
lea ecx, [ebp - 0x240]
call fcn.10012b61
push dword [ebp - 0x244]
lea ecx, [ebp - 0x240]
call main
mov ecx, dword [ebp - 0x240]
lea ecx, [ecx - 0x10]
test eax, eax
je 0x10012abd
call fcn.10012c52
mov ecx, dword [ebp - 0x244]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.10012c52
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.kernel32.dll_Process32NextW
test eax, eax
jne 0x10012a36
jmp 0x10012ad6
mov edi, dword [ebp - 0x234]
call fcn.10012c52
mov ecx, dword [ebp - 0x244]
add ecx, 0xfffffff0
call fcn.10012c52
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, edi
call fcn.10014ed2
ret
Function at 0x10003d80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100409c0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10053064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push 8
mov dword [ebx], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.100198c2
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.10018e9e
add esp, 8
mov dword [esi + 4], eax
mov ecx, ebx
mov dword [ebx + 0x34], esi
call fcn.10003fd0
mov eax, ebx
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
lea esi, [eax + 8]
lea ebx, [eax + 4]
mov dword [eax + 0x2c], edx
mov dword [eax + 0xc], ebx
lea edi, [eax + 0x14]
mov dword [eax], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [eax + 0x48], 0
mov byte [eax + 0x3d], 0
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x4c], 0
mov eax, dword [0x10058910]
mov ecx, dword [0x10058914]
mov dword [edx + 0x40], eax
mov eax, edx
mov dword [edx + 0x44], ecx
mov dword [edx + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100065c0
Capabilities:
Delete registry value
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x10053064]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea eax, [ebp - 0x10c]
push eax
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsLayers
push 0x80000001
call ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x1000661c
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x10c]
call edi
push dword [ebp - 0x10c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
lea eax, [ebp - 0x110]
push eax
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionAppCompatFlagsLayers
push 0x80000002
call ebx
test eax, eax
jne 0x10006650
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x110]
call edi
push dword [ebp - 0x110]
call esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x114]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionAppCompatFlagsLayers
push 0x80000002
call ebx
test eax, eax
jne 0x10006688
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x114]
call edi
push dword [ebp - 0x114]
call esi
lea eax, [ebp - 0x118]
push eax
push 1
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsLayers
push 0x80000001
call ebx
test eax, eax
jne 0x100066ba
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x118]
call edi
push dword [ebp - 0x118]
call esi
lea eax, [ebp - 0x11c]
push eax
push 0xf013f
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionAppCompatFlagsLayers
push 0x80000002
call ebx
test eax, eax
jne 0x100066ef
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x11c]
call edi
push dword [ebp - 0x11c]
call esi
mov eax, dword [0x10058a08]
push 0x200030
push dword [0x10058984]
push str.Anti_Kill__
push 0
cmp eax, 1
jne 0x10006721
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 2
jne 0x10006713
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x10006740
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x10058a08]
push 0x200030
push dword [0x10058984]
cmp eax, 1
jne 0x1000676a
push str.Administrative_privileges_required_at_the_first_startup__n_nRight_click_on_application:_Run_as_administrator
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 2
jne 0x10006755
push str.Privilegios_administrativos_requeridos_na_primeira_inicializa
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x100067e0
Capabilities:
Create thread
Terminate process

Disassembly:
push 0
push 0
push 0
push 0x10006790
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 0x10006c70
Capabilities:
Create thread
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10053064]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], esi
push eax
mov word [ebp - 8], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x10006cc9
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x10006cd1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10006ce6
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov dword [ebp - 0x10], 0
test esi, esi
jne 0x10006d5f
cmp dword [ebp - 0x14], esi
je 0x10006d39
cmp dword [0x10058918], esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
jne 0x10006d0e
push 0
push 0
push 0
push 0x10006810
push 0
push 0
call esi
cmp dword [0x1005891c], 0
jne 0x10006d4e
push 0
push 0
push 0
push fcn.10006890
push 0
push 0
call esi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100198af
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0x10006c00
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.100198af
mov esp, ebp
pop ebp
ret
push 0x100515f0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
push eax
call fcn.1001b01b
int3
Function at 0x10007a40
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10040e30
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x10053064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x10058a04], 1
jne 0x10007b5d
sub esp, 8
lea ecx, [ebp - 0xc0]
push 8
push str.GameGuard_Log.txt
call fcn.100032f0
mov edx, str._nFN_Scan:____File_not_found:
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.10004300
mov edx, dword [0x10058954]
lea ecx, [ebp - 0xc0]
call fcn.10004300
lea ecx, [ebp - 0xbc]
call fcn.10003b40
test eax, eax
jne 0x10007aea
mov eax, dword [ebp - 0xc0]
lea ecx, [ebp - 0xc0]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001d60
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc4], eax
lea ecx, [ebp - 0xbc]
call fcn.10002f40
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xc4], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - 0x58], vtable.std::ios_base.0
call fcn.1001913a
add esp, 4
mov eax, dword [0x10058a08]
cmp eax, 1
je 0x10007b9e
cmp eax, 3
je 0x10007b9e
cmp eax, 4
je 0x10007b9e
push 0
cmp eax, 2
jne 0x10007b98
push 0
push 0
push 0x10007a10
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 0x100079e0
jmp 0x10007b81
Function at 0x10008050
Capabilities:
Acquire debug privileges
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x10053064]
xor eax, esp
mov dword [esp + 0x1c], eax
cmp dword [0x10058a2c], 1
jne 0x10008096
push 0
push 0
push 0
push 0x10007bb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.100198af
mov esp, ebp
pop ebp
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 0x10008138
lea eax, [esp + 4]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x10008138
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 0x10008138
push dword [esp]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x10008138
push 0
push 0
push 0
push 0x10007c50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.100198af
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1c]
xor eax, eax
xor ecx, esp
call fcn.100198af
mov esp, ebp
pop ebp
ret
Function at 0x10008940
Capabilities:
Create thread
Set file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10040f1b
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
push esi
mov eax, dword [0x10053064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x10058a04], 1
jne 0x10008881
sub esp, 8
lea ecx, [ebp - 0xc8]
push 8
push str.GameGuard_Log.txt
call fcn.100032f0
mov edx, str._n_GameGuard_Scan
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xc8]
call fcn.10004300
mov edx, dword [0x1005893c]
lea ecx, [ebp - 0xc8]
call fcn.10004300
mov edx, str._Not_running_
mov ecx, eax
call fcn.10004300
lea ecx, [ebp - 0xc4]
call fcn.10003b40
test eax, eax
jne 0x10008807
mov eax, dword [ebp - 0xc8]
lea ecx, [ebp - 0xc8]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001d60
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc8], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xcc], eax
lea ecx, [ebp - 0xc4]
call fcn.10002f40
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc8], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xcc], eax
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - 0x60], vtable.std::ios_base.0
call fcn.1001913a
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [0x10058a14], 1
jne 0x10008937
lea ecx, [ebp - 0x18]
call fcn.100083c0
lea ecx, [ebp - 0x18]
call fcn.100083b0
sub esp, 8
lea ecx, [ebp - 0x178]
mov esi, eax
push 8
push 0x1004a540
call fcn.100032f0
mov edx, str._nLocal_Time:
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x178]
call fcn.10004300
push esi
call fcn.1001e738
add esp, 4
lea ecx, [ebp - 0x178]
mov edx, eax
call fcn.10004300
mov edx, 0x1004b0ac
lea ecx, [ebp - 0x178]
call fcn.10004300
mov edx, dword [0x1005893c]
lea ecx, [ebp - 0x178]
call fcn.10004300
mov edx, str._Not_running_
mov ecx, eax
call fcn.10004300
mov edx, str._n__________________
lea ecx, [ebp - 0x178]
call fcn.10004300
lea ecx, [ebp - 0x178]
call fcn.100032b0
push 2
push 0x1004a540
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push ebp
mov ebp, esp
and esp, 0xfffffff8
cmp dword [0x10058a20], 1
je 0x10008750
jmp fcn.10008430
Function at 0x10009b60
Capabilities:
Capture public ip
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100410b0
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x10053064]
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 0x10009d00
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 0x10009d05
sub esp, 8
mov byte [ebp + eax - 0x40], 0
lea ecx, [ebp - 0xf4]
push 8
push str.Temp
call fcn.100032f0
mov edx, str._nPublic_IP:
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xf4]
call fcn.10004300
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0xf4]
call fcn.10004300
mov edx, str._n_________Hack_Log___________n_n
lea ecx, [ebp - 0xf4]
call fcn.10004300
lea ecx, [ebp - 0xf0]
call fcn.10003b40
test eax, eax
jne 0x10009c61
mov eax, dword [ebp - 0xf4]
lea ecx, [ebp - 0xf4]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001d60
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
call fcn.10009630
mov eax, dword [ebp - 0xf4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf4], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xf4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xf8], eax
lea ecx, [ebp - 0xf0]
call fcn.10002f40
mov eax, dword [ebp - 0xf4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf4], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xf4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xf8], eax
lea eax, [ebp - 0x8c]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - 0x8c], vtable.std::ios_base.0
call fcn.1001913a
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100198af
mov esp, ebp
pop ebp
ret
call fcn.10009390
call fcn.10019a45
int3