joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f3470
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x57fb40
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.00578531
mov edi, dword [eax + 0xc]
xor ebp, ebp
cmp edi, ebp
jne 0x4f34a3
xor al, al
jmp 0x4f35cf
mov ebx, dword [esp + 0x28]
push 0xf1
and ebx, 0xffff
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebp
jne 0x4f34c5
xor al, al
jmp 0x4f35cf
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
jne 0x4f34d8
xor al, al
jmp 0x4f35cf
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebp
jne 0x4f34ec
xor al, al
jmp 0x4f35cf
xor eax, eax
xor ecx, ecx
mov ax, word [edi + 2]
push ebp
mov dword [esi + 0x14], eax
xor eax, eax
mov ax, word [edi + 4]
mov edx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov cx, word [edi + 6]
push ecx
push 5
push eax
push edx
lea ecx, [esi + 0x1c]
call fcn.0056c412
test eax, eax
jne 0x4f3520
xor al, al
jmp 0x4f35cf
mov eax, dword [esi + 0x34]
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0x79acdc
mov dword [esp + 0x20], ebp
call fcn.00578531
mov eax, dword [eax + 0xc]
push ebx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x14]
call fcn.00575026
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x10]
push 0xc0c0c0
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
lea ecx, [esp + 0x10]
call fcn.0057507d
xor ecx, ecx
lea ebx, [edi + 8]
cmp word [edi + 6], cx
jbe 0x4f35b4
mov ax, word [ebx]
test ax, ax
je 0x4f35a6
mov edx, ecx
inc ecx
mov dword [esp + 0x28], ecx
push eax
push edx
mov ecx, esi
call fcn.004f35f0
mov ecx, dword [esp + 0x28]
xor edx, edx
inc ebp
mov dx, word [edi + 6]
add ebx, 2
cmp ebp, edx
jl 0x4f358a
mov dword [esp + 0x10], method.CGdiObject.virtual_0
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 1
call fcn.0057507d
mov al, 1
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x4f3af0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x50
push esi
mov esi, dword [esp + 0x58]
push edi
push eax
mov ecx, esi
call fcn.005767d3
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x4f3b36
lea ecx, [esp + 8]
push 0x50
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 8]
push edx
call fcn.0055b718
mov ecx, dword [esp + 0x68]
add esp, 4
pop edi
mov dword [ecx], eax
pop esi
add esp, 0x50
ret 0xc
mov edx, dword [esp + 0x64]
lea ecx, [esp + 8]
mov eax, dword [edx]
push eax
push 0x7c1478
push ecx
call fcn.0055d5bf
add esp, 0xc
lea edx, [esp + 8]
push edx
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
add esp, 0x50
ret 0xc
Function at 0x4fc9f0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
call fcn.00502e70
mov ebp, dword [esp + 0x220]
mov eax, dword [esp + 0x21c]
push ebp
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edi, eax
cmp edi, 0x20
ja 0x4fcae9
lea ecx, [esp + 0x10]
push ecx
push str..htm
push accept
mov ecx, esi
call fcn.004fcb00
test eax, eax
jne 0x4fcae9
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push accept
mov ecx, esi
call fcn.004fcb00
test eax, eax
jne 0x4fcae9
lea edx, [esp + 0x10]
push 0x7c29b8
push edx
call fcn.0055c9b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4fcaba
lea eax, [esp + 0x10]
push 0x7c29b4
push eax
call fcn.0055c9b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4fcaba
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x4fcabd
mov byte [esi], 0
push 0x7c217c
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8

Function at 0x4fcb00
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 0x4fcb62
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
Function at 0x502db0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5807b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x118]
test eax, eax
jne 0x502e60
mov eax, dword [0x810100]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.0056e5bf
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.0056e60e
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.0056e56b
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA_1]
mov esi, eax
test esi, esi
je 0x502e47
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x502e47
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x118], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary_1]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.0056e1db
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x505f60
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x580c40
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x506107
mov ecx, dword [0x810100]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0x50605c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.00504c80
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.0056e2c8
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.0056e1db
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x7c217c
call fcn.0056e249
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.00505040
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.0056e2c8
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.0056e1db
lea ecx, [esp + 0xc]
call fcn.0056e6a3
mov ecx, dword [esp + 0xc]
push 0x7c2bbc
push ecx
call fcn.0055b864
add esp, 8
test eax, eax
je 0x506084
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x505fbd
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.0056e1db
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.0056e1db
jmp 0x50610b
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.00505d00
test eax, eax
push 0
je 0x5060ef
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.005043a0
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x5060d5
cmp eax, 0x64
jg 0x5060c3
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x506060
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x506060
cmp eax, 0x64
jge 0x50605c
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x506060
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.005043a0
mov esi, eax
jmp 0x506060
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x506115
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x5312e0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x802f5c]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x5312f3
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x531334
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x803004]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x531366
mov bl, byte [esp + ecx + 0x4c]
jmp 0x53136a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x53135b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x531388
mov bl, byte [esp + ecx + 0x4c]
jmp 0x53138c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x53137d
xor ecx, ecx
mov eax, 0x802f6c
xor ebx, ebx
mov bl, byte [ecx + 0x803014]
cmp byte [esp + ebx + 0x14], 0
je 0x5313b7
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x80302c]
cmp byte [esp + ebx + 0x14], 0
je 0x5313ce
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x53139e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x531327
lea edx, [esp + 0x84]
push edx
call fcn.00531410
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x5468b0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x872e78]
xor edx, edx
cmp eax, edx
jne 0x5468d6
xor eax, eax
mov byte [eax + 0x872d78], al
inc eax
cmp eax, 0x100
jl 0x5468be
mov dword [0x872e78], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x872d78
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x546967
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x54693a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x546908
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x546970
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x5469c3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x5469aa
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x54d350
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x581c8e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.0054dc70
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x79ed2c
call fcn.0056df1c
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x54d3e3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0056df1c
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x54d3dc
push 0
mov ecx, eax
call fcn.005444f0
mov dword [esi + 0xc], eax
jmp 0x54d3e5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x54d3e5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x414190
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x4ae480]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetWindowLongW]
push esi
mov esi, edx
push edi
mov edi, ecx
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x5c], edi
movzx eax, word [esi + 0xc]
cmp eax, 0x66
je 0x4141c5
cmp eax, 0x46
jne 0x414318
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x414318
push 8
push edi
call ebx
mov edi, eax
mov ebx, 0x15
mov eax, dword [edi + 0x1035c]
lea ecx, [edi + 0x10131]
test eax, eax
jne 0x41423b
mov eax, dword [0x4b2a34]
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
push ecx
movups xmmword [ecx + 0x10], xmm0
movq qword [ecx + 0x20], xmm0
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x5c]
mov dword [ecx + 4], eax
lea eax, [edi + 0x1015a]
mov dword [ecx + 0x10], eax
mov eax, 0x100
mov dword [ecx], 0x28
mov word [ecx + 0x18], ax
mov dword [ecx + 0xc], 0x10001
call dword [sym.imp.COMDLG32.dll_FindTextW]
mov dword [edi + 0x1035c], eax
cmp dword [edi + 0x10360], 0
jne 0x414253
cmp dword [edi + 0x10364], 0
mov ecx, 0x17
cmove ebx, ecx
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x414264
and ebx, 0xffffffef
or ebx, 0x40
push ebx
push 0
push 0
push dword [edi + 0x10364]
push dword [edi + 0x10360]
push 0
push dword [edi + 0x1035c]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [edi + 0x1035c]
test eax, eax
je 0x414307
test bl, 0x40
je 0x414307
push eax
call dword [sym.imp.USER32.dll_GetTopWindow]
mov esi, eax
test esi, esi
je 0x414304
mov ebx, dword [sym.imp.USER32.dll_GetWindowLongW]
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4142f5
push 0xfffffffffffffff0
push esi
call ebx
test eax, 0x8000000
jne 0x4142f5
push 0x28
lea eax, [ebp - 0x54]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameW]
lea eax, [ebp - 0x54]
push 0x4a50f0
push eax
call fcn.0047fa85
add esp, 8
test eax, eax
jne 0x4142f5
push esi
call dword [sym.imp.USER32.dll_SetFocus]
push 0xffffffffffffffff
push 0
push 0xb1
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x4142a5
mov esi, dword [ebp - 0x58]
mov eax, dword [esi]
mov ebx, dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [edi + 0xbc], eax
mov edi, dword [ebp - 0x5c]
cmp word [esi + 0xc], 0x72
jne 0x414340
push 8
push edi
call ebx
mov ecx, edi
or dword [eax + 0x1013d], 8
mov edx, dword [esi]
mov dword [eax + 0xbc], edx
lea edx, [eax + 0x10131]
call fcn.004140c0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047c26b
mov esp, ebp
pop ebp
ret
Function at 0x4039c8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xffffffff
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
jecxz 0x4039e9
movzx edx, al
xor dl, byte [esi]
inc esi
shr eax, 8
xor eax, dword [edi + edx*4]
loop 0x4039db
not eax
jmp 0x4039f2
jmp 0x4039f7
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4420b0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f81fb
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.004e8563
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x442132
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004e5c8a
mov eax, dword [eax]
push 0x56aea4
push eax
call fcn.004d81b4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004e87ee
test bl, bl
je 0x442132
push 0x56aea4
lea ecx, [esp + 0xc]
call fcn.004e8bca
push 0x56aeb0
lea ecx, [esp + 0xc]
call fcn.004e8bca
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 0x44216e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004e87ee
jmp 0x442239
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 0x4421f2
lea edx, [esp + 0x7c]
push 0x56aeac
push edx
call fcn.004d81b4
add esp, 8
test eax, eax
je 0x4421f2
lea eax, [esp + 0x7c]
push 0x56aea8
push eax
call fcn.004d81b4
add esp, 8
test eax, eax
je 0x4421f2
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 0x442182
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.004e87ee
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 0x442a30
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 0x442a92
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
Function at 0x442aa0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f827b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5da1c8]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x442bd8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x442b06
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004e87ee
xor eax, eax
jmp 0x442c4f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004e8977
push esi
lea ecx, [esp + 0xc]
call fcn.004e8c06
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x56aee4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x442c2d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00442a30
test eax, eax
jne 0x442c2d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.00442a30
test eax, eax
jne 0x442c2d
lea eax, [esp + 0x14]
push 0x56aec0
push eax
call fcn.004d93a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x442c0c
lea ecx, [esp + 0x14]
push 0x56aebc
push ecx
call fcn.004d9320
mov esi, eax
add esp, 8
test esi, esi
jne 0x442c0c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x442c0f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004e8927
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x442b1e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004e87ee
xor eax, eax
jmp 0x442c4f
mov byte [esi], 0
push 0x56aeb8
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004e87ee
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x4559d0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x455a3e
cmp si, 0x69
ja 0x455a3e
add esi, 0xffd0
cmp si, 0x11
je 0x455a0e
push 0x11
call edi
test ax, ax
jge 0x455a0e
or esi, 0x2000
cmp si, 0x10
je 0x455a23
push 0x10
call edi
test ax, ax
jge 0x455a23
or esi, 0x4000
cmp si, 0x12
je 0x455a38
push 0x12
call edi
test ax, ax
jge 0x455a38
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x455a4b
mov esi, 0xbd
jmp 0x4559ff
cmp si, 0x6e
jne 0x455a58
mov esi, 0xbe
jmp 0x4559ff
cmp si, 0x6f
jne 0x4559f9
mov esi, 0xbf
jmp 0x4559ff

Function at 0x4575e0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5eb208]
xor edx, edx
cmp eax, edx
jne 0x457606
xor eax, eax
mov byte [eax + 0x5eb108], al
inc eax
cmp eax, 0x100
jl 0x4575ee
mov dword [0x5eb208], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5eb108
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x457697
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x45766a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x457638
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x457710
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x457763
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x45774a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret