joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a2a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov dword [esp + 0x20], 0xab3dad08
mov dword [esp + 0x24], 0x970fa905
mov dword [esp + 0x28], 0x93c095c8
mov dword [esp + 0x2c], 0x9f30913c
lea eax, [esp + 0x30]
mov word [esp + 0x30], 0x9d9c
mov dword [esp + 0x32], 0
mov dword [esp + 0x36], 0
mov dword [esp + 0x3a], 0
mov dword [esp + 0x3e], 0
mov dword [esp + 0x42], 0
mov dword [esp + 0x46], 0
mov dword [esp + 0x4a], 0
mov word [esp + 0x4e], 0
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0xc]
cmp ecx, 0x2f
ja 0x41a36a
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
movzx esi, byte [esp + ecx + 0x20]
lea ecx, [edx + esi]
add ecx, 0x4853c91a
add edx, 0x4853c91a
and edx, esi
add edx, edx
sub ecx, edx
add cl, 0x4a
mov edx, dword [esp + 0xc]
mov byte [esp + edx + 0x20], cl
inc dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
cmp ecx, 0x30
jb 0x41a330
mov ebx, dword [ebp + 8]
lea edi, [esp + 0xc]
lea esi, [esp + 0x20]
mov edx, esi
mov ecx, 4
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0x1c]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebx + eax + 2], 0
lea eax, [eax + 2]
jne 0x41a3a0
mov edi, esi
cmp eax, 0xffffffed
jge 0x41a3b9
mov eax, 0xffffffff
jmp 0x41a3bc
add eax, 0x12
push eax
call fcn.00435ac0
add esp, 4
mov esi, eax
movzx ecx, word [ebx]
test cx, cx
je 0x41a3f1
add ebx, 2
mov eax, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [ebx]
add ebx, 2
test cx, cx
jne 0x41a3e0
mov word [eax], 0
movzx ecx, word [esp + 0xc]
test cx, cx
je 0x41a421
lea edx, [esp + 0xe]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41a410
mov word [eax], 0
push edi
push esi
call fcn.0043af40
add esp, 8
not eax
shr eax, 0x1f
mov eax, dword [eax*4 + 0x442c1c]
mov ecx, 0x407aca06
xor ecx, dword [0x442c24]
add eax, ecx
inc eax
jmp eax
Function at 0x41fec0
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x880
lea esi, [esp + 0xfc]
mov eax, 0x20219
mov ecx, 1
xor ebx, ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
jmp dword [ecx*4 + 0x44407c]
Function at 0x421540
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x130
lea edi, [esp + 0x7e]
mov dword [esp + 8], 0
mov eax, 0x20219
mov ecx, 1
jmp dword [ecx*4 + 0x44420c]
Function at 0x42d460
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov esi, esp
call fcn.00408c60
push eax
mov edx, esp
push eax
mov ecx, esp
sub esp, 0x3c
mov eax, esp
jmp 0x42d480
push eax
mov dword [esi + 0xc], esp
push eax
mov dword [esi + 0x14], esp
jmp 0x42d48a
jmp 0x42d48c
push eax
mov dword [esi + 0x2c], esp
sub esp, 0x20
mov ebx, esp
and ebx, 0xfffffff0
mov esp, ebx
push eax
mov dword [esi + 0x28], esp
push eax
mov dword [esi + 0x24], edx
mov edi, dword [ebp + 8]
mov dword [edx], edi
mov dword [esi + 0x18], ecx
mov byte [ecx], 0
xor ecx, ecx
sub esp, 8
mov dword [esp], 0
mov dword [esp + 4], eax
call dword [sym.imp.USER32.dll_GetWindowInfo]
xor eax, eax
sub esp, 4
mov dword [esp], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
cmp eax, 0
je 0x42d625
sub esp, 4
mov dword [esp], 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ecx, dword [esi + 0xc]
mov dword [ecx], eax
cmp dword [ecx], 0
je 0x42d61f
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [esi + 0x14]
mov dword [ecx], eax
mov eax, dword [ecx]
sub esp, 4
mov dword [esp], eax
call fcn.00408570
add esp, 4
mov edi, dword [esi + 0x24]
mov edx, dword [esi + 0x2c]
jmp 0x42d52a
mov dword [edx], eax
mov eax, dword [edx]
jmp 0x42d530
cmp eax, 0
setne al
jmp 0x42d538
jmp 0x42d53a
jmp 0x42d53c
test al, 1
jne 0x42d545
jmp 0x42d60c
mov ecx, dword [edi]
mov edx, dword [edx]
mov eax, dword [esi + 0x14]
mov edi, dword [eax]
mov eax, dword [esi + 0x28]
mov al, byte [eax]
mov byte [esi + 0x10], al
mov byte [ebx], 0xcb
mov byte [ebx + 1], 0x91
mov byte [ebx + 2], 0x9b
mov byte [ebx + 3], 0x93
mov byte [ebx + 4], 0xe6
mov byte [ebx + 5], 0x92
mov byte [ebx + 6], 0xe7
mov byte [ebx + 7], 0x91
mov byte [ebx + 8], 0xe0
mov byte [ebx + 9], 0xd7
mov byte [ebx + 0xa], 0xae
mov byte [ebx + 0xb], 0xb3
mov byte [ebx + 0xc], 0xac
mov byte [ebx + 0xd], 0x39
mov dword [ebx + 0x16], 0
mov dword [ebx + 0x12], 0
mov dword [ebx + 0xe], 0
mov dword [esi + 8], 0
mov eax, dword [esi + 8]
cmp eax, 0x1a
jae 0x42d5f0
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edx
jmp 0x42d5b9
mov edx, dword [esi + 8]
mov edi, dword [esi + 8]
movzx edi, byte [ebx + edi]
mov eax, edx
add eax, 0x56
and eax, edi
add edx, edi
add eax, eax
sub edx, eax
add dl, 0xfc
mov eax, dword [esi + 8]
mov byte [ebx + eax], dl
mov eax, dword [esi + 8]
inc eax
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
cmp eax, 0x1a
jb 0x42d5b9
mov edx, dword [esi + 0x20]
mov edi, dword [esi + 0x1c]
jmp 0x42d5f0
sub esp, 0xc
mov dword [esp], ebx
mov dword [esp + 4], edi
mov dword [esp + 8], edx
call fcn.00408e80
and al, 1
mov ecx, dword [esi + 0x18]
mov byte [ecx], al
jmp 0x42d60c
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x42d61f
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esi + 0x18]
mov al, byte [eax]
jmp 0x42d62c
and al, 1
movzx eax, al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x436060
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov edx, dword [ecx + 4]
test edx, edx
je 0x436180
xor eax, eax
cmp dword [ecx], 0
jne 0x436185
mov dword [esp + 0x34], 0x18
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 8], edx
mov eax, dword [ecx + 8]
mov dword [esp + 0xc], eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x32353437
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0x1b
ja 0x436153
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp + 4]
mov eax, dword [esp + 4]
movzx esi, byte [esp + eax + 0x10]
lea eax, [edx + esi]
add eax, 0xfd0f2ef9
add edx, 0xfd0f2ef9
and edx, esi
add edx, edx
sub eax, edx
mov edx, eax
xor edx, 0x30
and eax, 0x30
lea eax, [edx + eax*2]
inc al
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x10], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x1c
jb 0x436110
mov eax, dword [esp + 0x10]
mov esi, dword [0x44a2fc]
test esi, esi
je 0x436185
mov edx, dword [ebp + 8]
xor edi, edi
mov ebx, dword [0x44a300]
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x255adf2d
je 0x43618f
inc edi
cmp esi, edi
jne 0x436170
jmp 0x436185
mov eax, 0xc0000008
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov esi, dword [ebx + edi*8 + 4]
cmp esi, eax
je 0x436185
lea eax, [esp + 8]
lea edi, [esp + 0x34]
push eax
push edi
push edx
push ecx
push 4
push dword [0x44a304]
push esi
call fcn.00437f30
add esp, 0x1c
jmp 0x436185

Function at 0x4361c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov eax, dword [ecx]
test eax, eax
je 0x4362c7
mov esi, ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x32353437
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0xc]
cmp ecx, 0x1b
ja 0x436274
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
movzx edi, byte [esp + ecx + 0x10]
lea ecx, [edx + edi]
add ecx, 0xfd0f2ef9
add edx, 0xfd0f2ef9
and edx, edi
add edx, edx
sub ecx, edx
mov edx, ecx
xor edx, 0x30
and ecx, 0x30
lea ecx, [edx + ecx*2]
inc cl
mov edx, dword [esp + 0xc]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
cmp ecx, 0x1c
jb 0x436230
mov ecx, dword [0x44a2fc]
test ecx, ecx
je 0x4362ba
mov edx, dword [esp + 0x10]
xor edi, edi
mov ebx, dword [0x44a300]
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x5c3924fc
je 0x4362a0
inc edi
cmp ecx, edi
jne 0x436290
jmp 0x4362ba
mov ecx, dword [ebx + edi*8 + 4]
cmp ecx, edx
je 0x4362ba
push eax
push 1
push dword [0x44a304]
push ecx
call fcn.00437f30
add esp, 0x10
mov dword [esi], 0
mov dword [esi + 4], 0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4362d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov edi, 0xc0000008
cmp dword [ecx + 4], 0
je 0x4364fe
mov esi, ecx
mov eax, dword [ecx]
test eax, eax
je 0x4364fe
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x32353437
mov dword [esp + 8], 0
mov ecx, dword [esp + 8]
cmp ecx, 0x1b
ja 0x436384
mov edx, dword [esp + 8]
mov ecx, dword [esp + 8]
movzx edi, byte [esp + ecx + 0x10]
lea ecx, [edx + edi]
add ecx, 0xfd0f2ef9
add edx, 0xfd0f2ef9
and edx, edi
add edx, edx
sub ecx, edx
mov edx, ecx
xor edx, 0x30
and ecx, 0x30
lea ecx, [edx + ecx*2]
inc cl
mov edx, dword [esp + 8]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 8]
mov ecx, dword [esp + 8]
cmp ecx, 0x1c
jb 0x436340
mov ebx, dword [ebp + 0x10]
mov edi, dword [esp + 0x10]
mov edx, dword [0x44a2fc]
test edx, edx
je 0x4363d5
xor ecx, ecx
mov ebx, dword [0x44a300]
nop
nop
nop
cmp dword [ebx + ecx*8], 0xfb49c974
je 0x4363b3
inc ecx
cmp edx, ecx
jne 0x4363a0
mov ebx, dword [ebp + 0x10]
jmp 0x4363d5
mov ecx, dword [ebx + ecx*8 + 4]
cmp ecx, edi
mov ebx, dword [ebp + 0x10]
je 0x4363d5
push dword [ebp + 8]
push eax
push 2
push dword [0x44a304]
push ecx
call fcn.00437f30
add esp, 0x14
mov edi, eax
cmp dword [ebp + 0xc], 1
mov eax, ebx
sbb eax, 0
jl 0x4364f3
cmp edi, 0xc000010a
jne 0x4364f3
mov ecx, 0xffffd8f0
mov edi, dword [ebp + 0xc]
mov eax, edi
mul ecx
sub edx, edi
imul ecx, ebx, 0xffffd8f0
add ecx, edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov eax, dword [esi]
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x32353437
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 0x1b
ja 0x4364a4
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx edi, byte [esp + ecx + 0x10]
lea ecx, [edx + edi]
add ecx, 0xfd0f2ef9
add edx, 0xfd0f2ef9
and edx, edi
add edx, edx
sub ecx, edx
mov edx, ecx
xor edx, 0x30
and ecx, 0x30
lea ecx, [edx + ecx*2]
inc cl
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 0x1c
jb 0x436460
mov edi, dword [esp + 0x10]
mov ecx, dword [0x44a2fc]
test ecx, ecx
je 0x4364f3
xor edx, edx
mov ebx, dword [0x44a300]
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edx*8], 0x7a1a689f
je 0x4364d0
inc edx
cmp ecx, edx
jne 0x4364c0
jmp 0x4364f3
mov ecx, dword [ebx + edx*8 + 4]
cmp ecx, edi
je 0x4364f3
lea edx, [esp + 8]
push edx
push 0
push eax
push 3
push dword [0x44a304]
push ecx
call fcn.00437f30
add esp, 0x18
mov edi, eax
test edi, edi
js 0x4364fe
mov ecx, esi
call fcn.004361c0
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0x436510
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov edx, dword [ebp + 0x14]
test edx, edx
jne 0x436527
lea edx, [esp + 0x38]
mov ecx, dword [ecx]
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x32353437
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
cmp eax, 0x1b
ja 0x4365c3
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0xc]
movzx edi, byte [esp + eax + 0x10]
lea eax, [esi + edi]
add eax, 0xfd0f2ef9
add esi, 0xfd0f2ef9
and esi, edi
add esi, esi
sub eax, esi
mov esi, eax
xor esi, 0x30
and eax, 0x30
lea eax, [esi + eax*2]
inc al
mov esi, dword [esp + 0xc]
mov byte [esp + esi + 0x10], al
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, 0x1c
jb 0x436580
mov eax, dword [esp + 0x10]
mov esi, dword [0x44a2fc]
test esi, esi
je 0x436614
xor edi, edi
mov ebx, dword [0x44a300]
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0xb7fd7148
je 0x4365f0
inc edi
cmp esi, edi
jne 0x4365e0
jmp 0x436614
mov esi, dword [ebx + edi*8 + 4]
cmp esi, eax
je 0x436614
push edx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ecx
push 5
push dword [0x44a304]
push esi
call fcn.00437f30
add esp, 0x20
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
Function at 0x439e60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], 0x4b444596
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
cmp eax, 0xf
ja 0x439f06
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
movzx edx, byte [esp + ecx + 0x20]
lea esi, [eax + 0x22408235]
lea ecx, [eax + edx]
add ecx, 0x22408235
and esi, edx
add eax, 0x35
and eax, edx
add eax, esi
mov edx, ecx
not edx
and edx, eax
not eax
and eax, ecx
sub eax, edx
mov ecx, eax
xor ecx, 0x8c
and eax, 0xc
lea eax, [ecx + eax*2]
inc al
mov ecx, dword [esp + 0xc]
mov byte [esp + ecx + 0x20], al
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, 0x10
jb 0x439eb0
mov eax, dword [esp + 0x20]
mov eax, dword fs:[eax]
xor ecx, ecx
cmp dword [ebp + 8], 0
sete cl
mov ecx, dword [ecx*4 + 0x4484e4]
mov edx, 0xb313b239
xor edx, dword [0x4484ec]
add ecx, edx
inc ecx
jmp ecx
Function at 0x407540
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49219b
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.00487091
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4075c2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00484e02
mov eax, dword [eax]
push 0x4aec48
push eax
call fcn.00476fb4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0048731c
test bl, bl
je 0x4075c2
push 0x4aec48
lea ecx, [esp + 0xc]
call fcn.004876ac
push 0x4aec54
lea ecx, [esp + 0xc]
call fcn.004876ac
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 0x4075fe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0048731c
jmp 0x4076c9
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 0x407682
lea edx, [esp + 0x7c]
push 0x4aec50
push edx
call fcn.00476fb4
add esp, 8
test eax, eax
je 0x407682
lea eax, [esp + 0x7c]
push 0x4aec4c
push eax
call fcn.00476fb4
add esp, 8
test eax, eax
je 0x407682
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 0x407612
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.0048731c
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 0x407ed0
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 0x407f32
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 0x407f40
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49221b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4bdff8]
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 0x408078
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x407fa6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048731c
xor eax, eax
jmp 0x4080ef
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00487459
push esi
lea ecx, [esp + 0xc]
call fcn.004876e8
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 0x4080cd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00407ed0
test eax, eax
jne 0x4080cd
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.00407ed0
test eax, eax
jne 0x4080cd
lea eax, [esp + 0x14]
push 0x4aec64
push eax
call fcn.00478050
mov esi, eax
add esp, 8
test esi, esi
jne 0x4080ac
lea ecx, [esp + 0x14]
push 0x4aec60
push ecx
call fcn.00477fd0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4080ac
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4080af
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00487409
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x407fbe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048731c
xor eax, eax
jmp 0x4080ef
mov byte [esi], 0
push 0x4aec5c
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.0048731c
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 0x419fb0
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 0x41a01e
cmp si, 0x69
ja 0x41a01e
add esi, 0xffd0
cmp si, 0x11
je 0x419fee
push 0x11
call edi
test ax, ax
jge 0x419fee
or esi, 0x2000
cmp si, 0x10
je 0x41a003
push 0x10
call edi
test ax, ax
jge 0x41a003
or esi, 0x4000
cmp si, 0x12
je 0x41a018
push 0x12
call edi
test ax, ax
jge 0x41a018
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41a02b
mov esi, 0xbd
jmp 0x419fdf
cmp si, 0x6e
jne 0x41a038
mov esi, 0xbe
jmp 0x419fdf
cmp si, 0x6f
jne 0x419fd9
mov esi, 0xbf
jmp 0x419fdf

Function at 0x41b9a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4ce768]
xor edx, edx
cmp eax, edx
jne 0x41b9c6
xor eax, eax
mov byte [eax + 0x4ce668], al
inc eax
cmp eax, 0x100
jl 0x41b9ae
mov dword [0x4ce768], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4ce668
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41ba57
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 0x41ba2a
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 0x41b9f8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41bad0
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 0x41bb23
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 0x41bb0a
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