joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45018c
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 0x450337
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x450318
mov dl, 1
mov eax, dword [0x415228]
call fcn.00403144
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403ee4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x450307
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.0043e0f0
test al, al
je 0x4502fa
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x450348
lea eax, [ebp - 0x254]
call fcn.00408c60
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4502fa
xor eax, eax
push ebp
push 0x4502f3
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 0x450380
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4502dc
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404154
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4502dc
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404154
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4502fa
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4501fd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00418d04
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45033e
lea eax, [ebp - 0x260]
call fcn.00403ee4
ret

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

Disassembly:
push ecx
mov eax, dword [0x45fbb4]
cmp byte [eax + 0xa5], 0
jne 0x450cdd
cmp dword [0x45fbcc], 0
jne 0x450c9e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x450c28
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x45fbcc], eax
cmp dword [0x45fbc8], 0
jne 0x450cb9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x45fbc8], eax
cmp dword [0x45fbd0], 0
jne 0x450cdd
push esp
push 0
push 0
push 0x450bcc
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x45fbd0], eax
pop edx
ret
Function at 0x450dd4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x450deb
add esp, 0xfffffff0
call fcn.00403498
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041cb14
mov eax, dword [0x45e060]
cmp word [eax + 2], 0
jne 0x450e13
mov eax, dword [0x45e060]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004524ac
mov eax, dword [0x45e114]
cmp word [eax + 2], 0
jne 0x450e2d
mov eax, dword [0x45e114]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004526a4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x414e0c]
call fcn.00403144
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x414e0c]
call fcn.00403144
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41f010]
call fcn.00426914
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x450fb4
mov eax, dword [0x45df7c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00426ce4
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x452c44
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x45df7c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c3b0
test eax, eax
je 0x450f22
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408654
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c3d8
test eax, eax
je 0x450f36
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404154
mov eax, dword [0x45de50]
cmp byte [eax], 0
jne 0x450f6a
mov eax, ebx
call fcn.004510dc
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00452e20
mov eax, ebx
call fcn.004537e4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x450faa
call fcn.004034f0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45135c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x45fbb4]
cmp dword [eax + 0x30], 0
je 0x451406
cmp dword [ebx + 0x94], 0
jne 0x451400
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4512ec
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x451400
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 0x4513c6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x451400
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00417174
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4513d5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x451f68
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x451f9d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403fd4
jmp 0x451faa
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403f38
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x452ffc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45303d
mov eax, esi
call fcn.004398f8
test al, al
je 0x45303d
mov eax, dword [ebx + 0x84]
call fcn.004395f4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45303d
push 0
mov eax, dword [ebx + 0x84]
call fcn.004395f4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x453cfc
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x4143a4]
call fcn.00404850
xor eax, eax
push ebp
push 0x453e40
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x45dd58], 0
jne 0x453d4f
mov ecx, dword [0x45de60]
mov dl, 1
mov eax, dword [0x40704c]
call fcn.0040b65c
call fcn.00403900
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402b88
mov eax, ebx
call fcn.00404720
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x453e50
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004057d4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404730
test eax, eax
jle 0x453de7
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x453de0
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.0040416c
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404154
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00407e58
test eax, eax
jne 0x453de0
mov ebx, 0x15
jmp 0x453dec
mov ebx, 0x10
jmp 0x453dec
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x45dd58]
call fcn.00453c54
mov eax, dword [ebp - 8]
call fcn.00453c54
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004057ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453e47
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00403f08
lea eax, [ebp - 0x10]
mov edx, dword [0x4143a4]
call fcn.00404920
ret
Function at 0x4e930b
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
bswap esi
lea esi, [eax*4]
bswap si
lea esi, [ebx + ebp]
mov si, 0x20ca
jmp 0x52a4be
mov bp, ax
xchg bl, bh
mov bh, 0x63
lea esi, [eax*4]
bswap esi
mov bl, 0x1f
pop ebx
mov ebp, dword [esp]
lea esi, [ebx - 0x4b9e]
bswap ebp
mov bp, word [esp]
pushfd
lea esp, [esp + 2]
lea ebp, [edi - 0x95]
pop si
xchg si, bp
bswap si
bswap esi
bswap si
push edx
mov dword [esp], edi
mov ebp, dword [esp + 0x10]
not si
mov esi, 0x1fda7e4d
jmp 0x4e9288
pushfd
pop word [esp]
push word [esp + 1]
mov word [esp], cx
pop word [esp]
mov byte [esp], bl
mov byte [esp], dl
lea esp, [esp + 1]
lea esp, [esp]
mov byte [esp], ch
mov byte [esp], bl
push cx
pushfd
pushfd
lea esp, [esp + 3]
mov dword [esp + 1], esi
mov esi, 0x46bb65e3
lea esi, [esp + ebp]
lea esi, [ecx + ebp]
mov si, 0x63dd
push edx
bswap si
pop esi
lea esi, [eax + edx]
push bp
lea esi, [esi + ebp]
pushfd
push eax
lea esi, [ebp + 0x18fb2a5f]
lea esi, [eax*4]
lea esp, [esp + 2]
mov dword [esp], ebp
mov bp, 0x4968
lea ebp, [edx + ebp]
pushfd
mov ebp, esi
mov si, word [esp]
mov ebp, dword [esp + 1]
mov bp, word [esp + 1]
push dword [esp + 2]
mov esi, dword [esp + 6]
push ecx
push dword [esp + 7]
mov word [esp + 1], dx
mov dword [esp], ebx
push di
lea esp, [esp + 2]
mov bl, cl
mov si, bx
jmp 0x4e92ad
mov esi, 0x12320cfb
pushfd
xchg dword [esp], esi
pop si
push word [esp + 1]
jmp 0x52a57f

