joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4472f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x51e7e8
cmp dword [edi], 0
jne 0x44736c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x51e7e4]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x51aa44
mov ecx, 2
call fcn.00402904
mov edx, 0x4472c8
lea eax, [esi + 5]
call fcn.004472e8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004472e8
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x447341
mov dword [0x51e7e4], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x447490
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4474e0]
test si, 4
je 0x4474a4
or bl, 1
test si, 8
je 0x4474ae
or bl, 4
test si, 1
je 0x4474b8
or bl, 8
test si, 2
je 0x4474c2
or bl, 0x10
test si, 0x10
je 0x4474cc
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4474db
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4474e4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44751c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4474fd
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44750c
or bl, 4
test esi, 0x20000000
je 0x447517
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44e1cc
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 0x44e371
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x40fde0]
call fcn.00403038
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00403ce0
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44e347
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.0043d53c
test al, al
je 0x44e33a
lea eax, [ebp - 0xc]
push eax
push 0xf003f
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, 0x44e380
lea eax, [ebp - 0x254]
call fcn.004099fc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44e33a
xor eax, eax
push ebp
push 0x44e333
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 0x44e3b8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44e31c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403f0c
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x44e31c
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403f0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e33a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44e23d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.00413930
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e378
lea eax, [ebp - 0x260]
call fcn.00403ce0
ret

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

