joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44c198
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x44c1be
mov eax, esp
push eax
push 0x44c160
call sub.user32.dll_EnumWindows
jmp 0x44c1d1
mov eax, esp
push eax
push 0x44c140
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x44c25c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x44c2b0]
test si, 4
je 0x44c271
or bl, 1
test si, 8
je 0x44c27b
or bl, 4
test si, 1
je 0x44c285
or bl, 8
test si, 2
je 0x44c28f
or bl, 0x10
test si, 0x10
je 0x44c299
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c2a8
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44c2b4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x44c2f0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c2ce
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c2dd
or bl, 4
test esi, 0x20000000
je 0x44c2e8
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45435c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45436e
add esp, 0xfffffff0
call fcn.00403ea0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a5ac
mov eax, dword [0x4688d0]
mov dword [eax + 4], ebx
mov dword [eax], 0x454700
mov eax, dword [0x4688dc]
mov dword [eax + 4], ebx
mov dword [eax], 0x45470c
mov eax, ebx
call fcn.00454718
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x412140]
call fcn.00403b64
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x412140]
call fcn.00403b64
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x412140]
call fcn.00403b64
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x412140]
call fcn.00403b64
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x412140]
call fcn.00403b64
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x44fbc0
push eax
push 0
push 0
mov eax, dword [0x468a20]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41e860]
call fcn.0041fd80
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41e860]
call fcn.0041fd80
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41e860]
call fcn.0041fd80
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00454b90
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x454a60
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x454a60
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x454a60
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4544ab
call fcn.00403ef8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x454844
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4549ef
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4549d0
mov dl, 1
mov eax, dword [0x412564]
call fcn.00403b64
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004049a8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4549bf
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00445fdc
test al, al
je 0x4549b2
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x454a00
lea eax, [ebp - 0x254]
call fcn.00409470
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4549b2
xor eax, eax
push ebp
push 0x4549ab
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x454a38
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x454994
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404c18
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x454994
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404c18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4549b2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4548b5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00416458
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4549f6
lea eax, [ebp - 0x260]
call fcn.004049a8
ret

