joyce8/EMBER2024-capa huggingface dataset:
Function at 0x457edc
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x457ef3
add esp, 0xfffffff0
call fcn.00403490
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004192b4
mov eax, dword [0x45f0a0]
cmp word [eax + 2], 0
jne 0x457f1b
mov eax, dword [0x45f0a0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004595b4
mov eax, dword [0x45f148]
cmp word [eax + 2], 0
jne 0x457f35
mov eax, dword [0x45f148]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004597ac
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411594]
call fcn.00403154
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411594]
call fcn.00403154
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 [0x41b4b0]
call fcn.004211c8
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4580bc
mov eax, dword [0x45efc4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00421598
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x459d4c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x45efc4]
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.0040c138
test eax, eax
je 0x45802a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408464
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c160
test eax, eax
je 0x45803e
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.0040412c
mov eax, dword [0x45eebc]
cmp byte [eax], 0
jne 0x458072
mov eax, ebx
call fcn.004581e4
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.00459f28
mov eax, ebx
call fcn.0045a8ec
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4580b2
call fcn.004034e8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x458464
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x460bb0]
cmp dword [eax + 0x30], 0
je 0x45850e
cmp dword [ebx + 0x94], 0
jne 0x458508
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4583f4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x458508
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 0x4584ce
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x458508
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.004138fc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4584dd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x459070
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 0x4590a5
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.00403fac
jmp 0x4590b2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403f10
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45a104
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45a145
mov eax, esi
call fcn.004403b4
test al, al
je 0x45a145
mov eax, dword [ebx + 0x84]
call fcn.004400b0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45a145
push 0
mov eax, dword [ebx + 0x84]
call fcn.004400b0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45acd0
Capabilities:
Read file via mapping

Disassembly:
push ebx
mov ebx, eax
push 0x45ad7c
push 0
push 0xf001f
call sub.kernel32.dll_OpenFileMappingA
mov dword [0x460c18], eax
cmp dword [0x460c18], 0
jne 0x45ad42
push 0x45ad7c
push 4
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov dword [0x460c18], eax
push 0
push 0
push 0
push 6
mov eax, dword [0x460c18]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [0x460c1c], eax
cmp dword [0x460c1c], 0
jne 0x45ad39
mov eax, dword [0x460c18]
push eax
call sub.kernel32.dll_CloseHandle
pop ebx
ret
mov eax, dword [0x460c1c]
mov dword [eax], ebx
jmp 0x45ad77
push 0
push 0
push 0
push 6
mov eax, dword [0x460c18]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [0x460c1c], eax
cmp dword [0x460c1c], 0
jne 0x45ad70
mov eax, dword [0x460c18]
push eax
call sub.kernel32.dll_CloseHandle
jmp 0x45ad77
mov eax, dword [0x460c1c]
mov dword [eax], ebx
pop ebx
ret
Function at 0x4738b5
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x4735cc
add edx, edi
call fcn.004738f1
mov edi, 0x9505b6c2
xor dword [ebx], ecx
inc edx
add edx, 0xae96e59b
add ebx, 2
or edi, edi
push edx
pop edx
cmp ebx, eax
jl fcn.004738b5
mov edi, 0xa966eb7d
add edi, 0x5d7c8bff
ret
Function at 0x101fe5b0
Capabilities:
Encrypt data using aes

