joyce8/EMBER2024-capa huggingface dataset:
Function at 0x462330
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x462363
push esi
call fcn.00465440
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x46235c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4623e9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4623d2
mov eax, dword [esi + 8]
test eax, eax
je 0x462387
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4623ce
cmp eax, 2
je 0x4623d2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x46237a
cmp eax, 3
je 0x4623ad
cmp eax, 1
jne 0x46237a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x46237a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x46237a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00462410
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4623f8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00462410
add esp, 4
pop esi
ret

Function at 0x46e1b0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x46e253
test eax, eax
jbe 0x46e253
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x46e253
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x46e1fe
xor esi, esi
jmp 0x46e204
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x46e22f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.004700f0
add esi, eax
push esi
mov ebx, esi
call fcn.004700f0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x46e210
pop ebp
test edi, edi
pop edi
jne 0x46e253
test ebx, ebx
je 0x46e253
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0047e640
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x46e395
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x46e4ad
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46e4ad
mov eax, dword [esi + 0x3c]
push eax
call fcn.0048edb0
mov esi, eax
test esi, esi
je 0x46e4ad
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x46e4ad
mov ecx, esi
call fcn.0046e300
cmp edi, eax
jge 0x46e4ad
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x46e433
mov dword [esp + 0x34], 1
jmp 0x46e48e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x46e4ad
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0046d8b0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x476e10
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x476e5c
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x476e5c
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x476e46
push eax
call ebp
test ax, ax
jl 0x476e54
inc esi
add edi, 4
cmp esi, 6
jb 0x476e38
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.00476b10
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x47ab70
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x47abd0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x47abd0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x47abd0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x47abd0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x47abe0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x48f753
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x48f78b
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0048d7e0
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0048d7b8
jmp 0x48f797
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x490e48
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x490e8a
call fcn.00496a8d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x490e8a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x490e81
xor eax, eax
jmp 0x490e92
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00490e98
pop edi
pop esi
pop ebx
ret 4

Function at 0x496fbd
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x496feb
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x497009
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00496f23
jmp 0x497009
mov eax, dword [esi + 0x14]
test eax, eax
je 0x497009
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00496f23
test edi, edi
mov eax, edi
jne 0x496ff3
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x5c28ba
Capabilities:
Encode data using xor

Disassembly:
jmp 0x5ab4cb
xor ecx, ecx
jmp 0x5c28ee
push edi
lea esp, [esp + 4]
pushal
lea esp, [esp + 0x20]
jmp 0x5ab4c0