Function at 0x455368
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x46dc94]
cmp byte [eax + 0xad], 0
jne 0x4553d9
cmp dword [0x46dcb0], 0
jne 0x45539a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x455324
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x46dcb0], eax
cmp dword [0x46dcac], 0
jne 0x4553b5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x46dcac], eax
cmp dword [0x46dcb4], 0
jne 0x4553d9
push esp
push 0
push 0
push 0x4552c8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x46dcb4], eax
pop edx
ret
Function at 0x4555dc
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4555f3
add esp, 0xfffffff0
call fcn.00403ea0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a5ac
mov eax, dword [0x468a0c]
cmp word [eax + 2], 0
jne 0x45561b
mov eax, dword [0x468a0c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004572cc
mov eax, dword [0x468ab8]
cmp word [eax + 2], 0
jne 0x455635
mov eax, dword [0x468ab8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004574d8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x412140]
call fcn.00403b64
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x412140]
call fcn.00403b64
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x412140]
call fcn.00403b64
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x41f03c]
call fcn.00424f8c
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4557ec
mov eax, dword [0x468934]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00425360
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x457b9c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x468934]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040cbac
test eax, eax
je 0x45573c
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408e28
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cbe0
test eax, eax
je 0x455750
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404c18
mov byte [ebx + 0xd4], 0
push ebx
push 0x456d58
call fcn.0041b728
mov dword [ebx + 0xc8], eax
mov eax, dword [0x46883c]
cmp byte [eax], 0
jne 0x4557a1
mov eax, ebx
call fcn.00455930
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.00457db0
mov eax, ebx
call fcn.00458914
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4557e1
call fcn.00403ef8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x455bb0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x455c4f
cmp dword [ebx + 0x94], 0
jne 0x455c49
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x455b38
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x455c49
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x455c0f
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x455c49
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004144e4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x455c1e
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x455e68
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x46dc94]
cmp dword [eax + 0x30], 0
je 0x455fc5
test bl, bl
jne 0x455f16
cmp dword [esi + 0x9c], 0
jne 0x455f0b
mov eax, esi
call fcn.00458790
push eax
push 0x455d94
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x455edc
mov eax, dword [0x46dc94]
call fcn.00458e70
test al, al
je 0x455edc
mov eax, dword [0x46dcb8]
call fcn.00405864
mov edi, eax
cmp edi, 0
jl 0x455edc
push 0
mov eax, dword [0x46dcb8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x455ec6
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x455f0b
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004144e4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x455eeb
inc dword [esi + 0x9c]
jmp 0x455fc5
cmp dword [esi + 0x9c], 0
jle 0x455fc5
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x455fc5
cmp dword [esi + 0x44], 0
je 0x455f71
mov eax, dword [0x46dc94]
call fcn.00458e70
test al, al
je 0x455f71
mov eax, dword [0x46dcb8]
call fcn.00405864
mov edi, eax
cmp edi, 0
jl 0x455f71
push 5
mov eax, dword [0x46dcb8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x455f5b
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x455fa0
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004144e4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x455f80
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x46dcb8
mov ecx, 1
mov edx, dword [0x455d74]
call fcn.00405a18
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x456aac
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x456b16
mov eax, ebx
call fcn.00458e70
test al, al
jne 0x456b16
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404a98
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x456b03
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x456b23
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004049fc
jmp 0x456b23
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004049fc
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x457f94
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x458002
mov eax, esi
call fcn.00440cc0
test al, al
je 0x458002
mov eax, dword [ebx + 0x84]
call fcn.0044094c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x458002
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x457ff6
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044094c
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004387c8
jmp 0x458002
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00457dd0
pop esi
pop ebx
ret

Function at 0x462e98
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404e28
xor eax, eax
push ebp
push 0x462f81
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 4]
call fcn.00404e38
mov esi, eax
push esi
push ebx
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x462f3e
xor eax, eax
push ebp
push 0x462f37
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push 0
push 0x462f94
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
jne 0x462f20
push 0x462f94
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegDeleteValueA
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462f6b
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push esi
push ebx
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jne 0x462f6b
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462f88
lea eax, [ebp - 4]
call fcn.004049a8
ret
Function at 0x4076c4
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x42600c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
xor edi, edi
mov dword [ebp - 0x210], ecx
lea eax, [ebp - 0x20c]
mov esi, edx
push edi
push eax
call fcn.004095f0
add esp, 0xc
lea ecx, [ebp - 0x20c]
call fcn.004072b0
lea eax, [ebp - 0x20c]
push eax
push edi
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov ebx, eax
test ebx, ebx
jne 0x407756
push ecx
push str.ReadSharedMemory__:
push ecx
mov edi, 0x82
mov ecx, esi
mov edx, edi
call fcn.00403b0e
lea ecx, [esi + 0x208]
mov edx, edi
push ecx
push str.Could_not_open_file_mapping_object.
push ecx
call fcn.00403b0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x410], eax
xor eax, eax
jmp 0x407820
push 0x1e78
push edi
push edi
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
jne 0x4077aa
push ecx
push str.ReadSharedMemory__:
push ecx
mov edi, 0x82
mov ecx, esi
mov edx, edi
call fcn.00403b0e
lea ecx, [esi + 0x208]
mov edx, edi
push ecx
push str.Could_not_map_view_of_file.
push ecx
call fcn.00403b0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov dword [esi + 0x410], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40774f
mov eax, dword [ebp - 0x210]
test eax, eax
jne 0x4077c6
call fcn.0040d306
mov dword [eax], 0x16
call fcn.0040d23a
jmp 0x4077d5
push 0x1034
push edi
push eax
call fcn.00408e00
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
push str.ReadSharedMemory__:
push ecx
mov edx, 0x82
mov ecx, esi
call fcn.00403b0e
lea eax, [ebp - 0x20c]
push eax
push str.succeeded._mapping_obj_name:__s
lea eax, [esi + 0x208]
push 0x104
push eax
call fcn.00406b11
and dword [esi + 0x410], 0
xor eax, eax
add esp, 0x10
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407989
leave
ret

Function at 0x431001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40915c
nop
mov ecx, 0x2d104099
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43104e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x431024
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x77504a76
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x431084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408f6c
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x5492c2d
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e3d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x4543682e
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x401493
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [esp], 0xfffffff5
call sym._GetStdHandle_4
sub esp, 4
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x22]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._GetConsoleScreenBufferInfo_8
sub esp, 8
mov eax, dword [ebp - 0x1e]
mov dword [ebp - 0x26], eax
mov word [ebp - 0x26], 0
movzx eax, word [ebp - 0x22]
cwde
lea edx, [ebp - 0x2c]
mov dword [esp + 0x10], edx
mov edx, dword [ebp - 0x26]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 0x20
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._FillConsoleOutputCharacterA_20
sub esp, 0x14
mov eax, dword [ebp - 0x26]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._SetConsoleCursorPosition_8
sub esp, 8
nop
leave
ret