Function at 0x4eab59
Capabilities:
Encode data using xor

Disassembly:
push di
mov byte [esp], dh
lea esp, [esp + 1]
push esi
lea esp, [esp + 4]
jmp 0x4eaac6
mov byte [esp + 2], ch
jmp 0x4eaba2
mov byte [esp + 2], ch
push dx
pop word [esp]
pop word [esp]
jmp 0x4eaaf6
mov byte [esp], al
mov byte [esp], al
lea esp, [esp + 1]
mov word [esp], di
jg 0x4eaa95
jle 0x4eaaa7
push 0x1d43359a
call fcn.004f9f9d
test al, 0x3a
test al, 0xcf
cmp bh, ah
stosd dword es:[edi], eax
or dword [ebx - 0x12], edi
jmp 0x4eab44
lea esp, [esp + 2]
jmp 0x4eab1c
pop word [esp]
lea esp, [esp + 2]
push 0x1d44ab46
call fcn.004f9f9d
xor ecx, ecx
cmp dword [esp + 8], ecx
jmp 0x4eab6b
ret
scasb al, byte es:[edi]
sub ebx, ebx
call fcn.004f9f9d
pop es
mov dword [0x66a55633], eax
salc
mov esi, 0xf7f70cf
or byte [ebp - 0x14fbdb9c], 0xc7
lea esp, [esp + 4]
jmp 0x4eab26
xor ch, byte [ebp + 0xb7443d]
lcall 0x7607, 0x46b0c064
int 0x8b
push esp
and al, 4
jbe 0x4eab3a
mov edx, dword [esp + 4]
movzx edx, byte [ecx + edx]
rol eax, 7
xor eax, edx
inc ecx
cmp ecx, dword [esp + 8]
jb 0x4eab6d
jae 0x4eab3a
movsd dword es:[edi], dword [esi]
jmp 0x5a5417
push dx
pop word [esp]
jmp 0x4eab14
call fcn.005a5449
Function at 0x4f0020
Capabilities:
Check for vm using instruction vpcext

