joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006efc
Capabilities:
Authenticate hmac
Check os version
Encrypt data using speck
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov eax, edi
pop edi
pop esi
nop
nop
nop
nop
nop
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
push eax
xor esi, eax
add word [ebp - 0x7c], 0xa3a
mov edx, dword [ebp - 0x70]
add ecx, 0xac6e
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x78], 0xd89
sub edx, 0xc
cmp dword [ebp - 0x68], 0x5c
jne 0x10006ec4
nop
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [esi + 0x60]
mov edi, dword [0x1000d246]
push 0xffffffffffffffff
mov esi, dword [edx + 0x18]
mov dword [ebp - 0x30], esi
add ebx, dword [ebp - 0x7c]
sub esi, ecx
or edi, eax
mov edx, dword [ebp - 0x70]
sub esi, dword [ebp - 0x60]
mov eax, dword [ebp - 0x38]
add dword [ebp - 0x7c], 0x1f
sub edx, 0x10
and edi, dword [ebp - 0x5c]
add ecx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x38], eax
and dword [ebp - 0x34], eax
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x68], 0xfffffff7
jne 0x10006f12
nop
nop
nop

Function at 0x10006f95
Capabilities:
Authenticate hmac
Check os version
Encrypt data using speck
Get number of processors
Resolve function by parsing pe exports

Disassembly:
nop
nop
nop
mov ebx, dword [edx]
mov dword [ebp - 0x38], ebx
sub eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x38]
lea esi, [ebp - 0x40]
xor edi, dword [ebp - 0x60]
push esi
or edi, dword [ebp - 0x78]
or dword [ebp - 0x84], 0x6a
push ecx
add dword [ebp - 0x64], edi
call fcn.10004390
add ecx, edx
cmp dword [ebp - 0x68], 0x10000002
jne 0x10006fe9
cmp word [edi], cx
jg 0x10006f62
cmp dx, si
jg 0x10006f82
mov ecx, dword [eax + 0xb0]
test byte [ecx + 4], 4
je 0x10006fd9
test byte [eax + 0x16c], 1
jne 0x10006f9d
cmp byte [0x75b6d508], 0
mov ecx, dword [0x1000e17d]
je 0x10007028
cmp dword [eax + 0x1a8], ecx
je 0x10006f63
mov ecx, 0x1000dfba
cmp byte [0x75b6d508], 0
je 0x10006ffa
mov ecx, dword [eax + 0x1a8]
mov ecx, dword [eax + 0x1a4]
push ecx
push dword [ebp - 8]
xor word [ebp - 0x74], 0x7d
mov esi, 0xff
mov dword [ebp - 0x5c], eax
and dword [ebp - 0x38], esi
lea eax, [eax + ecx + 0x219]
add ecx, eax
cmp dword [ebp - 0x38], 0x55
je 0x100070f0
cmp dword [ebp - 0x68], 0x10000002
jne 0x1000703f
test eax, eax
jl 0x10005416
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x20]
push edi
call fcn.10006b59
mov dword [ebp - 0x2c], eax
test eax, eax
jl 0x10009a9a
mov word [ebp - 0x38], 0x20
or edi, dword [ebp - 0x80]
cmp dword [ebp - 0x68], 0
je 0x100070a6

Function at 0x10007048
Capabilities:
Authenticate hmac
Check os version
Encrypt data using speck
Get number of processors
Resolve function by parsing pe exports

Disassembly:
test eax, eax
je 0x100058a3
mov eax, dword [eax + 0xf8]
mov dword [ecx + 0xf8], eax
mov eax, 0x1000d5dc
movsx eax, cx
cdq
sub eax, edx
sar eax, 1
mov word [0x75b6d3a8], ax
cmp word [0x75b6d3aa], bx
jne 0x10005399
mov cx, word [eax + 4]
mov word [0x75b6d3a8], cx
mov cx, word [eax + 6]
mov word [0x75b6d3aa], cx
mov cl, byte [eax + 0x14]
Function at 0x10007cf8
Capabilities:
Authenticate hmac
Check os version
Encrypt data using speck
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push eax
push dword [esi + 0x28]
call fcn.10009061
mov edi, eax
test edi, edi
jl 0x10007d28
cmp dword [esi + 0x2c], 0
mov eax, dword [ebp + 8]
jne 0x10007d7c
and byte [eax + 0x143], 0xbf
or byte [eax + 0x143], 0x40
push dword [ebp + 8]
call fcn.1000ad96
mov eax, edi
pop edi
pop esi
pop ebp
nop
nop
Function at 0x10008029
Capabilities:
Authenticate hmac
Check os version
Encrypt data using speck
Get number of processors
Resolve function by parsing pe exports

Disassembly:
insd dword es:[edi], dx
add byte [ebp], ch
popal
add byte [esi], ch
add byte fs:[eax], ah
add byte [edi], dl
imul eax, dword [eax], 0x64006e
outsd dx, dword [esi]
add byte [edi], dh
add byte [eax], al
Function at 0x100082e8
Capabilities:
Authenticate hmac
Check os version
Encrypt data using speck
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov dh, 0xc2
mov ah, 0x75
nop
nop
nop
nop
nop
mov edi, edi
push ebp
mov ebp, esp
push edi
call dword [0x1000d02c]
mov dword [ebp - 0x810], eax
xor eax, eax
cmp dword [ebp - 0x810], eax
sete al
cmp dword [ebp - 0x810], 0
mov dword [ebp - 0x864], eax
je 0x100088b5
cmp dword [ebx + 0x34], 0
je 0x10005299
xor esi, esi
cmp dword [ebx + 0x30], esi
jbe 0x100071cc
lea eax, [ebx + 0x38]
mov dword [ebp - 0x80c], eax
Function at 0x10008625
Capabilities:
Authenticate hmac
Check os version
Encrypt data using speck
Get number of processors
Resolve function by parsing pe exports

Disassembly:
test eax, eax
jl 0x10005dd7
mov ecx, dword [0x1000ddec]
push edi
lea edi, [ebx + ebx*2]
push 4
shl edi, 3
pop eax
test byte [edi + ecx + 0x14], al
mov ecx, edx
je 0x100085db
and ecx, 0xfffffffb
or ecx, eax
Function at 0x10008dc9
Capabilities:
Check os version
Get number of processors

Disassembly:
mov edi, eax
mov eax, ecx
shr ecx, 2
mov ecx, eax
mov eax, dword [ebp + 8]
and ecx, 3
cmp ax, word [ebp + 0xc]

Function at 0x10009023
Capabilities:
Authenticate hmac
Check os version
Encrypt data using speck
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov word [ebx + 0x30], cx
test al, 8
mov cx, word [ebp - 0x26e]
mov word [ebx + 0x32], cx
jne 0x10008f6a
mov ecx, dword [ebp - 0x2e0]
mov dword [ebx + 0x38], ecx
test al, 2
jne 0x10008f8c
mov ecx, dword [ebp - 0x2dc]
mov dword [ebx + 0x3c], ecx
test al, 4
jne 0x100065e7
mov ecx, dword [ebp - 0x2d8]
mov dword [ebx + 0x40], ecx
mov ecx, dword [ebp - 0x278]
mov dword [ebx + 0xa8], ecx
test al, 0x20
mov dword [ebp - 0x48], esp
and ecx, esi
mov esp, dword [ebp - 0x3c]
cmp dword [ebp - 0x68], 0x62
jne 0x10008fea
mov word [ebp - 0x9c], 0xdc
mov word [ebp - 0x9a], cx
mov dword [ebp - 0x98], 0x3c0000
mov dword [ebp - 0x38], eax
movsx edi, word [edx + 8]
mov dword [ebp - 0x34], edi
movsx edi, word [edx + 0xa]
mov dword [ebp - 0x30], edi
je 0x10008f61
test byte [edx], 2
mov dword [ebp - 0x2c], ecx
jne 0x10008f6c
mov dword [ebp - 0x2c], eax
push ecx
push ecx
push 0x1000d720
lea eax, [ebp - 0xe0]
push eax
push 0xe
call dword [0x1000d0f0]
test eax, eax
jl 0x10008f7b
push ebx
or edi, dword [ebp - 0x54]
mov edi, dword [ebp - 0x44]
xor eax, esi
or dword [ebp - 0x44], edi
jne 0x1000900b
and eax, ecx
add eax, 0x306a
jmp 0x100083cb
add eax, 0xfc6f
lea eax, [ebp - 0x50]
push eax
call fcn.100042d5
cmp dword [ebp - 0x68], 0x10000002
jne 0x10009058
nop
nop