Function at 0x401511
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov dword [esp + 4], 0
mov dword [esp], 2
call sym._CreateToolhelp32Snapshot_8
sub esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x401568
mov dword [esp], 0xc
call dbg.definirCorTexto
mov dword [esp], str.Erro_ao_criar_snapshot_de_processos.
call sym._puts
mov dword [esp], 7
call dbg.definirCorTexto
mov eax, 0
jmp 0x401600
mov dword [ebp - 0x134], 0x128
lea eax, [ebp - 0x134]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._Process32First_8
sub esp, 8
test eax, eax
je 0x4015ed
mov dword [esp + 4], str.gta_sa.exe
lea eax, [ebp - 0x134]
add eax, 0x24
mov dword [esp], eax
call sym._strcmp
test eax, eax
jne 0x4015d1
cmp dword [ebp + 8], 0
je 0x4015bc
mov edx, dword [ebp - 0x12c]
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
mov eax, 1
jmp 0x401600
lea eax, [ebp - 0x134]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._Process32Next_8
sub esp, 8
test eax, eax
jne 0x40158e
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
mov eax, 0
leave
ret
Function at 0x401602
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
lea eax, [ebp - 0x10]
mov dword [esp], eax
call dbg.verificarGTAExecutado
test eax, eax
jne 0x401640
mov dword [esp], 0xc
call dbg.definirCorTexto
mov dword [esp], str.GTA_SA_nao_esta_executado._Nao_e_possivel_fechar_o_jogo.
call sym._puts
mov dword [esp], 7
call dbg.definirCorTexto
jmp 0x4016f3
mov eax, dword [ebp - 0x10]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 1
call sym._OpenProcess_12
sub esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40168d
mov dword [esp], 0xc
call dbg.definirCorTexto
mov dword [esp], str.Erro_ao_abrir_o_processo_GTA_SA_para_fechamento.
call sym._puts
mov dword [esp], 7
call dbg.definirCorTexto
jmp 0x4016f3
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._TerminateProcess_8
sub esp, 8
test eax, eax
je 0x4016c1
mov dword [esp], 0xa
call dbg.definirCorTexto
mov dword [esp], str.GTA_SA_encerrado_com_sucesso.
call sym._puts
jmp 0x4016d9
mov dword [esp], 0xc
call dbg.definirCorTexto
mov dword [esp], str.Erro_ao_encerrar_o_GTA_SA.
call sym._puts
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
mov dword [esp], 7
call dbg.definirCorTexto
leave
ret
Function at 0x4016f5
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x35c
lea eax, [ebp - 0x20]
mov dword [esp], eax
call dbg.verificarGTAExecutado
test eax, eax
jne 0x401739
mov dword [esp], 0xc
call dbg.definirCorTexto
mov dword [esp], str.GTA_SA_nao_esta_executado._Nao_e_possivel_armazenar_as_DLLs.
call sym._puts
mov dword [esp], 7
call dbg.definirCorTexto
jmp 0x401860
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
mov dword [esp], 8
call sym._CreateToolhelp32Snapshot_8
sub esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x401781
mov dword [esp], 0xc
call dbg.definirCorTexto
mov dword [esp], str.Erro_ao_criar_snapshot_de_modulos.
call sym._puts
mov dword [esp], 7
call dbg.definirCorTexto
jmp 0x401860
mov dword [ebp - 0x244], 0x224
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
lea eax, [ebp - 0x244]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym._Module32First_8
sub esp, 8
test eax, eax
je 0x401852
mov dword [esp + 4], str..dll
lea eax, [ebp - 0x244]
add eax, 0x20
mov dword [esp], eax
call sym._strstr
test eax, eax
je 0x401832
mov dword [esp + 8], 0x104
lea eax, [ebp - 0x244]
add eax, 0x20
mov dword [esp + 4], eax
lea eax, [ebp - 0x34c]
mov dword [esp], eax
call sym._strncpy
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x248], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
imul edx, eax, 0x108
mov eax, dword [ebp + 8]
add eax, edx
mov ebx, eax
lea eax, [ebp - 0x34c]
mov edx, 0x42
mov edi, ebx
mov esi, eax
mov ecx, edx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
lea edx, [eax + 1]
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
lea eax, [ebp - 0x244]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym._Module32Next_8
sub esp, 8
test eax, eax
jne 0x4017b4
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret