joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10016c0a
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1005b082
call fcn.1005a3a0
sub esp, 0x28
push ebx
push esi
push edi
mov dword [ebp - 0x20], 0x5f65
mov edi, edx
mov ebx, ecx
mov dword [ebp - 0x10], esp
xor esi, esi
mov dword [ebp - 0x24], edi
cmp dword [ebp - 0x20], 0x60b4
mov dword [ebp - 0x1c], ebx
jle 0x10016c93
mov edi, esi
mov ebx, esi
mov dword [ebp - 0x18], esi
mov ecx, esi
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x14], ecx
mov eax, esi
shl eax, cl
mov ecx, 0x10074fb8
and eax, ebx
xor eax, edi
cdq
push edx
push eax
call fcn.1000333f
mov ecx, dword [ebp - 0x14]
inc ecx
mov dword [ebp - 0x14], ecx
cmp ecx, 0x6a45
jl 0x10016c48
inc esi
push 0
mov dword [ebp - 0x18], esi
cmp esi, 0x26ad
pop esi
jl 0x10016c40
inc ebx
cmp ebx, 0x39de
jl 0x10016c3d
inc edi
cmp edi, 0x45df
jl 0x10016c3b
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x24]
cmp byte [ebp + 0x14], 0
je 0x10016caf
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov dword [eax + ecx*4], 1
jmp 0x10016d43
mov dword [ebx], esi
jmp 0x10016d3a
push 1
lea ecx, [ebp - 0x34]
call fcn.100014a1
push ecx
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 2
push eax
mov dword [ebp - 0x18], 1
lea edx, [ebp - 0x28]
push ecx
call fcn.10016296
add esp, 0xc
mov dword [edi], esi
cmp dword [edi], esi
jg 0x10016d2c
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x24], 0xf1bcd962
xor edx, edx
mov dword [ebp - 0x18], 0xffffffff
mov ecx, dword [edi]
mov eax, dword [ebp - 0x34]
cmp dword [eax + ecx*4], esi
setge dl
cmp edx, dword [ebp - 0x18]
jge 0x10016d0f
mov eax, dword [ebp - 0x34]
cmp dword [eax], esi
je 0x10016d1e
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp dword [ebx], 2
je 0x10016d1e
xor eax, eax
inc eax
jmp 0x10016d20
mov eax, esi
mov dword [ebp - 0x24], eax
inc dword [edi]
cmp dword [edi], esi
jle 0x10016ce8
mov ebx, dword [ebp - 0x1c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.100014fe
dec dword [ebx]
cmp dword [ebx], 0xfffffffe
je 0x10016cb6
mov dword [ebp - 4], 3
cmp dword [ebp - 0x20], 0x5dac
jge 0x10016d62
mov edx, str.qtmu_zmzidvnkz_oec_hagb_pqmika_msjsqeqly_pvqmwlgj_ftwordre_spuw_hmkvieuoj_nhumu_jjfxhi_illejgqfh
mov ecx, 0x10074fb8
call fcn.1000494d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10018a60
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x1005b168
call fcn.1005a3a0
push ecx
push ecx
cmp byte [ebp + 0x10], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, edx
je 0x10018b22
mov dword [ebp - 0x14], 0x7028
cmp dword [ebp - 0x14], 0x707c
jle 0x10018ab9
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor esi, esi
mov edi, esi
mov ebx, 0x7b74
mov eax, edi
mov ecx, 0x10074fb8
cdq
push edx
push eax
call fcn.1000333f
dec edi
dec ebx
jne 0x10018a9d
inc esi
cmp esi, 0x1954
jl 0x10018a96
and dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x6f7e
jge 0x10018ad5
mov edx, str.zsk_vnysri_tnoaysfz_rbfkurh_veeeuebth_cwpdso_haqnx_jdx_cmoym_exmuzh_hqllb_rzrom
mov ecx, 0x10074fb8
call fcn.1000494d
or dword [ebp - 4], 0xffffffff
cmp byte [ebp + 8], 0
je 0x10018b03
mov ecx, dword [ebp + 0xc]
call fcn.10037a30
jmp 0x10018b51
push 0
push ecx
push ecx
push 0x7b39
mov edx, 0x1591
mov byte [ebp + 0x13], 0
lea ecx, [ebp + 0x13]
call fcn.10016be3
add esp, 0x10
jmp 0x10018b51
cmp byte [ebp + 0x14], 0
je 0x10018b37
movzx eax, word [ecx]
push eax
push ecx
mov ecx, dword [ebp + 0x1c]
call fcn.10001d41
jmp 0x10018b51
mov edx, dword [ebp + 0x18]
mov dword [edx], 0
jmp 0x10018b4c
mov ecx, dword [edx]
mov eax, dword [esi]
or dword [eax + ecx*4], 0xffffffff
inc dword [edx]
cmp dword [edx], 4
jl 0x10018b42
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001df75
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0x10], 0
push ebx
push esi
push edi
mov edi, ecx
je 0x1001dfe1
mov eax, dword [edi]
xor ebx, ebx
mov edx, dword [edi]
mov eax, dword [edi]
cmp edx, eax
mov esi, dword [ebp + 8]
setne bl
xor ecx, ecx
mov eax, dword [esi]
cmp ebx, eax
mov eax, dword [esi]
sete cl
xor edx, edx
cmp ecx, eax
mov eax, dword [esi]
setne dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [edi]
setne cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp + 0x20]
setge dl
xor ecx, ecx
mov eax, dword [eax]
cmp edx, eax
mov eax, dword [esi]
setle cl
sub ecx, eax
mov eax, dword [edi]
imul eax, ecx
xor ecx, ecx
cmp eax, 0xffffffff
mov eax, dword [ebp + 0x1c]
setle cl
add ecx, 0x7fb07d0
mov dword [eax], ecx
jmp 0x1001dff0
push 0x618
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x1001e29a
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [ebp + 0xc], 0
je 0x1001e30b
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov eax, dword [eax]
push edi
mov edi, dword [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ecx]
mov ecx, edi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push ebx
push eax
call fcn.10021d81
mov esi, dword [ebp - 4]
cmp esi, dword [edi]
je 0x1001e2d6
mov eax, dword [ebx]
cmp eax, dword [esi + 0x10]
jge 0x1001e2fa
push ecx
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push ecx
mov ecx, edi
call fcn.10021ee8
push eax
add eax, 0x10
mov ecx, edi
push eax
push esi
lea eax, [ebp - 4]
push eax
call fcn.10021f18
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0xc]
pop edi
mov dword [esi + 0x18], eax
pop esi
pop ebx
jmp 0x1001e315
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esp, ebp
pop ebp
ret
Function at 0x10037c40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
je 0x10038243
mov edi, dword [eax + 0x3c]
add edi, eax
movzx eax, word [edi + 0x14]
lea esi, [eax + edi + 0x18]
mov dword [ebp - 0x44], esi
call fcn.10037a4a
push esi
xchg ecx, eax
push edx
and cl, byte [edi]
mov bh, 0x47
push es
lea eax, [eax + eax*4]
shl eax, 3
sub eax, dword [ebp + 0x10]
add eax, esi
mov dword [ebp - 0xb4], eax
mov dword [ebp - 8], eax
call fcn.10037a4a
push es
ja 0x10037c4e
adc al, 0x8d
je 0x10037c8a
sbb byte [ecx - 0x1017438b], cl
std
invalid
add esp, dword [esi - 0x75]
inc edi
push es
cmp ax, bx
jbe 0x10037ca4
lea ecx, [esi + 0xc]
movzx edx, ax
dec esi
or al, 0xf
mov bh, 0xd0
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x10037c9e
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x10037c8f
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.10037a4a
sub eax, 0x8d7f1fab
inc ebp
test al, 0x50
call fcn.10037a5a
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.10037a0f
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x10037d38

Function at 0x10037ef5
Capabilities:
Contain obfuscated stackstrings
Inspect section memory permissions

Disassembly:
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.10037a4a
inc ebp
sub ch, byte [ebp + 0x67]
lea eax, [ebp - 0x84]
push eax
call fcn.10037a5a
push eax
push esi
push dword [ebp + 8]
call fcn.10037a0f
add esp, 0x10
les edx, [eax]
Function at 0x10038720
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xfffffc
je 0x1003873e
cmp dword [ebp - 0x398], 0
je 0x10038908
cmp dword [ebp + 0xc], 1
je 0x10038908
cmp dword [ebp + 0xc], 8
jne 0x100388d0
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
mov byte [ebp - 0x6a6], 9
mov byte [ebp - 0x6a5], 0xb
mov byte [ebp - 0x6a4], 0x16
mov byte [ebp - 0x6a3], 0x1d
mov byte [ebp - 0x6a2], 0x64
lea eax, [ebp - 0x6b8]
push eax
call fcn.10037a5a
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10037a0f
add esp, 0xc
mov dword [ebp - 0x690], eax
mov byte [ebp - 0x6a0], 0x8b
or byte [ebp - 0x69f], 0xff
mov byte [ebp - 0x69e], 0x55
mov byte [ebp - 0x69d], 0x8b
mov byte [ebp - 0x69c], 0xec
lea eax, [ebp - 0x694]
push eax
push 5
invalid
test dword [eax - 7], esp
invalid
Function at 0x1003cfeb
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1005bc56
call fcn.1005a3a0
sub esp, 0x1c
push ebx
push esi
mov dword [ebp - 0x20], 0x1ff4
xor esi, esi
cmp dword [ebp - 0x20], 0x2069
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], ecx
jle 0x1003d06a
push 0x25d3
push 0x1cf6
push esi
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov edi, esi
mov dword [ebp - 0x1c], esi
mov ecx, esi
mov eax, edi
sar eax, cl
mov ecx, 0x10074fb8
cdq
push edx
push eax
call fcn.1000333f
inc esi
cmp esi, 0x1ae
jl 0x1003d029
inc edi
push 0
pop esi
cmp edi, 0x52f2
jl 0x1003d026
push esi
push esi
push esi
push esi
push 0x24be
xor edi, edi
inc edi
push edi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
jmp 0x1003d06d
xor edi, edi
inc edi
cmp byte [ebp + 0x2c], 0
je 0x1003d0ca
mov edi, dword [ebp + 0x10]
mov dword [edi], esi
jmp 0x1003d0c1
push esi
push edi
push dword [ebp + 0x28]
mov ecx, dword [ebp + 0x14]
lea eax, [ebp - 0x24]
push esi
push 0x5b33
push 0x6a4b
push eax
push dword [ebp + 0x18]
mov dword [ebp - 0x24], 0xf1bcd962
mov edx, 0x5579
push 0x40d0
push 0x7391
push 0x22ea
push dword [ebp + 8]
push 0x47d6
call fcn.1003cfeb
add esp, 0x34
inc dword [edi]
cmp dword [edi], esi
jle 0x1003d07a
jmp 0x1003d19b
mov dword [ebp - 0x1c], 0x4fef
cmp dword [ebp - 0x1c], 0x5002
jle 0x1003d127
mov edi, esi
mov dword [ebp - 0x18], esi
mov ecx, esi
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x14], ecx
mov eax, esi
cdq
idiv ecx
mov eax, edi
mov ecx, 0x10074fb8
sub eax, edx
cdq
push edx
push eax
call fcn.1000333f
mov ecx, dword [ebp - 0x14]
inc ecx
mov dword [ebp - 0x14], ecx
cmp ecx, 0xd8a
jl 0x1003d0e7
inc esi
push 0
mov dword [ebp - 0x18], esi
cmp esi, 0x7a2b
pop esi
jl 0x1003d0df
inc edi
cmp edi, 0x7eec
jl 0x1003d0dc
xor edi, edi
inc edi
mov dword [ebp - 4], esi
cmp dword [ebp - 0x1c], 0x4c77
jge 0x1003d163
mov edx, str.qgutaps_yaml_bxkgqskl_ibkc_vhe_shf_nsfs
mov ecx, 0x10074fb8
call fcn.1000494d
jmp 0x1003d163
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x28]
mov dword [eax], 0xffffffff
mov eax, dword [ebp + 0x34]
mov eax, dword [eax]
mov edx, dword [ecx]
xor ecx, ecx
cmp dword [edx + eax*4], esi
setge cl
cmp ecx, 0xffffffff
jge 0x1003d187
cmp dword [edx], esi
je 0x1003d194
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
mov eax, dword [ebp + 0x30]
cmp dword [eax], 2
jne 0x1003d196
mov edi, esi
mov eax, dword [ebp + 0x20]
mov dword [eax], edi
mov dword [ebp - 4], 2
cmp dword [ebp - 0x20], 0x1d88
jge 0x1003d1ba
mov edx, str.hppv_liqi_ovyyzxkcf_gjukyuy_evzfnvtju_oxacfjcnd_ctiafwk_nepcqaws_zrpp
mov ecx, 0x10074fb8
call fcn.1000494d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1003d52a
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1005bc6a
call fcn.1005a3a0
sub esp, 0xc
cmp byte [ebp + 0x10], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
je 0x1003d5d9
mov byte [ebp - 0x11], 0
cmp byte [ebp - 0x11], 0
je 0x1003d5bd
mov dword [ebp - 0x18], 0x573a
cmp dword [ebp - 0x18], 0x59a1
jle 0x1003d59a
xor esi, esi
xor edi, edi
xor ebx, ebx
mov eax, edi
mov ecx, 0x10074fb8
cdq
idiv ebx
xor edx, esi
mov eax, edx
cdq
push edx
push eax
call fcn.1000333f
inc ebx
cmp ebx, 0x330d
jl 0x1003d569
inc edi
cmp edi, 0x389e
jl 0x1003d567
inc esi
cmp esi, 0xa8f
jl 0x1003d565
mov dl, 1
call fcn.1003cfaa
and dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0x5489
jge 0x1003d5bd
mov edx, str.svmwht_tywwv_hxud_txrukcdvh
mov ecx, 0x10074fb8
call fcn.1000494d
jmp 0x1003d5f6
mov edx, dword [ebp + 0x20]
mov dword [edx], 0
jmp 0x1003d5f1
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0xfffffff9
inc dword [edx]
cmp dword [edx], 1
jl 0x1003d5e4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1003d638
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ecx + 4], edx
push edi
inc esi
lea edi, [ecx + 8]
mov ebx, 0x270
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, esi
inc esi
mov dword [edi], edx
lea edi, [edi + 4]
cmp esi, ebx
jl 0x1003d64f
pop edi
pop esi
mov dword [ecx], ebx
pop ebx
pop ebp
ret 8

Function at 0x1003d671
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov edx, 0x10076884
push edi
mov esi, edx
mov edi, 0x7fffffff
mov ecx, dword [esi + 0x9c4]
xor ecx, dword [esi + 0x9c0]
and ecx, edi
xor ecx, dword [esi + 0x9c0]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0xff4]
xor eax, ecx
mov dword [esi], eax
add esi, 4
cmp esi, 0x10076c10
jl 0x1003d67f
mov esi, 0x9908b0df
mov ecx, dword [edx + 0xd50]
xor ecx, dword [edx + 0xd4c]
and ecx, edi
xor ecx, dword [edx + 0xd4c]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, esi
xor eax, ecx
xor eax, dword [edx]
mov dword [edx + 0x38c], eax
add edx, 4
cmp edx, 0x10076eb4
jl 0x1003d6bf
mov ecx, dword [0x10077c00]
xor ecx, dword [0x10076884]
and ecx, edi
xor ecx, dword [0x10077c00]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
and dword [0x10076880], 0
and eax, esi
shr ecx, 1
xor eax, ecx
xor eax, dword [0x10076eb4]
mov dword [0x10077240], eax
pop esi
ret
Function at 0x4122d0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a685b
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.004989cc
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x412352
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00495e80
mov eax, dword [eax]
push 0xe8acec
push eax
call fcn.00487be4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00498c57
test bl, bl
je 0x412352
push 0xe8acec
lea ecx, [esp + 0xc]
call fcn.00499033
push 0xe8acf8
lea ecx, [esp + 0xc]
call fcn.00499033
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 0x41238e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00498c57
jmp 0x412459
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 0x412412
lea edx, [esp + 0x7c]
push 0xe8acf4
push edx
call fcn.00487be4
add esp, 8
test eax, eax
je 0x412412
lea eax, [esp + 0x7c]
push 0xe8acf0
push eax
call fcn.00487be4
add esp, 8
test eax, eax
je 0x412412
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 0x4123a2
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.00498c57
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 0x412c70
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 0x412cd2
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 0x412ce0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a68db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0xe9adf8]
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 0x412e18
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x412d46
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00498c57
xor eax, eax
jmp 0x412e8f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00498de0
push esi
lea ecx, [esp + 0xc]
call fcn.0049906f
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 0x412e6d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.00412c70
test eax, eax
jne 0x412e6d
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 SysReAllocString
mov ecx, edi
call fcn.00412c70
test eax, eax
jne 0x412e6d
lea eax, [esp + 0x14]
push 0xe8ad08
push eax
call fcn.00488d00
mov esi, eax
add esp, 8
test esi, esi
jne 0x412e4c
lea ecx, [esp + 0x14]
push 0xe8ad04
push ecx
call fcn.00488c80
mov esi, eax
add esp, 8
test esi, esi
jne 0x412e4c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x412e4f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00498d90
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x412d5e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00498c57
xor eax, eax
jmp 0x412e8f
mov byte [esi], 0
push 0xe8ad00
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.00498c57
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 0x425e60
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 0x425ece
cmp si, 0x69
ja 0x425ece
add esi, 0xffd0
cmp si, 0x11
je 0x425e9e
push 0x11
call edi
test ax, ax
jge 0x425e9e
or esi, 0x2000
cmp si, 0x10
je 0x425eb3
push 0x10
call edi
test ax, ax
jge 0x425eb3
or esi, 0x4000
cmp si, 0x12
je 0x425ec8
push 0x12
call edi
test ax, ax
jge 0x425ec8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x425edb
mov esi, 0xbd
jmp 0x425e8f
cmp si, 0x6e
jne 0x425ee8
mov esi, 0xbe
jmp 0x425e8f
cmp si, 0x6f
jne 0x425e89
mov esi, 0xbf
jmp 0x425e8f

Function at 0x427730
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xeabe80]
xor edx, edx
cmp eax, edx
jne 0x427756
xor eax, eax
mov byte [eax + 0xeabd80], al
inc eax
cmp eax, 0x100
jl 0x42773e
mov dword [0xeabe80], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xeabd80
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4277e7
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 0x4277ba
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 0x427788
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x427860
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 0x4278b3
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 0x42789a
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