Disassembly:
jmp 0x101fe5e8
jmp 0x101fe5cc
lea esp, [esp + 4]
jmp 0x101fe593
jmp 0x101fe604
jmp 0x101fe620
push ebx
jmp 0x101fe63c
jmp 0x101fe658
push ebp
jmp 0x101fe674
jmp 0x101fe690
push esi
jmp 0x101fe6ac
jmp 0x10233d9e
push edi
movzx edx, byte [eax]
jmp 0x1023432d
xor ecx, dword [ebx]
lea edi, [eax + 0x10]
xor ecx, dword [eax]
add ebx, 4
mov dword [edi], ecx
mov edx, dword [eax + 4]
xor edx, ecx
mov dword [eax + 0x14], edx
mov ecx, dword [eax + 8]
xor ecx, edx
mov dword [eax + 0x18], ecx
mov edx, dword [eax + 0xc]
xor edx, ecx
mov dword [eax + 0x1c], edx
cmp ebx, 0x10209758
jne 0x102342c7
push 0xa
pop eax
pop edi
pop esi
pop ebp
pop ebx
ret
xor edx, eax
mov dword [ecx + 0xc], edx
mov eax, edx
shr eax, 0x10
mov esi, 0xff
and eax, esi
mov eax, dword [eax*4 + 0x10207f30]
xor eax, 0x1000000
mov edi, edx
shr edi, 8
and edi, esi
mov edi, dword [edi*4 + 0x10207f30]
and edi, 0xff0000
mov ebx, dword [ecx + 4]
and eax, 0xff000000
xor eax, edi
mov edi, edx
shr edi, 0x18
movzx edi, byte [edi*4 + 0x10207f30]
xor eax, edi
mov edi, edx
and edi, esi
mov edi, dword [edi*4 + 0x10207f30]
mov ebp, 0xff00
and edi, ebp
xor eax, edi
xor eax, dword [ecx]
lea edi, [ecx + 0x10]
xor ebx, eax
mov dword [edi], eax
mov eax, dword [ecx + 8]
xor eax, ebx
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x18], eax
xor edx, eax
mov dword [ecx + 0x1c], edx
call fcn.10220f54
mov eax, edi
mov edx, dword [eax + 0xc]
mov ecx, edx
shr ecx, 8
mov edi, edx
and ecx, esi
mov ecx, dword [ecx*4 + 0x10207f30]
shr edi, 0x10
and edi, esi
mov edi, dword [edi*4 + 0x10207f30]
and ecx, 0xff0000
and edi, 0xff000000
xor ecx, edi
mov edi, edx
and edx, esi
mov edx, dword [edx*4 + 0x10207f30]
shr edi, 0x18
movzx edi, byte [edi*4 + 0x10207f30]
xor ecx, edi
and edx, ebp
xor ecx, edx
jmp 0x102341c7
shl edx, 8
movzx esi, byte [eax + 1]
xor edx, esi
movzx esi, byte [eax + 2]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 3]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 5]
mov dword [ecx], edx
movzx edx, byte [eax + 4]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 6]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 7]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 9]
mov dword [ecx + 4], edx
movzx edx, byte [eax + 8]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0xa]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0xb]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0xd]
mov dword [ecx + 8], edx
movzx edx, byte [eax + 0xc]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0xe]
movzx eax, byte [eax + 0xf]
shl edx, 8
xor edx, esi
shl edx, 8
jmp 0x10234247
Function at 0x102006f4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x1023678d
lea esp, [esp + 4]
jmp fcn.102367f1

Function at 0x10201a77
Capabilities:
Get storage device properties

Disassembly:
jmp 0x10201a93
lea esp, [esp + 4]
jmp 0x10238ff2
jmp 0x10201acb
jmp 0x10201ae7
push ebp
jmp 0x10201b03
jmp 0x10201b1f
mov ebp, esp
jmp 0x10201b3b
jmp 0x10201b57
sub esp, 0x224
jmp 0x10201b73
jmp 0x10201b9c
push ebx
jmp 0x102390fd
jmp 0x10201aaf
inc dword [ebp - 4]
cmp dword [ebp - 8], esi
je 0x1023910d
jmp 0x102390cd
mov eax, dword [0x1020c3ec]
push edi
push esi
push dword [0x1020c3b0]
call dword [eax + 0x18]
push dword [ebp - 0xc]
mov eax, dword [0x1020c3ec]
call dword [eax + 0x10]
jmp 0x10239033
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret
push esi
xor esi, esi
push edi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov ebx, 0x428
cmp dword [ebp - 4], 4
jae 0x102390cd
push dword [ebp - 4]
lea eax, [ebp - 0x224]
push 0x10209758
push eax
call fcn.10212731
cmc
mov eax, dword [0x1020c3ec]
mov eax, dword [eax + 4]
add esp, 0xc
push esi
push esi
push 3
push esi
push 7
push esi
lea ecx, [ebp - 0x224]
push ecx
call eax
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x10239033
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push ebx
push 8
push dword [0x1020c3b0]
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], esi
call dword [fcn.1020c3d4]
push esi
mov edi, eax
lea eax, [ebp - 0x10]
push eax
push ebx
push edi
push 0xc
lea eax, [ebp - 0x1c]
push eax
push 0x2d1400
push dword [ebp - 0xc]
call fcn.10212b78
outsd dx, dword [esi]
test eax, eax
je 0x10239071
mov eax, dword [edi + 0x18]
cmp eax, esi
je 0x10239071
cmp eax, ebx
jae 0x10239071
push 0xff
add eax, edi
push eax
push 0x100
push dword [ebp + 8]
call fcn.102234d2
add esp, 0x10
mov dword [ebp - 8], 1
jmp 0x10239071

Function at 0x102210b6
Capabilities:
Encode data using xor

Disassembly:
push 0x222529
call fcn.10214eda
fimul word [edi - 0x21]
mov edx, 0xd359bd49
inc ebx
aad 0x3b
invalid
mov ebp, 0x2643d359
aad 0x3b
test eax, 0x44b5d23c
jecxz 0x102210bd
jo 0x102210bb
xor dword [eax - 0x7f], 0x7291e981
std
call [edx - 0x39]
push edi
xor al, cl
jns 0x102210c5
iretd
Function at 0x10223809
Capabilities:
Resolve function by parsing pe exports

Disassembly:
call fcn.10200670
jmp 0x102006ef

Function at 0x10223a07
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.10201a77
jmp 0x10201bc3

Function at 0x1022ec31
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x1022ec71
xor eax, eax
pop ebp
ret
sete dl
jmp 0x1022ed96
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x1022ec42
xor edx, edx
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jmp 0x1022ec48
mov eax, edx
pop ebp
ret

Function at 0x1022ecf2
Capabilities:
Enumerate pe sections

Disassembly:
xor eax, eax
jmp 0x1022edb0
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
push edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x1022ecd4
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x1022ed78
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x1022edb0
jmp 0x1022ed78
inc edx
add eax, 0x28
jmp 0x1022f1f4
pop edi
pop esi
pop ebx
pop ebp
ret
cmp edx, esi
jb 0x1022ed17
jmp 0x1022ecd4
Function at 0x1028dbba
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
add dh, byte [0xe800288a]
mov eax, eax
invalid
push eax
jmp 0x10288e07
inc dword [eax + 0x101f7d4d]
push 0xaf53833d
jmp 0x10288f4a
call 0x10288e0c
pop eax
sub eax, 0x10288e0c
cmp dword [eax + 0x101f7d4d], 0
je 0x10288de5
lea esp, [esp + 8]
popal
cmp dword [esp + 8], 0
jne 0x10288c53
je 0x10288fd0
aas
movsb byte es:[edi], byte [esi]
cmp bl, byte [ebp - 0x54]
sbb dl, byte [esp + ecx - 0x42eb1a7e]
outsd dx, dword [esi]
mul byte [ebx + eax - 2]
inc ecx
push ebp
daa
ret 0x694b
add dword [esp], 0x60cb6707
push 0
push 0
push 0x11f9ba6
add dword [esp], 0xeff3561
call fcn.102052ea
jmp 0x1028b722
call 0x102013db
jmp 0x10288c53
call 0x1028b727
jmp 0x1028b884
add dword [esp], 0xffffe424
call fcn.102030a0
push 0x4c144072
push 0x1028efa3
jmp 0x1028ebb9
movzx ebx, word [eax + 0x3c]
add ebx, eax
cmp word [ebx], 0x4550
je 0x10288c6a
jmp 0x1028c512
call 0x1028c503
pop eax
xor ax, ax
cmp word [eax], 0x5a4d
je 0x1028c07a
sub eax, 0x10000
jmp 0x1028c507
call 0x1028dbba
push ebx
popal
outsb dx, byte gs:[esi]
imul ebp, dword [bp + 0x65], 0x63694c20
outsb dx, byte gs:[esi]
jae 0x1028dc19
jb 0x1028dbcc
inc esp
insd dword es:[edi], dx
outsd dx, dword [esi]
and byte [esi + 0x31], dh
cmp byte cs:[esi], ch
xor byte [esi], ch
xor byte [eax], al
lea esp, [esp + 4]
pushal
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
push eax
jmp 0x1028c4fe
inc edi
enter 0x395e, 0xffffffffffffffc8
sub ch, byte [ebp - 0x19]
ja 0x1028dc35
loope 0x1028dc2b
inc eax
rol dword [ebx + 0x26], cl
aad 0x27
inc eax
rol byte [eax + 0x27], cl
sar byte [edx], cl
mov ebp, 0x36dbbc2e
ret
ret
call 0x1028ebbe
pop ebx
sub ebx, 0x1028ebbe
add dword [esp], ebx
push 0x10000000
add dword [esp], ebx
call fcn.10201b97
call fcn.102046bb
popal
jmp 0x10288c53
Function at 0x4035ab
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0040375b
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x4036a9
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x40364c
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x40368f
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x403663
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x40367e
test al, 0x40
je 0x403675
mov ecx, dword [edi + 0x20]
jmp 0x40367c
test al, 0x80
je 0x40368f
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x40368f
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x40361b
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x411550
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47574b
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.0046a053
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4115d2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046793d
mov eax, dword [eax]
push 0x4d41e0
push eax
call fcn.0045a784
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046a2de
test bl, bl
je 0x4115d2
push 0x4d41e0
lea ecx, [esp + 0xc]
call fcn.0046a66e
push 0x4d7d68
lea ecx, [esp + 0xc]
call fcn.0046a66e
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 0x41160e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046a2de
jmp 0x4116d9
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 0x411692
lea edx, [esp + 0x7c]
push 0x4d7d64
push edx
call fcn.0045a784
add esp, 8
test eax, eax
je 0x411692
lea eax, [esp + 0x7c]
push 0x4d7d60
push eax
call fcn.0045a784
add esp, 8
test eax, eax
je 0x411692
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 0x411622
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.0046a2de
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 0x411ed0
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 0x411f32
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 0x411f40
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4757cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4de478]
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 0x412078
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x411fa6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046a2de
xor eax, eax
jmp 0x4120ef
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0046a41b
push esi
lea ecx, [esp + 0xc]
call fcn.0046a6aa
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 0x4120cd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push bind
call fcn.00411ed0
test eax, eax
jne 0x4120cd
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 bind
mov ecx, edi
call fcn.00411ed0
test eax, eax
jne 0x4120cd
lea eax, [esp + 0x14]
push 0x4d7d7c
push eax
call fcn.0045b7c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4120ac
lea ecx, [esp + 0x14]
push 0x4d7d78
push ecx
call fcn.0045b740
mov esi, eax
add esp, 8
test esi, esi
jne 0x4120ac
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4120af
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0046a3cb
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x411fbe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046a2de
xor eax, eax
jmp 0x4120ef
mov byte [esi], 0
push 0x4d7d74
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.0046a2de
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 0x424af0
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 0x424b5e
cmp si, 0x69
ja 0x424b5e
add esi, 0xffd0
cmp si, 0x11
je 0x424b2e
push 0x11
call edi
test ax, ax
jge 0x424b2e
or esi, 0x2000
cmp si, 0x10
je 0x424b43
push 0x10
call edi
test ax, ax
jge 0x424b43
or esi, 0x4000
cmp si, 0x12
je 0x424b58
push 0x12
call edi
test ax, ax
jge 0x424b58
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x424b6b
mov esi, 0xbd
jmp 0x424b1f
cmp si, 0x6e
jne 0x424b78
mov esi, 0xbe
jmp 0x424b1f
cmp si, 0x6f
jne 0x424b19
mov esi, 0xbf
jmp 0x424b1f

Function at 0x426290
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4eeb88]
xor edx, edx
cmp eax, edx
jne 0x4262b6
xor eax, eax
mov byte [eax + 0x4eea88], al
inc eax
cmp eax, 0x100
jl 0x42629e
mov dword [0x4eeb88], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4eea88
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x426347
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 0x42631a
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 0x4262e8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4263c0
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 0x426413
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 0x4263fa
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