Disassembly:
mov ebx, dword [esp + 0x14]
pushal
mov word [esp + 9], bx
pop word [esp + 0x19]
mov dword [esp + 0x14], esp
push esi
push word [esp + 6]
mov byte [esp + 0x14], ah
pop dword [esp + 6]
mov word [esp + 0x1a], sp
lea esp, [esp + 0x13]
lea esp, [esp + 0xc]
lea esp, [esp + 1]
push ebx
mov ebx, dword [esp]
push edx
lea esp, [esp + 1]
push ecx
mov byte [esp + 1], dh
lea ebx, [edi*4]
lea esp, [esp + 3]
mov ebx, dword [esp]
pushal
mov bx, 0x7431
not bx
lea esp, [esp + 0xf]
xchg byte [esp + 8], bh
lea esp, [esp + 1]
jmp 0x4effe8

Function at 0x516531
Capabilities:
Resolve function by parsing pe exports

Disassembly:
pushfd
lea esp, [esp + 4]
pushal
lea esp, [esp + 0x20]
jmp 0x4ea710

Function at 0x517189
Capabilities:
Resolve function by parsing pe exports

Disassembly:
call fcn.004ea6d5
pushal
lea esp, [esp + 0x20]
pushfd
lea esp, [esp + 4]
jmp 0x4ea710
Function at 0x5f17f3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
call 0x5f0f6c
push ebp
push word [esp]
pushfd
push word [esp + 1]
mov dword [esp + 7], eax
push esi
pop word [esp + 1]
lea esp, [esp + 0xc]
pushfd
mov byte [esp + 2], ch
mov byte [esp], ch
lea esp, [esp + 2]
mov dword [esp], ecx
mov ch, 0x8a
push bp
lea esp, [esp]
lea ecx, [0x19266d09]
mov cx, word [esp + 1]
push word [esp + 1]
push ebp
mov ecx, 0x549567d7
xchg ch, cl
mov cx, 0x7d82
mov ch, cl
mov cx, 0x6f97
mov ch, 0x8d
mov ecx, 0x5e2764a2
lea ecx, [ebp*4]
mov ch, dl
mov ecx, 0x31aa36c1
mov cx, word [esp]
mov ch, byte [esp]
sete ch
lea ecx, [eax*4]
lea ecx, [0x28351045]
not ecx
lea ecx, [edx - 0x38]
mov cl, 0xe0
lea ecx, [ecx + ebx]
mov ecx, dword [esp + 8]
lea esp, [esp + 0xc]
push 0x238f73d8
pushfd
add dword [esp + 4], 0x711274d4
push bx
mov byte [esp], bl
mov word [esp], dx
mov byte [esp], cl
mov word [esp], cx
mov byte [esp], bl
mov byte [esp], bh
push word [esp]
pop word [esp]
mov word [esp], ax
push word [esp + 1]
mov byte [esp + 1], al
push word [esp + 3]
lea esp, [esp + 2]
lea esp, [esp + 4]
pushal
jnp 0x5f0f67
jp 0x5f0f67

Function at 0x5f2310
Capabilities:
Encrypt data using rc4 prga

Disassembly:
pushal
pop dword [esp + 0x16]
pop dword [esp + 0xb]
mov word [esp + 0x11], dx
mov word [esp + 0xa], si
Function at 0x603d7b
Capabilities:
Encode data using xor

Disassembly:
cmp dword [0x61dc38], 3
jne 0x603ddb
push ebx
xor ebx, ebx
cmp dword [0x61dc20], ebx
push edi
call int.00637960
inc esp
jle 0x603dc9
push esi
mov esi, dword [0x61dc24]
add esi, 0x10
push 0x8000
push 0
push dword [esi - 4]
call fcn.00637a93
xor eax, 0x6a36ff
push dword [0x61c590]
call edi
add esi, 0x14
inc ebx
cmp ebx, dword [0x61dc20]
jl 0x603da0
pop esi
push dword [0x61dc24]
push 0
push dword [0x61c590]
call edi
pop edi
pop ebx
push dword [0x61c590]
call int.00637d34
wait
and dword [0x61c590], 0
ret
Function at 0x62bcc7
Capabilities:
Encode data using xor