Function at 0x5ddfeb
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x5de0a3
pushfd
jmp 0x5de21d
call 0x5de270
adc al, 0x99
or dword [eax - 0x65], ebp
inc edi
leave
pop ecx
cmp bl, cl
jnp 0x5de08b
movsd dword es:[edi], dword [esi]
xor eax, 0xba6faf5c
push sp
cmc
lea esp, [esp + 2]
jmp 0x5de0c8
mov si, word [esp]
cmp si, sp
sub esp, 0x10
mov byte [esp + 4], bl
mov esi, eax
jmp 0x5de192
lea esp, [esp + 4]
pushal
mov dword [esp + 0x14], eax
lea esp, [esp + 0x20]
push esi
jmp 0x5de07d
lea esp, [esp + 1]
sub eax, edi
call 0x5de0bf
push eax
mov byte [esp], dl
lea esp, [esp + 0x14]
jmp 0x5de136
test cl, cl
pushfd
pop word [esp]
lea esp, [esp + 2]
jmp 0x5de10f
movzx edi, cl
sub esp, 0x13
pop word [esp + 3]
mov byte [esp + 0xa], ah
cmc
jmp 0x5de0b3
mov al, byte [esp]
movzx eax, byte [edx]
push edi
clc
jmp 0x5de0df
je 0x5ddff0
mov edi, 0x4e9b069e
mov di, 0x39c8
lea eax, [ebx*4]
mov di, 0x61ed
jmp 0x5de142
jne 0x5ddff0
je 0x5de067
mov cl, byte [esi + 1]
mov al, byte [esp]
xchg edi, eax
movzx eax, byte [edx + 1]
jmp 0x5de154
mov di, word [esp]
inc esi
not edi
mov edi, 0x2b3a2644
pushfd
jmp 0x5de1f5
lea esp, [esp + 0x10]
mov cl, byte [esi]
mov al, ch
lea eax, [eax + esi]
bsr eax, ebp
jmp 0x5de105
lea eax, [eax*4]
sbb ax, 0x3106
bsf eax, edi
setp al
jmp 0x5de16e
sub eax, edi
lea esp, [esp + 0x10]
je 0x5de067
jne 0x5ddff0
popal
invalid
sub esp, 0x17
pop dword [esp + 0xa]
lea esp, [esp + 3]
jmp 0x5de1b9
lea edi, [eax + edx]
lea esp, [esp + 4]
inc edx
movzx edi, cl
jmp 0x5de1dc
neg esi
mov esi, dword [esp]
mov esi, dword [esp]
jmp 0x5de229
pushal
pushfd
lea esp, [esp + 0x28]
pop edi
not si
jmp 0x5de202
pop esi
pushfd
mov dword [esp], ebp
lea esp, [esp + 4]
jmp 0x5de2c1
push eax
mov byte [esp + 1], al
pop word [esp]
push ecx
lea esp, [esp + 2]
jmp 0x5de29a
push bx
add esp, 0
mov byte [esp], dh
lea esp, [esp + 2]
or eax, reloc.oleaut32.dll_SysFreeString
jmp 0x5de260
lea esp, [esp + 4]
ret
test eax, eax
push edi
mov word [esp], bx
lea esp, [esp + 4]
jge 0x5de04f
jl 0x5de289
call fcn.005de432
div dword [edx - 0x20]
xchg dword [edx - 0x4d], esi
iretd
Function at 0x5de0bf
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x5de0a3
pushfd
jmp 0x5de21d
call 0x5de270
adc al, 0x99
or dword [eax - 0x65], ebp
inc edi
leave
pop ecx
cmp bl, cl
jnp 0x5de08b
movsd dword es:[edi], dword [esi]
xor eax, 0xba6faf5c
push sp
cmc
lea esp, [esp + 2]
jmp 0x5de0c8
mov si, word [esp]
cmp si, sp
sub esp, 0x10
mov byte [esp + 4], bl
mov esi, eax
jmp 0x5de192
lea esp, [esp + 4]
pushal
mov dword [esp + 0x14], eax
lea esp, [esp + 0x20]
push esi
jmp 0x5de07d
lea esp, [esp + 1]
sub eax, edi
call 0x5de0bf
push eax
mov byte [esp], dl
lea esp, [esp + 0x14]
jmp 0x5de136
test cl, cl
pushfd
pop word [esp]
lea esp, [esp + 2]
jmp 0x5de10f
movzx edi, cl
sub esp, 0x13
pop word [esp + 3]
mov byte [esp + 0xa], ah
cmc
jmp 0x5de0b3
mov al, byte [esp]
movzx eax, byte [edx]
push edi
clc
jmp 0x5de0df
je 0x5ddff0
mov edi, 0x4e9b069e
mov di, 0x39c8
lea eax, [ebx*4]
mov di, 0x61ed
jmp 0x5de142
jne 0x5ddff0
je 0x5de067
mov cl, byte [esi + 1]
mov al, byte [esp]
xchg edi, eax
movzx eax, byte [edx + 1]
jmp 0x5de154
mov di, word [esp]
inc esi
not edi
mov edi, 0x2b3a2644
pushfd
jmp 0x5de1f5
lea esp, [esp + 0x10]
mov cl, byte [esi]
mov al, ch
lea eax, [eax + esi]
bsr eax, ebp
jmp 0x5de105
lea eax, [eax*4]
sbb ax, 0x3106
bsf eax, edi
setp al
jmp 0x5de16e
sub eax, edi
lea esp, [esp + 0x10]
je 0x5de067
jne 0x5ddff0
popal
invalid
sub esp, 0x17
pop dword [esp + 0xa]
lea esp, [esp + 3]
jmp 0x5de1b9
lea edi, [eax + edx]
lea esp, [esp + 4]
inc edx
movzx edi, cl
jmp 0x5de1dc
neg esi
mov esi, dword [esp]
mov esi, dword [esp]
jmp 0x5de229
pushal
pushfd
lea esp, [esp + 0x28]
pop edi
not si
jmp 0x5de202
pop esi
pushfd
mov dword [esp], ebp
lea esp, [esp + 4]
jmp 0x5de2c1
push eax
mov byte [esp + 1], al
pop word [esp]
push ecx
lea esp, [esp + 2]
jmp 0x5de29a
push bx
add esp, 0
mov byte [esp], dh
lea esp, [esp + 2]
or eax, reloc.oleaut32.dll_SysFreeString
jmp 0x5de260
lea esp, [esp + 4]
ret
test eax, eax
push edi
mov word [esp], bx
lea esp, [esp + 4]
jge 0x5de04f
jl 0x5de289
call fcn.005de432
div dword [edx - 0x20]
xchg dword [edx - 0x4d], esi
iretd

Function at 0x70c795
Capabilities:
Parse pe header

Disassembly:
call fcn.0070b0c5
push dword [esp + 0x1f]
pop word [esp + 0xe]
pop dword [esp + 0x1b]
jmp 0x70c830
mov dword [esp + 1], esi
lea esp, [esp + 3]
pop word [esp]
pushal
call fcn.0070c812
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
jmp 0x70c888
push eax
jmp 0x70b0c0

Function at 0x70c7dc
Capabilities:
Parse pe header

Disassembly:
pushal
call fcn.0070c778
mov byte [esp + 1], dl
mov word [esp + 1], di
mov byte [esp], cl
push word [esp + 4]
jmp 0x70c78f

Function at 0x70c812
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
lea esp, [esp + 0x80]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
jmp 0x70c842
lea esp, [esp + 3]
mov dword [esp + 0x80], edi
jmp 0x70c7ef
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x405730
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
or dword [ebx], 8
push ebx
mov ebx, dword [edx + 0x1a335708]
test ebx, ebx
je 0x40583e
push esi
mov esi, ebx
mov edx, dword [ecx + 0x6a016a]
push 0
fld1
pop edx
dec ebp
add byte [eax], al
xchg edx, eax
add eax, 0x749a0111
pop es
add byte [esi + 4], al
add byte [eax], al
xor al, byte [eax]
mov esi, dword [esi + 8]
test esi, esi
jne 0x405748
mov esi, ebx
mov eax, dword [esi + 4]
test dword [ecx], ecx
je 0x405786
mov ecx, dword [esi]
mov edi, 1
push 9
push ecx
mov dword [esi + 4], edi
call 0xe640a3d0
mov esi, dword [esi + 8]
ljmp 0xefff
mov bh, 0x5b
mov esp, ebp
pop ebp
sbb byte [eax], bh
fist word [eax - 0x6f6f6f26]
nop
nop
invalid
nop
nop
Function at 0x4b2b20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x75000]
push edi
jmp 0x4b2b3a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b2b41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b2b30
mov eax, 1
add ebx, ebx
jne 0x4b2b53
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b2b64
jne 0x4b2b83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b2b83
dec eax
add ebx, ebx
jne 0x4b2b70
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b2b48
add ebx, ebx
jne 0x4b2b7f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b2bd5
xor ecx, ecx
sub eax, 3
jb 0x4b2b9b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b2c0a
sar eax, 1
mov ebp, eax
jmp 0x4b2ba6
add ebx, ebx
jne 0x4b2ba6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b2b74
inc ecx
add ebx, ebx
jne 0x4b2bb4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b2b74
add ebx, ebx
jne 0x4b2bc1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b2bb6
jne 0x4b2bd2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b2bb6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b2bf4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b2be6
jmp 0x4b2b36
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b2bf4
add edi, ecx
jmp 0x4b2b36
pop esi
mov edi, esi
mov ecx, 0x26e2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b2c12
cmp byte [edi], 0x13
jne 0x4b2c12
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4b2c17
lea edi, [esi + 0xaf000]
mov eax, dword [edi]
or eax, eax
je 0x4b2c8f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb38b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb39b4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b2c44
mov ecx, edi
jns 0x4b2c73
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xb39b8]
or eax, eax
je 0x4b2c89
mov dword [ebx], eax
add ebx, 4
jmp 0x4b2c61
call dword [esi + 0xb39c8]
mov ebp, dword [esi + 0xb39bc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4b2cc3
sub esp, 0xffffff80
jmp 0x448321
Function at 0x40b130
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x468f3b
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.0045d92e
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40b1b2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045b6ad
mov eax, dword [eax]
push 0x59b1c0
push eax
call fcn.0044e514
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045dbb9
test bl, bl
je 0x40b1b2
push 0x59b1c0
lea ecx, [esp + 0xc]
call fcn.0045df49
push 0x59ed3c
lea ecx, [esp + 0xc]
call fcn.0045df49
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 0x40b1ee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045dbb9
jmp 0x40b2b9
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 0x40b272
lea edx, [esp + 0x7c]
push 0x59ed38
push edx
call fcn.0044e514
add esp, 8
test eax, eax
je 0x40b272
lea eax, [esp + 0x7c]
push 0x59ed34
push eax
call fcn.0044e514
add esp, 8
test eax, eax
je 0x40b272
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 0x40b202
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.0045dbb9
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 0x40bab0
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 0x40bb12
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 0x40bb20
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x468fbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5a5210]
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 0x40bc58
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40bb86
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045dbb9
xor eax, eax
jmp 0x40bccf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045dcf6
push esi
lea ecx, [esp + 0xc]
call fcn.0045df85
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 0x40bcad
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0040bab0
test eax, eax
jne 0x40bcad
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.0040bab0
test eax, eax
jne 0x40bcad
lea eax, [esp + 0x14]
push 0x59ed50
push eax
call fcn.0044f550
mov esi, eax
add esp, 8
test esi, esi
jne 0x40bc8c
lea ecx, [esp + 0x14]
push 0x59ed4c
push ecx
call fcn.0044f4d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40bc8c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40bc8f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045dca6
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40bb9e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045dbb9
xor eax, eax
jmp 0x40bccf
mov byte [esi], 0
push 0x59ed48
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.0045dbb9
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 0x41c370
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 0x41c3de
cmp si, 0x69
ja 0x41c3de
add esi, 0xffd0
cmp si, 0x11
je 0x41c3ae
push 0x11
call edi
test ax, ax
jge 0x41c3ae
or esi, 0x2000
cmp si, 0x10
je 0x41c3c3
push 0x10
call edi
test ax, ax
jge 0x41c3c3
or esi, 0x4000
cmp si, 0x12
je 0x41c3d8
push 0x12
call edi
test ax, ax
jge 0x41c3d8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41c3eb
mov esi, 0xbd
jmp 0x41c39f
cmp si, 0x6e
jne 0x41c3f8
mov esi, 0xbe
jmp 0x41c39f
cmp si, 0x6f
jne 0x41c399
mov esi, 0xbf
jmp 0x41c39f

Function at 0x41da90
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5b5868]
xor edx, edx
cmp eax, edx
jne 0x41dab6
xor eax, eax
mov byte [eax + 0x5b5768], al
inc eax
cmp eax, 0x100
jl 0x41da9e
mov dword [0x5b5868], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5b5768
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41db47
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 0x41db1a
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 0x41dae8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41dbc0
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 0x41dc13
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 0x41dbfa
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