Function at 0x10009061
Capabilities:
Authenticate hmac
Check os version
Encrypt data using speck
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push dword [esi + 0x28]
call fcn.100082e8
mov dword [ebp - 0x1c], eax
test eax, eax
jl 0x10005279
and dword [ebp - 4], 0
or dword [ebp - 0x24], 0xffffffff
mov eax, dword fs:[0x18]
mov dword [ebp - 0x30], eax
Function at 0x1000a51e
Capabilities:
Authenticate hmac
Check os version
Encrypt data using speck
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov edi, dword [ebp + 8]
test eax, eax
jge 0x10009556
push 0
push dword [esi + 0x40]
call dword [0x1000d0ac]
mov esi, 0x1000d931
cmp ebx, esi
mov dword [0x1000dc46], eax
mov dword [0x1000d993], ecx
je 0x1000a9e8
mov ax, word [ebp - 0xe0]
mov word [ebx + 0x6e], ax
mov ax, word [ebp - 0xe0]
mov word [ebx + 0x72], ax
xor eax, eax
cmp dword [ebp - 0xe0], eax
mov dword [ebx + 0x64], eax
xor eax, eax
cmp dword [ebp - 0xe0], eax
mov dword [ebx + 0x5c], eax
call dword [0x1000d160]
mov eax, dword [ebp - 0xe0]
mov edx, eax

Function at 0x1000a695
Capabilities:
Authenticate hmac
Check os version
Encrypt data using speck
Get number of processors
Resolve function by parsing pe exports

Disassembly:
cmp dword [ebp - 0x68], 0x10000002
jne 0x1000a6e5
Function at 0x1000a8b2
Capabilities:
Authenticate hmac
Check os version
Encrypt data using speck
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add edx, 0xeec3
push ebx
call fcn.1000417b
add dword [ebp - 0x84], ebx
mov ebx, dword [ebp - 0x48]
cmp dword [ebp - 0x28], 0x10000002
jne 0x1000a910

Function at 0x1000a8d0
Capabilities:
Authenticate hmac
Check os version
Encrypt data using speck
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [0x1000daa2]
push esi
push 0x2c
add eax, 0x140000
push eax

Function at 0x1000aa63
Capabilities:
Authenticate hmac
Check os version
Encrypt data using speck
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add ecx, dword [ebp - 0x78]
xor ebx, esi
sub dword [ebp - 0x48], 4
and ecx, dword [ebp - 0x64]
and dword [ebp - 0x58], 0xffffff93
mov eax, dword [ebp - 0x48]
add ecx, dword [ebp - 0x34]
pop dword [eax]
cmp dword [ebp - 0x28], 0x10000002
jne 0x1000aac6

Function at 0x1000ab8f
Capabilities:
Authenticate hmac
Check os version
Encrypt data using speck
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add byte [eax], al
inc eax
mov esi, 0x1000df1a
add byte [eax], al
add byte [eax], al
Function at 0x1000ad96
Capabilities:
Authenticate hmac
Check os version
Encrypt data using speck
Get number of processors
Resolve function by parsing pe exports

Disassembly:
cmp dx, word [ebp - 8]
jne 0x1000ada4
mov dx, word [ebp + 0xc]
cmp dx, word [ebp - 4]
jne 0x1000ad62
mov dx, word [ebp + 0x10]
cmp dx, word [ebp - 0xc]
jne 0x1000ad78
mov dx, word [ebp - 0x10]
mov word [ecx], dx
inc dword [ebp + 8]
mov cx, word [ebp + 8]
cmp cx, word [eax + 0x10]
jl 0x1000ada6
xor ecx, ecx
Function at 0x1000af94
Capabilities:
Authenticate hmac
Check os version
Encrypt data using speck
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add word [ebp - 0x54], 0x972
push 0xffffffffffffffef
call fcn.1000417b
and dword [ebp - 0x64], 0xe1b
mov ecx, dword [ebp - 0x48]
and eax, dword [ebp - 0x60]
add ebx, 0x4f6d
pop dword [ecx]
push dword [ebp - 0x70]
call fcn.10004280
sub ecx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x48]
lea edi, [ebp - 0x70]
lea edx, [eax + 0x52]
and dword [ebp - 0x34], ebx
push edi
or dword [ebp - 0x60], ebx
push ecx
test dword [ebp - 0x68], 0
je 0x1000b056

Function at 0x1000afdf
Capabilities:
Authenticate hmac
Check os version
Encrypt data using speck
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov ax, word [esi + 0x2c]
sub ax, word [esi + 0x28]
call dword [0x1000d0a4]
push esi
call fcn.10007262
test byte [edx + 0x140], 1
jne 0x10004659
cmp word [edx + 0x16c], 1
jne 0x100062e5
mov word [ebp - 6], dx
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x220], eax
push dword [ebp - 0x168]
call dword [0x1000d1ac]
mov dword [ebp - 0x1b0], eax
xor edi, edi
cmp eax, edi
mov eax, dword [ebp - 0x164]
jne 0x1000a4f7
add eax, 0x140
test byte [eax], 1
jne 0x100088de
cmp word [esi + 0x30], di
jne 0x1000741a
mov eax, dword [ebp - 0x16c]
call fcn.10004390
or esi, dword [ebp - 0x54]
or word [ebp - 0x34], 0xe81
push dword [ebp - 0x40]
call fcn.10004280
xor ecx, dword [ebp - 0x64]
sub ecx, esi
cmp dword [ebp - 0x68], 0x10000002
jne 0x1000b0a5
cmp ecx, 0x1000de19
ja 0x1000b082
lea esi, [ecx + ecx]
lea eax, [esi + 2]
push eax
push 0x40
call dword [0x1000d104]
test eax, eax
mov dword [ebp - 0x81c], eax
je 0x1000b022
mov ecx, esi
mov esi, dword [ebp - 0x828]
mov edi, eax
mov ebx, dword [ebp - 0x70]
cmp dword [ebp - 0x28], 0xc
jne 0x1000b0e9
Function at 0x4010c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
xor ecx, ecx
push edi
test eax, eax
je 0x401240
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x401240
cmp eax, edx
jae 0x401240
mov esi, 0x5e42
lea ecx, [ecx]
mov eax, 0x532ae21d
imul esi
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x4010f0
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
mov ecx, 0x12bb
mov dword [ebp + 0xc], eax
mov eax, 0x2fa0be83
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x401111
mov ebx, 0x6a38
lea esp, [esp]
mov eax, 0x3a196b1f
imul ebx
sar edx, 5
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x401130
mov ebx, 0x37f7
mov edi, 0x8db
lea ecx, [ecx]
mov eax, 0x4c346405
imul edi
sar edx, 6
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x401150
mov edi, 0x571
inc esi
mov eax, esi
and eax, 0x80000003
jns 0x401177
dec eax
or eax, 0xfffffffc
inc eax
jne 0x40117a
inc esi
cmp esi, 0x2816
jl 0x401168
mov esi, 0x5f7b
mov eax, 0x97012e03
imul esi
add edx, esi
sar edx, 7
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x401187
xor edx, edx
cmp dword [ebp + 0xc], ecx
jbe 0x4011c3
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
lea esp, [esp]
mov al, byte [edx + esi + 1]
sub al, 0x3c
xor byte [edx + esi], al
inc edx
cmp edx, edi
jb 0x4011b0
mov edi, 0x571
mov ecx, 0x56e3
jmp 0x4011d0
mov eax, 0x6bca1af3
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x4011d0
mov edx, 0x42f5
mov esi, 0xff
mov eax, 0x54
cmp eax, 0xff
cmovl eax, esi
dec edx
jne 0x4011f2
lea ecx, [ecx]
mov eax, 0x288df0cb
imul ebx
sar edx, 4
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x401200
mov eax, 0x78787879
imul edi
sar edx, 5
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x401213
inc ecx
mov eax, ecx
and eax, 0x80000001
jns 0x401235
dec eax
or eax, 0xfffffffe
inc eax
jne 0x401238
inc ecx
cmp ecx, 0x6712
jl 0x401226
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x403510
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
jbe 0x40356d
mov eax, dword [ebp + 8]
push ebx
push esi
mov ecx, dword [ebp + 0xc]
inc edi
mov bh, byte [edi + ecx - 1]
inc byte [eax]
movzx esi, byte [eax]
movzx edx, byte [esi + eax + 2]
movzx ecx, byte [eax + 1]
add esi, eax
add ecx, edx
movzx edx, cl
mov byte [eax + 1], cl
movzx ecx, byte [edx + eax + 2]
mov bl, byte [esi + 2]
mov byte [esi + 2], cl
mov byte [edx + eax + 2], bl
movzx ecx, byte [esi + 2]
mov edx, dword [ebp + 0xc]
add cl, bl
movzx ecx, cl
movzx ecx, byte [ecx + eax + 2]
xor cl, bh
mov byte [edi + edx - 1], cl
cmp edi, dword [ebp + 0x10]
jb 0x403520
pop esi
pop ebx
pop edi
pop ebp
ret
Function at 0x40f326
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0040f4d6
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 0x40f424
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 0x40f3c7
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x40f40a
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x40f3de
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x40f3f9
test al, 0x40
je 0x40f3f0
mov ecx, dword [edi + 0x20]
jmp 0x40f3f7
test al, 0x80
je 0x40f40a
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x40f40a
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 0x40f396
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x41f3b0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4bdbfb
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.004b1b87
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41f432
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004af380
mov eax, dword [eax]
push 0x509264
push eax
call fcn.0048f184
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004b1e12
test bl, bl
je 0x41f432
push 0x509264
lea ecx, [esp + 0xc]
call fcn.004b21a2
push 0x50cdd4
lea ecx, [esp + 0xc]
call fcn.004b21a2
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 0x41f46e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004b1e12
jmp 0x41f539
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 0x41f4f2
lea edx, [esp + 0x7c]
push 0x50cdd0
push edx
call fcn.0048f184
add esp, 8
test eax, eax
je 0x41f4f2
lea eax, [esp + 0x7c]
push 0x50cdcc
push eax
call fcn.0048f184
add esp, 8
test eax, eax
je 0x41f4f2
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 0x41f482
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.004b1e12
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 0x41fd30
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4bdc7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5159ec]
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 0x41fe68
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41fd96
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004b1e12
xor eax, eax
jmp 0x41fedf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004b1f4f
push esi
lea ecx, [esp + 0xc]
call fcn.004b21de
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x50ce0c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41febd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x50ce04
push closesocket
call fcn.00469c80
test eax, eax
jne 0x41febd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x50cdf0
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00469c80
test eax, eax
jne 0x41febd
lea eax, [esp + 0x14]
push 0x50cde8
push eax
call fcn.004902a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41fe9c
lea ecx, [esp + 0x14]
push 0x50cde4
push ecx
call fcn.00490220
mov esi, eax
add esp, 8
test esi, esi
jne 0x41fe9c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41fe9f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004b1eff
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41fdae
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004b1e12
xor eax, eax
jmp 0x41fedf
mov byte [esi], 0
push 0x50cde0
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.004b1e12
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 0x431f00
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 0x431f6e
cmp si, 0x69
ja 0x431f6e
add esi, 0xffd0
cmp si, 0x11
je 0x431f3e
push 0x11
call edi
test ax, ax
jge 0x431f3e
or esi, 0x2000
cmp si, 0x10
je 0x431f53
push 0x10
call edi
test ax, ax
jge 0x431f53
or esi, 0x4000
cmp si, 0x12
je 0x431f68
push 0x12
call edi
test ax, ax
jge 0x431f68
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x431f7b
mov esi, 0xbd
jmp 0x431f2f
cmp si, 0x6e
jne 0x431f88
mov esi, 0xbe
jmp 0x431f2f
cmp si, 0x6f
jne 0x431f29
mov esi, 0xbf
jmp 0x431f2f

Function at 0x433730
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x526f90]
xor edx, edx
cmp eax, edx
jne 0x433756
xor eax, eax
mov byte [eax + 0x526e90], al
inc eax
cmp eax, 0x100
jl 0x43373e
mov dword [0x526f90], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x526e90
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4337e7
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 0x4337ba
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 0x433788
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x433860
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 0x4338b3
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 0x43389a
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