Disassembly:
push bx
lea esp, [esp]
lea esp, [esp]
mov byte [esp], dl
lea esp, [esp + 1]
push ax
mov byte [esp], ah
Function at 0x630bb1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
pushal
push word [esp + 0xb]
push word [esp + 0x1b]
jae 0x630bfb
jb 0x630bfb
mov edx, 0x31c2a737
cwde
cmp byte [eax + 0x64b04126], dh
loop 0x630b95
and esp, 0xa7006308
add al, byte [eax]
add byte [ecx + 0x78], ah
mov ch, 0x79
mov bl, 0x66
mov dword [esp + 1], ebp
push dword [esp + 0xb]
Function at 0x636cb5
Capabilities:
Encode data using xor

Disassembly:
pushfd
lea esp, [esp]
lea esp, [esp + 2]
lea esp, [esp]
mov byte [esp], bl
push word [esp + 1]
lea esp, [esp + 4]
push 0x10230be2
pushfd
add dword [esp + 4], 0x2a427579
pushal
push dword [esp + 0x16]

Function at 0x638306
Capabilities:
Encode data using xor

Disassembly:
call 0x6381ea
pushfd
pop word [esp]
mov byte [esp], dl
lea esp, [esp + 2]
push 0x18c72a7d
pushfd
add dword [esp + 4], 0x6001834
push cx
lea esp, [esp + 1]
mov byte [esp], cl
lea esp, [esp + 1]
pushal
jle 0x6381e5
jg 0x6381e5
Function at 0x407dc0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47568b
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.00465d30
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x407e42
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00463757
mov eax, dword [eax]
push 0x4921f0
push eax
call fcn.00455af4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00465fbb
test bl, bl
je 0x407e42
push 0x4921f0
lea ecx, [esp + 0xc]
call fcn.00466397
push 0x495d58
lea ecx, [esp + 0xc]
call fcn.00466397
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 0x407e7e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00465fbb
jmp 0x407f49
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 0x407f02
lea edx, [esp + 0x7c]
push 0x495d54
push edx
call fcn.00455af4
add esp, 8
test eax, eax
je 0x407f02
lea eax, [esp + 0x7c]
push 0x495d50
push eax
call fcn.00455af4
add esp, 8
test eax, eax
je 0x407f02
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 0x407e92
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.00465fbb
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 0x408740
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 0x4087a2
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 0x4087b0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47570b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x49c5bc]
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 0x4088e8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x408816
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00465fbb
xor eax, eax
jmp 0x40895f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00466144
push esi
lea ecx, [esp + 0xc]
call fcn.004663d3
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40893d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.00408740
test eax, eax
jne 0x40893d
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 SysReAllocString
mov ecx, edi
call fcn.00408740
test eax, eax
jne 0x40893d
lea eax, [esp + 0x14]
push 0x495d6c
push eax
call fcn.00456bd0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40891c
lea ecx, [esp + 0x14]
push 0x495d68
push ecx
call fcn.00456b50
mov esi, eax
add esp, 8
test esi, esi
jne 0x40891c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40891f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004660f4
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40882e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00465fbb
xor eax, eax
jmp 0x40895f
mov byte [esi], 0
push 0x495d64
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.00465fbb
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 0x4191b0
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 0x41921e
cmp si, 0x69
ja 0x41921e
add esi, 0xffd0
cmp si, 0x11
je 0x4191ee
push 0x11
call edi
test ax, ax
jge 0x4191ee
or esi, 0x2000
cmp si, 0x10
je 0x419203
push 0x10
call edi
test ax, ax
jge 0x419203
or esi, 0x4000
cmp si, 0x12
je 0x419218
push 0x12
call edi
test ax, ax
jge 0x419218
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41922b
mov esi, 0xbd
jmp 0x4191df
cmp si, 0x6e
jne 0x419238
mov esi, 0xbe
jmp 0x4191df
cmp si, 0x6f
jne 0x4191d9
mov esi, 0xbf
jmp 0x4191df

Function at 0x41a8d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4ad448]
xor edx, edx
cmp eax, edx
jne 0x41a8f6
xor eax, eax
mov byte [eax + 0x4ad348], al
inc eax
cmp eax, 0x100
jl 0x41a8de
mov dword [0x4ad448], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4ad348
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41a987
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 0x41a95a
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 0x41a928
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41aa00
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 0x41aa53
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 0x41aa3a
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