Disassembly:
push ecx
mov eax, dword [0x51e7b4]
cmp byte [eax + 0x8d], 0
jne 0x44eb85
cmp dword [0x51e7f4], 0
jne 0x44eb46
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44ead0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x51e7f4], eax
cmp dword [0x51e7f0], 0
jne 0x44eb61
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x51e7f0], eax
cmp dword [0x51e7f8], 0
jne 0x44eb85
push esp
push 0
push 0
push 0x44ea74
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x51e7f8], eax
pop edx
ret
Function at 0x44ec7c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44ec93
add esp, 0xfffffff0
call fcn.004033a8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004181f0
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x40f8b4]
call fcn.00403038
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x40f8b4]
call fcn.00403038
mov dword [ebx + 0x90], eax
xor eax, eax
mov dword [ebx + 0x48], eax
xor eax, eax
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0x44], 0x80000018
mov dword [ebx + 0x60], 0x1f4
mov byte [ebx + 0x64], 1
xor eax, eax
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x5c], 0x9c4
mov byte [ebx + 0x70], 0
mov byte [ebx + 0x85], 1
mov dl, 1
mov eax, dword [0x41a01c]
call fcn.00421948
mov esi, eax
mov dword [ebx + 0x80], esi
push 0x44ee04
mov eax, dword [0x51d69c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00421cec
mov eax, dword [ebx + 0x80]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x45075c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x51d69c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
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.0040ce84
test eax, eax
je 0x44ed83
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409314
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040ceac
test eax, eax
je 0x44ed97
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x74]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00403f0c
mov eax, dword [0x51d3fc]
cmp byte [eax], 0
jne 0x44edc8
mov eax, ebx
call fcn.0044eef0
mov byte [ebx + 0x41], 1
mov byte [ebx + 0x42], 1
mov byte [ebx + 0x43], 1
mov byte [ebx + 0x86], 1
xor eax, eax
mov dword [ebx + 0x88], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44edfa
call fcn.00403400
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44f14c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x51e7b4]
cmp dword [eax + 0x24], 0
je 0x44f1dc
cmp dword [ebx + 0x7c], 0
jne 0x44f1d9
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44f0e0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x78]
cmp dword [eax + 8], 0
je 0x44f1d9
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 0x44f1a8
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x78]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44f1d9
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x78]
call fcn.00411344
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44f1b4
inc dword [ebx + 0x7c]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x44fb2c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x8c], 0
je 0x44fb61
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403dc4
jmp 0x44fb6b
mov eax, esi
mov edx, dword [ebx + 0x74]
call fcn.00403d78
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x450a8c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x450ac4
mov eax, esi
call fcn.0043917c
test al, al
je 0x450ac4
mov eax, dword [ebx + 0x6c]
call fcn.00438d54
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x450ac4
push 0
mov eax, dword [ebx + 0x6c]
call fcn.00438d54
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45bf24
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45bffc
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x51e85c], 0
jne 0x45bfe0
lea eax, [ebp - 4]
mov edx, 0x45c014
call fcn.00403d78
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404120
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x45bfe0
mov eax, ebx
call fcn.004027a8
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x45bfd9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x45bfc3
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x45c024
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x45bfc3
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x51e85c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45bfe0
mov eax, dword [ebp - 0xc]
call fcn.004027c0
ret
mov ebx, dword [0x51e85c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c003
lea eax, [ebp - 4]
call fcn.00403ce0
ret
Function at 0x469fa8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x204], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x46a18a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x469ff2
lea edx, [ebp - 0x204]
mov eax, esi
call fcn.00469a78
mov eax, dword [ebp - 0x204]
mov edx, ebx
call fcn.0040ca30
cmp al, 1
jne 0x469ff2
dec ebx
mov edi, ebx
mov eax, esi
call fcn.00469d8c
test al, al
je 0x46a12a
test edi, edi
jge 0x46a009
xor edi, edi
lea ebx, [edi + 1]
lea edx, [ebp - 0x204]
mov eax, esi
call fcn.00469a78
mov eax, dword [ebp - 0x204]
call fcn.00403f5c
cmp ebx, eax
jge 0x46a050
lea edx, [ebp - 0x204]
mov eax, esi
call fcn.00469a78
mov eax, dword [ebp - 0x204]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x51dc60]
and eax, 0xff
bt dword [edx], eax
jae 0x46a050
inc ebx
mov eax, dword [esi + 0x20c]
cmp edi, eax
jl 0x46a05e
mov edi, eax
mov ebx, edi
mov ecx, ebx
mov edx, ebx
mov eax, esi
call fcn.00469f84
cmp ebx, edi
je 0x46a122
lea eax, [ebp - 0x100]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x200]
mov byte [eax], 0
inc eax
dec edx
jne 0x46a088
mov byte [ebp - 0x1f0], 0x81
mov eax, esi
mov bx, 0xffcf
call fcn.00403244
and eax, 0x7f
movzx eax, word [eax*2 + 0x51ae58]
mov byte [ebp + eax - 0x200], 0x81
lea eax, [ebp - 0x200]
push eax
call sub.user32.dll_SetKeyboardState
push 1
mov eax, esi
mov bx, 0xffcf
call fcn.00403244
and eax, 0x7f
movzx eax, word [eax*2 + 0x51ae58]
push eax
push pe_nt_image_headers32
mov eax, esi
call fcn.00438d54
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, esi
mov bx, 0xffcf
call fcn.00403244
and eax, 0x7f
movzx eax, word [eax*2 + 0x51ae58]
push eax
push 0x101
mov eax, esi
call fcn.00438d54
push eax
call sub.user32.dll_SendMessageA
lea eax, [ebp - 0x100]
push eax
call sub.user32.dll_SetKeyboardState
mov dword [esi + 0x214], edi
jmp 0x46a171
test edi, edi
jge 0x46a130
xor edi, edi
lea edx, [ebp - 0x204]
mov eax, esi
call fcn.00469a78
mov eax, dword [ebp - 0x204]
call fcn.00403f5c
cmp edi, eax
jl 0x46a166
lea edx, [ebp - 0x204]
mov eax, esi
call fcn.00469a78
mov eax, dword [ebp - 0x204]
call fcn.00403f5c
mov edi, eax
mov ecx, edi
mov edx, edi
mov eax, esi
call fcn.00469f84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a191
lea eax, [ebp - 0x204]
call fcn.00403ce0
ret

