joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100f97f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [0x100fdaa4], 0x77
mov dword [ebp - 0x10], eax
call fcn.100fa166
xor ecx, ecx
mov edx, eax
mov dword [0x100fdaa8], 0x265c
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x100f9840
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x100fdaa4], 0x16b1
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x100f98b4
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
jmp 0x100f9905
mov al, byte [ebp - 0x39]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x40]
add edx, 1
mov ah, byte [ebp - 0x41]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x48], edx
jne 0x100f98bf
jmp 0x100f9921
mov eax, dword [ebp - 0x30]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x48]
mov ecx, eax
mov edx, dword [ebp - 0x4c]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x39], bh
mov byte [ebp - 0x41], cl
je 0x100f9921
jmp 0x100f9889
mov eax, dword [ebp - 0x50]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [ebp - 0x30], edi
jmp 0x100f98b4
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edx
jmp 0x100f98bf
mov al, byte [ebp - 0x41]
test al, 1
jne 0x100f98ea
jmp 0x100f992a
xor eax, eax
mov ecx, dword [ebp - 0x50]
add ecx, 2
mov edx, dword [ebp - 0x54]
add edx, 1
mov esi, dword [ebp - 0x2c]
cmp edx, esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edx
jb 0x100f9905
jmp 0x100f98b4
Function at 0x100f9f33
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x100fdaa8], 0x102f
mov dword [0x100fdab0], 0
mov byte [0x100fdab4], 0
mov dword [0x100fdaa4], 0x194
mov dword [0x100fdaac], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x100f9f8c
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x100fdaa4], 0x540
mov eax, dword [0x100fdaac]
add eax, 1
mov dword [0x100fdaac], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x100f9f8c
xor eax, eax
mov ecx, 0x225b
mov dword [0x100fdaa8], 0x225b
mov dword [0x100fdaac], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0x100
mov dword [0x100fdab8], 0
mov dword [ebp - 0x28], eax
mov eax, ecx
xor esi, esi
mov dword [ebp - 0x2c], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [ebp - 0x28]
add edi, 0x8b2
mov ebx, dword [ebp - 0x28]
add ebx, 0xffffeb81
mov dword [0x100fdaa8], ebx
mov ebx, dword [0x100fdab0]
mov esi, dword [ebp - 0x18]
movzx esi, byte [esi + ecx]
add esi, ebx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add esi, edx
mov dword [0x100fdab8], esi
mov eax, esi
cdq
mov esi, dword [ebp - 0x2c]
idiv esi
mov dword [0x100fdab0], edx
mov dword [0x100fdaa4], edi
mov edi, dword [ebp - 0x18]
mov bl, byte [edi + ecx]
mov byte [0x100fdab4], bl
mov dword [0x100fdaa8], 0xf5e
mov bl, byte [edi + edx]
mov byte [edi + ecx], bl
mov ecx, dword [0x100fdaa4]
add ecx, 0xffffe36b
mov dword [0x100fdaa4], ecx
mov bl, byte [0x100fdab4]
mov ecx, dword [0x100fdab0]
mov byte [edi + ecx], bl
mov ecx, dword [0x100fdaac]
add ecx, 1
mov dword [0x100fdaac], ecx
cmp ecx, 0x100
mov dword [ebp - 0x30], ecx
jge 0x100f9f84
mov eax, dword [0x100fdaa8]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], eax
jmp 0x100f9fdd
Function at 0x100fa2e6
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, 0x2d17
mov ebx, 0xb8c
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [0x100fdaac], 0
mov dword [0x100fdab0], 0
mov dword [0x100fdabc], 0
mov dword [ebp - 0x14], eax
mov eax, dword [0x100fdaa4]
add eax, 0xffffdbca
mov dword [0x100fdaa8], eax
mov dword [0x100fdaa4], 0xb8c
mov eax, dword [ebp - 0x10]
cmp eax, 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ebx
jne 0x100fa37f
mov eax, dword [ebp - 0x20]
mov dword [0x100fdaa8], eax
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x34]
mov edi, 0x100
add ecx, 1
add esi, 0xffffe6cf
mov ebx, eax
add ebx, 1
mov dword [ebp - 0x38], eax
mov eax, ecx
mov dword [ebp - 0x3c], edx
cdq
idiv edi
mov dword [0x100fdaac], edx
mov dword [0x100fdaa8], 0x2089
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ecx + edx]
mov dword [ebp - 0x40], edx
mov edx, dword [ebp - 0x3c]
add ecx, edx
mov eax, ecx
cdq
idiv edi
mov dword [0x100fdab0], edx
mov dword [0x100fdaa8], esi
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x40]
mov cl, byte [ecx + esi]
mov byte [0x100fdab4], cl
mov dword [0x100fdaa4], 0x136f
mov edi, dword [ebp - 0x2c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x100fdaa8], 0xf56
mov cl, byte [0x100fdab4]
mov edx, dword [0x100fdab0]
mov byte [edi + edx], cl
mov dword [0x100fdaa4], 0x2311
mov edx, dword [0x100fdaac]
movzx edx, byte [edi + edx]
mov ecx, dword [0x100fdab0]
movzx ecx, byte [edi + ecx]
add ecx, edx
mov dword [0x100fdaa8], 0xa5a
and ecx, 0xff
mov dword [0x100fdabc], ecx
mov cl, byte [edi + ecx]
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x38]
mov ch, byte [edx + esi]
mov dword [0x100fdaa4], 0x6f8
xor ch, cl
mov edx, dword [ebp - 0x28]
mov byte [edx + esi], ch
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x44], ebx
je 0x100fa49d
mov eax, dword [0x100fdab0]
mov ecx, dword [0x100fdaa4]
mov edx, dword [0x100fdaac]
mov esi, dword [ebp - 0x44]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x30], esi
jmp 0x100fa37f
mov eax, dword [0x100fdaa4]
add eax, 0x218b
mov dword [ebp - 0x20], eax
jmp 0x100fa36f
Function at 0x100fa4af
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
mov dword [0x100fdaa4], 0x1c0e
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.100f9abb
lea ecx, [0x100f9df1]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x54], edx
mov dword [esp + 0x80], 0x134800
mov edx, dword [0x100fda90]
mov dword [esp + 0x60], edx
mov edx, dword [0x100fda94]
mov dword [esp + 0x8c], edx
mov edx, dword [0x100fda98]
mov dword [esp + 0x68], edx
mov edx, dword [0x100fda9c]
mov dword [esp + 0x40], edx
mov edx, dword [0x100fdaa0]
mov dword [esp + 0x30], edx
mov dword [0x100fdaa4], 0x1fcb
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x100fa58d
lea eax, [esp + 0x30]
mov dword [0x100fdaa4], 0x1c67
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.100f9511
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x100fdaa4], 0x1592
mov dword [esp + 0x10], eax
jmp 0x100fa5ee
mov eax, dword [esp + 0xc]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0xc], eax
jne 0x100fa57b
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 8], ecx
jne 0x100fa57b
mov eax, dword [esp + 0xc]
mov dword [esp + 0x6c], eax
mov dword [0x100fdaa4], 0xe25
mov dword [0x100fdaa8], 0x265c
mov ecx, dword [esp + 8]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x50], edx
call fcn.100f966c
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x10], ecx
je 0x100fa53b
mov eax, dword [esp + 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x40324c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x40325b
pop dword [ebp - 0x4c]
mov eax, 0x126693b0
sub eax, 0x12266155
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0xcb266dea
add dword [ebp - 0x5c], 0x832bd761
mov dword [ebp - 0x58], 0x1b148105
add dword [ebp - 0x58], 0x171ecb40
mov dword [ebp - 0x54], 0xfee9a05
add dword [ebp - 0x54], 0x3c5daa29
mov dword [ebp - 0x50], 0x264eeae1
sub dword [ebp - 0x50], 0x264eeae1
lea eax, [ebp - 0x5c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0xfdb32bba
sub dword [ebp - 0x5c], 0x8940c264
mov dword [ebp - 0x58], 0x32f6ba69
add dword [ebp - 0x58], 0xe75a70c
mov dword [ebp - 0x54], 0x89491054
sub dword [ebp - 0x54], 0x25d9a3e8
mov dword [ebp - 0x50], 0xe5bcb830
sub dword [ebp - 0x50], 0xe5bcb830
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0xf8446ef1
sub eax, 0xf803ee75
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x3a79c
push 0
call eax
mov ecx, 0x7bc86b2c
add ecx, 0x8437ea9b
xor edi, edi
add edi, eax
mov esi, 0x27912a93
add esi, 0xd8b4676d
add esi, dword [ebp - 0x4c]
mov ebx, 0x64df54e3
add ebx, 0x1170b7fa
xor dword [ebp - 0x14], eax
mov edx, dword [esi]
mov dword [ebp - 0x38], 0xc6b47ea5
xor edx, ebx
sub dword [ebp - 0x3c], ecx
mov dword [edi], edx
xor dword [ebp - 0xc], 0xb60ea360
add edi, 0x75d20f74
add edi, 0x8a2df090
add esi, 4
loop 0x40337a
add eax, 0x149ef
xor ebx, ebx
add ebx, eax
add eax, 0x9b879279
add eax, 0x64786d8c
mov ecx, 0x400000
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x411014
Capabilities:
Terminate process

Disassembly:
jmp 0x412a30
jmp fcn.00413230
cmp ecx, dword [0x417014]
jne 0x412a3a
repz ret
jmp 0x411082
Function at 0x40da18
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40da3e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40da3e
xor al, al
jmp 0x40da5e
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.00412340
mov ecx, eax
xor eax, eax
add ecx, esi
adc edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4

Function at 0x4119f1
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
xor eax, eax
and edx, 7
cmp ecx, 5
jae 0x411a0a
leave
ret
add dword [ebp + 0x10], 5
or dword [ebp + 0xc], 0xffffffff
push ebx
push esi
mov esi, dword [ebp + 8]
lea ecx, [esi + ecx - 4]
push edi
mov dword [ebp - 4], ecx
lea edi, [eax + esi]
jmp 0x411a2d
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x411a32
inc edi
cmp edi, dword [ebp - 4]
jb 0x411a24
mov eax, edi
sub eax, esi
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 4]
jae 0x411b2a
mov ecx, eax
sub ecx, dword [ebp + 0xc]
cmp ecx, 3
jbe 0x411a89
xor edx, edx
mov cl, byte [edi + 4]
mov dword [ebp + 0xc], eax
test cl, cl
je 0x411a5d
cmp cl, 0xff
jne 0x411ab4
movzx esi, cl
movzx ecx, byte [edi + 3]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 2]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 1]
shl esi, 8
or esi, ecx
cmp dword [ebp + 0x18], 0
je 0x411ac2
lea ebx, [esi + eax]
add ebx, dword [ebp + 0x10]
jmp 0x411ac9
dec ecx
shl edx, cl
and edx, 7
je 0x411a4e
movzx ecx, byte [edx + 0x414fc0]
mov ebx, edi
sub ebx, ecx
cmp byte [edx + 0x414fb8], 0
mov cl, byte [ebx + 4]
je 0x411ab1
test cl, cl
je 0x411ab1
cmp cl, 0xff
jne 0x411a4e
mov dword [ebp + 0xc], eax
and edx, 3
add edx, edx
or edx, 1
inc eax
jmp 0x411a1f
sub esi, eax
sub esi, dword [ebp + 0x10]
mov ebx, esi
test edx, edx
je 0x411afd
movzx esi, byte [edx + 0x414fc0]
push 0x18
shl esi, 3
pop ecx
sub ecx, esi
mov eax, ebx
shr eax, cl
test al, al
je 0x411ae8
cmp al, 0xff
jne 0x411afa
mov eax, dword [ebp - 8]
push 0x20
pop ecx
sub ecx, esi
xor esi, esi
inc esi
shl esi, cl
dec esi
xor esi, ebx
jmp 0x411a7b
mov eax, dword [ebp - 8]
mov esi, dword [ebp + 8]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [edi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [edi + 3], cl
mov ecx, ebx
shr ecx, 8
mov byte [edi + 2], cl
mov byte [edi + 1], bl
add eax, 5
jmp 0x411a1f
mov esi, eax
sub esi, dword [ebp + 0xc]
push 3
lea ecx, [esi - 1]
shl edx, cl
pop edi
and edx, 7
cmp edi, esi
sbb ecx, ecx
not ecx
pop edi
and ecx, edx
mov edx, dword [ebp + 0x14]
pop esi
mov dword [edx], ecx
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x440160
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d6a1b
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.004cb2be
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4401e2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004c89ca
mov eax, dword [eax]
push 0x61fccc
push eax
call fcn.004ba3a4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004cb549
test bl, bl
je 0x4401e2
push 0x61fccc
lea ecx, [esp + 0xc]
call fcn.004cb8d9
push 0x61fcd8
lea ecx, [esp + 0xc]
call fcn.004cb8d9
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 0x44021e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004cb549
jmp 0x4402e9
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 0x4402a2
lea edx, [esp + 0x7c]
push 0x61fcd4
push edx
call fcn.004ba3a4
add esp, 8
test eax, eax
je 0x4402a2
lea eax, [esp + 0x7c]
push 0x61fcd0
push eax
call fcn.004ba3a4
add esp, 8
test eax, eax
je 0x4402a2
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 0x440232
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.004cb549
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 0x440af0
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 0x440b52
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 0x440b60
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d6a9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x62f350]
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 0x440c98
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x440bc6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004cb549
xor eax, eax
jmp 0x440d0f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004cb686
push esi
lea ecx, [esp + 0xc]
call fcn.004cb915
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 0x440ced
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00440af0
test eax, eax
jne 0x440ced
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.00440af0
test eax, eax
jne 0x440ced
lea eax, [esp + 0x14]
push 0x61fce8
push eax
call fcn.004bb510
mov esi, eax
add esp, 8
test esi, esi
jne 0x440ccc
lea ecx, [esp + 0x14]
push 0x61fce4
push ecx
call fcn.004bb490
mov esi, eax
add esp, 8
test esi, esi
jne 0x440ccc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x440ccf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004cb636
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x440bde
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004cb549
xor eax, eax
jmp 0x440d0f
mov byte [esi], 0
push 0x61fce0
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.004cb549
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 0x453b90
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 0x453bfe
cmp si, 0x69
ja 0x453bfe
add esi, 0xffd0
cmp si, 0x11
je 0x453bce
push 0x11
call edi
test ax, ax
jge 0x453bce
or esi, 0x2000
cmp si, 0x10
je 0x453be3
push 0x10
call edi
test ax, ax
jge 0x453be3
or esi, 0x4000
cmp si, 0x12
je 0x453bf8
push 0x12
call edi
test ax, ax
jge 0x453bf8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x453c0b
mov esi, 0xbd
jmp 0x453bbf
cmp si, 0x6e
jne 0x453c18
mov esi, 0xbe
jmp 0x453bbf
cmp si, 0x6f
jne 0x453bb9
mov esi, 0xbf
jmp 0x453bbf

Function at 0x455620
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x63fc50]
xor edx, edx
cmp eax, edx
jne 0x455646
xor eax, eax
mov byte [eax + 0x63fb50], al
inc eax
cmp eax, 0x100
jl 0x45562e
mov dword [0x63fc50], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x63fb50
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4556d7
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 0x4556aa
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 0x455678
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x455750
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 0x4557a3
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 0x45578a
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