Function at 0x47f913
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x51bbba
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x47f96b
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x51bbdb
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x47f961
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x47f96f
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x4956b8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov ebx, dword [eax + 0x1ec]
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x49585b
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x224]
mov eax, dword [ebx + 0x10]
call fcn.0041b3a8
cmp byte [ebp + 8], 0
je 0x495711
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0xc]
mov eax, dword [ebx + 0x10]
call fcn.0041b278
jmp 0x49571f
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 8]
mov eax, dword [ebx + 0x10]
call fcn.0041b278
mov eax, dword [ebx + 0x10]
call fcn.0041b3a0
dec eax
jle 0x495765
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x10]
call fcn.0041b270
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
push 0
push 0
lea eax, [ebp - 0x24]
push eax
mov edi, dword [ebx + 0x10]
mov eax, edi
call fcn.0041b3a0
push eax
push 0x12200
call sub.gdi32.dll_ExtCreatePen
mov edx, eax
mov eax, edi
call fcn.0041b338
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov edi, dword [eax - 8]
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x28]
call dword [ebx + 0x24]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + esi*4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
shr ecx, 1
add edx, ecx
add eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov bx, 0xffcf
call fcn.00403244
test al, al
je 0x4957ae
test esi, esi
jne 0x4957ae
inc dword [ebp - 0xc]
mov eax, esi
xor eax, 1
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + eax*4]
mov dword [ebp - 0x14], edx
add eax, 2
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x18], eax
lea eax, [esi + 2]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
add eax, dword [edx]
mov dword [ebp - 0x10], eax
xor ebx, ebx
lea eax, [esi + ebx]
mov edx, dword [ebp - 0xc]
mov dword [edi + eax*4], edx
mov eax, esi
xor eax, 1
mov edx, eax
add edx, ebx
mov ecx, dword [ebp - 0x14]
mov dword [edi + edx*4], ecx
add ebx, 2
lea edx, [esi + ebx]
mov ecx, dword [ebp - 0xc]
mov dword [edi + edx*4], ecx
add eax, ebx
mov edx, dword [ebp - 0x18]
mov dword [edi + eax*4], edx
add ebx, 2
inc dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + 0x28]
call dword [ecx + 0x24]
mov edx, dword [ebp - 4]
add eax, dword [edx]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jle 0x4957e4
shr ebx, 2
push ebx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 0xc]
push eax
push edi
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x1ec]
call fcn.0041becc
push eax
call sub.gdi32.dll_PolyPolyline
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4a8140
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a81d1
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [ebp + 8]
call fcn.004a7dac
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404120
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x4a81bb
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x51d89c]
call fcn.00405f94
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x4a7c64]
call fcn.0040c1cc
call fcn.00403754
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a81d8
lea eax, [ebp - 0x10]
call fcn.00403ce0
ret

Function at 0x4a81e4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a827f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404120
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4a8259
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x51dc94]
call fcn.00405f94
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x4a7c64]
call fcn.0040c1cc
call fcn.00403754
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004a7ddc
mov edx, dword [ebp + 8]
mov byte [edx], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8286
lea eax, [ebp - 0x10]
call fcn.00403ce0
ret

Function at 0x4b9714
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffe00
mov ebx, eax
lea eax, [esp + 0x100]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathA
push esp
push 0
push 0x4b9758
lea eax, [esp + 0x10c]
push eax
call sub.kernel32.dll_GetTempFileNameA
mov edx, ebx
mov eax, esp
call fcn.0040951c
add esp, 0x200
pop ebx
ret
Function at 0x50e0c4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404110
mov eax, dword [ebp - 8]
call fcn.00404110
mov eax, dword [ebp - 0xc]
call fcn.00404110
xor eax, eax
push ebp
push 0x50e193
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x50e1ac
call fcn.00403f64
lea eax, [ebp - 8]
mov edx, 0x50e1ac
call fcn.00403f64
lea eax, [ebp - 0xc]
mov edx, 0x50e1ac
call fcn.00403f64
mov bl, 1
push 1
lea eax, [ebp - 0xc]
call fcn.0040412c
push eax
lea eax, [ebp - 8]
call fcn.0040412c
push eax
lea eax, [ebp - 4]
call fcn.0040412c
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
jae 0x50e178
xor ebx, ebx
push 0
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, 0x50e1b8
call fcn.00403fa8
mov eax, dword [ebp - 0x10]
mov cx, word [0x50e1cc]
mov dl, 1
call fcn.00456b38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50e19a
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00403d04
ret
Function at 0x10001464
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x24], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov al, byte [esp + edi + 0x28]
mov cl, byte [esp + edi + 0x24]
mov bl, byte [esp + edi + 0x2c]
mov byte [esp + 0x10], al
mov al, byte [esp + edi + 0x20]
mov byte [esp + 0x14], cl
push 6
push eax
mov ecx, esi
mov byte [esp + 0x24], bl
mov byte [esp + 0x20], al
call fcn.10001760
mov dl, al
push 3
push ebx
mov ecx, esi
mov bl, dl
call fcn.10001760
mov edx, dword [esp + 0x10]
push 5
push edx
mov ecx, esi
xor bl, al
call fcn.10001760
xor bl, al
mov eax, dword [esp + 0x14]
push 4
push eax
mov ecx, esi
call fcn.10001760
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x18]
xor bl, al
push 3
mov byte [ecx + edi], bl
push edx
mov ecx, esi
call fcn.10001760
mov bl, al
mov eax, dword [esp + 0x1c]
push 5
push eax
mov ecx, esi
call fcn.10001760
mov ecx, dword [esp + 0x10]
push 4
push ecx
mov ecx, esi
xor bl, al
call fcn.10001760
mov edx, dword [esp + 0x14]
push 6
push edx
mov ecx, esi
xor bl, al
call fcn.10001760
mov ecx, dword [esp + 0x18]
xor bl, al
mov eax, dword [esi + 0xc]
push 5
push ecx
mov ecx, esi
mov byte [eax + edi + 4], bl
call fcn.10001760
mov edx, dword [esp + 0x1c]
push 4
push edx
mov ecx, esi
mov bl, al
call fcn.10001760
xor bl, al
mov eax, dword [esp + 0x10]
push 6
push eax
mov ecx, esi
call fcn.10001760
mov ecx, dword [esp + 0x14]
push 3
xor bl, al
push ecx
mov ecx, esi
call fcn.10001760
mov edx, dword [esi + 0xc]
xor bl, al
mov eax, dword [esp + 0x18]
push 4
push eax
mov ecx, esi
mov byte [edx + edi + 8], bl
call fcn.10001760
mov ecx, dword [esp + 0x1c]
push 6
push ecx
mov ecx, esi
mov bl, al
call fcn.10001760
mov edx, dword [esp + 0x10]
push 3
push edx
mov ecx, esi
xor bl, al
call fcn.10001760
xor bl, al
mov eax, dword [esp + 0x14]
push 5
push eax
mov ecx, esi
call fcn.10001760
mov ecx, dword [esi + 0xc]
xor bl, al
mov byte [ecx + edi + 0xc], bl
inc edi
cmp edi, 4
jl 0x10001488
pop edi
pop esi
pop ebx
add esp, 0x24
ret
Function at 0x10005abc
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and byte [ebp - 0x10], 0
push edi
xor eax, eax
lea edi, [ebp - 0xf]
stosd dword es:[edi], eax
push dword [ebp + 8]
stosd dword es:[edi], eax
push dword [ebp + 0xc]
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
pop edi
jne 0x10005b0b
mov eax, dword [ebp + 8]
shr eax, 0x10
test ax, ax
jne 0x10005b03
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push 0x10009064
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0xfffffffffffffffe
call dword [sym.imp.KERNEL32.dll_ExitProcess]
leave
ret 8

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219