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

Disassembly:
pushal
call 0x9304c6
pop ebp
sub ebp, 6
sub ebp, 0x5304c0
jmp 0x930524
jmp 0x93052d
mov eax, 0x5304c0
add eax, ebp
add eax, 0x93
mov ecx, 0x639
mov edx, 0xe0c12a3c
xor byte [eax], dl
inc eax
dec ecx
jne 0x930544
jmp 0x930557
push esi
jl 0x9305ae
cmp al, 0x2c
cmp al, 0x3c
push esp
cmp al, 0xf0
adc byte [edi*4 + 0x7bc498cc], bh
pop esp
mov ebp, 0x7bc498cc
pop esp
paddb mm5, qword [ebx + eax*8 - 0x57]
inc esp
jge 0x9305ec
cmp al, 0x6c
mov bh, 0xf1
mov bh, 0xb5
add byte [esp + edi], bh
cmp al, 0xbd
std
les edi, [esp + edi]
cmp al, 0x3f
int1
test byte [edx], bh
cmp al, 0x3c
cmp al, 0x86
adc al, 0x3c
cmp al, 0x3c
retf
cmp al, 0x3c
cmp al, 0x3c
aam 0x39
cmp al, 0x3c
cmp al, 0xd5
adc al, 0x3c
cmp al, 0x3c
imul esi, dword [edi + 0x34b9b7d0], 0xb73c3c3c
test eax, 0x3c3c3c30
mov bh, 0xb1
sub al, 0x3c
cmp al, 0x3c
std
aad 0x3e
or eax, 0x38febf3e
jne 0x93060e
mov ecx, 0xc3c3c3c8
popal
invalid
salc
add eax, 0xe9543c35
div byte [ebp + 0x3c]
cmp eax, 0xd46d1810
cmp dword [esp + edi], edi
cmp al, 0xd5
ja 0x93063f
cmp al, 0x3c
imul esi, dword [edi + 0x3049c3d0], 0xd43449c3
inc edx
cmp al, 0x3c
cmp al, 0xb7
xor dword [esp + edi], 0xcdbd3c3c
sbb edx, dword [edi + edx*2 - 0x25]
mov ebp, 0x57541bcd
fisttp dword [edi]
cmc
mov ebp, 0xafd3d1ce
popfd
mov ebp, 0xafd3d1ce
popfd
pmaxsw mm7, qword [edi + 0x337439d4]
mov eax, 0x3c3c3c72
cmp al, 0x3c
xor esi, dword [esp + esi*2 + 0x5a3c3c3c]
je 0x93067d
cmp al, 0x3c
pop edx
mov bh, 0x20
add eax, 0x33d4c7bc
mov eax, 0x3c3c3c26
mov esp, 0xb833d5c7
sub eax, 0x5a3c3c3c
mov ebp, 0x3319c3c7
mov eax, 0x3c3c3c29
jge 0x93063b
invalid
mov edi, 0xd6bf3afd
cmp byte [edi - 0x682ac62c], bh
ret
Function at 0x409ebd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x409ebd
lcall 0x5de5, 0x8b10c483
jmp fcn.0076d6b4

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 0xbca908
Capabilities:
Encode data using xor

Disassembly:
jmp 0xbca912
pushal
call 0xbca918
pop ebp
sub ebp, 0x10
sub ebp, 0x7ca908
mov al, byte [esp + 0x28]
cmp al, 1
je 0xbca93c
popal
xor eax, eax
inc eax
ret 0xc
jmp 0xbca945
mov eax, 0x7ca908
add eax, ebp
add eax, 0x63
mov ecx, 0x611
mov edx, 0x8195377f
xor byte [eax], dl
inc eax
dec ecx
jne 0xbca95c
jmp 0xbca96f
hlt
Function at 0x417f10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x10000]
push edi
or ebp, 0xffffffff
jmp 0x417f32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x417f39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x417f28
mov eax, 1
add ebx, ebx
jne 0x417f4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x417f40
jne 0x417f5c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x417f40
xor ecx, ecx
sub eax, 3
jb 0x417f70
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x417fe2
mov ebp, eax
add ebx, ebx
jne 0x417f7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x417f88
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x417fac
inc ecx
add ebx, ebx
jne 0x417f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x417f8d
jne 0x417fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x417f8d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x417fcc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x417fbd
jmp 0x417f2e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x417fcc
add edi, ecx
jmp 0x417f2e
pop esi
mov edi, esi
mov ecx, 0xa9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x417fea
cmp byte [edi], 5
jne 0x417fea
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x417fef
lea edi, [esi + 0x15000]
mov eax, dword [edi]
or eax, eax
je 0x41805e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x181dc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x182a8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41801c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x182b0]
or eax, eax
je 0x418058
mov dword [ebx], eax
add ebx, 4
jmp 0x418039
call dword [esi + 0x182ac]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x41808f
cmp al, 0xef
ja 0x418082
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x418064
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x418071
mov ebp, dword [esi + 0x182b4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4180c3
sub esp, 0xffffff80
jmp 0x404af0
Function at 0x40b730
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.0041b920
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.0041b920
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x40b790
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x4fc06c]
test esi, esi
jle 0x40b8b0
mov eax, dword [0x4fc070]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp edx, ebx
ja 0x40b7c4
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x40b847
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x40b7b0
mov dword [esp], ebx
call fcn.0040c120
mov edi, eax
test eax, eax
je 0x40b8d7
mov eax, dword [0x4fc070]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.0040c230
mov edx, dword [0x4fc070]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x40b8b7
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x40b840
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x40b850
add dword [0x4fc06c], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 0x40
mov eax, 4
mov ecx, dword [esp + 0x20]
cmovne eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x4fc070]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x40b840
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.0040b730
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x40b7ce
mov eax, dword [0x4fc070]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.0040b730
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.0040b730
lea esi, [esi]
nop
Function at 0x40bd90
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x4fc088
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x4fc080]
sub esp, 4
test ebx, ebx
je 0x40bde5
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x40bdde
test esi, esi
je 0x40bdde
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x40bdc0
mov dword [esp], 0x4fc088
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x40c6b0
Capabilities:
Allocate thread local storage

Disassembly:
mov eax, dword [0x4fc084]
test eax, eax
jne 0x40be10
ret
push ebx
sub esp, 0x18
mov dword [esp + 4], 0xc
mov dword [esp], 1
call sub.msvcrt.dll_calloc
mov ebx, eax
test eax, eax
je 0x40be70
mov eax, dword [esp + 0x20]
mov dword [esp], 0x4fc088
mov dword [ebx], eax
mov eax, dword [esp + 0x24]
mov dword [ebx + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4fc080]
mov dword [0x4fc080], ebx
sub esp, 4
mov dword [ebx + 8], eax
mov dword [esp], 0x4fc088
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
sub esp, 4
add esp, 0x18
pop ebx
ret
or eax, 0xffffffff
jmp 0x40be6b
push esi
push ebx
sub esp, 4
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x40c6e0
mov dword [esi], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
add esp, 4
pop ebx
pop esi
jmp 0x41bb30
add esp, 4
pop ebx
pop esi
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [esp + 8]
test eax, eax
jne 0x41bb40
xor eax, eax
ret
jmp 0x40be00

Function at 0x40c720
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x40c760
Capabilities:
Set thread local storage value

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
je 0x40c788
xor eax, eax
add esp, 0x1c
ret
add esp, 0x1c
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x41efb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ecx, 0x1a
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x80]
mov esi, 0x4b5611
push ebx
sub esp, 0x9c
mov eax, dword [str.not_enough_space_for_format_expansion__Please_submit_full_bug_report_at_https:__gcc.gnu.org_bugs__:_n]
mov dword [ebp - 0x81], eax
mov eax, dword [0x4b5675]
mov dword [ebp - 0x1c], eax
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp + 8]
lea eax, [edx + 0x84]
and eax, 0xfffffff0
call fcn.0040c3a0
mov ecx, 0x1a
sub esp, eax
lea esi, [ebp - 0x81]
mov dword [ebp - 0x8c], edx
lea ebx, [esp + 0x1b]
and ebx, 0xfffffff0
mov edi, ebx
lea eax, [ebx + 0x68]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 8]
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [esp + 4], ecx
call sub.msvcrt.dll_memcpy
mov edx, dword [ebp - 0x8c]
mov byte [ebx + edx + 0x68], 0
mov dword [esp], ebx
call fcn.004a9f20
nop
nop
nop
nop
nop
nop
nop
push edi
push esi
push ebx
sub esp, 0x20
cmp byte [0x4b3bdc], 0
jne 0x41f0d6
mov byte [0x4b3bdc], 1
call fcn.004a82f0
test eax, eax
je 0x41f0a4
mov ebx, dword [eax + 4]
xor eax, eax
cmp byte [ebx], 0x2a
mov dword [esp + 8], 0
sete al
mov dword [esp + 4], 0
add ebx, eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0xc], eax
mov dword [esp], ebx
call fcn.0040b330
mov dword [esp], 2
mov esi, dword [fcn.0041b920]
mov edi, eax
call esi
mov dword [esp + 8], 0x30
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_after_throwing_an_instance_of_
call sub.msvcrt.dll_fwrite
mov edx, dword [esp + 0x1c]
mov dword [esp], 2
test edx, edx
je 0x41f094
call esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputs
mov dword [esp], 2
call esi
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x4b4515
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4a9188
jmp 0x4a9180
call esi
mov dword [esp], edi
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputs
jmp 0x41f05a
mov dword [esp], 2
call dword [0x4b2080]
mov dword [esp + 8], 0x2d
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_without_an_active_exception_n
call sub.msvcrt.dll_fwrite
jmp 0x4a917b
mov dword [esp], 2
call dword [0x4b2080]
mov dword [esp + 8], 0x1d
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_recursively_n
call sub.msvcrt.dll_fwrite
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x4708a0
Capabilities:
Read file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x1c
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
jmp 0x4708c3
call dword [sym.imp.msvcrt.dll__errno]
cmp dword [eax], 4
jne 0x4708e1
mov ecx, ebx
call fcn.00470640
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.msvcrt.dll__read
mov ebp, eax
cmp eax, 0xffffffff
je 0x4708b8
add esp, 0x1c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret 8
Function at 0x92ffe4
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x92ffea
pop ebp
sub ebp, 6
sub ebp, 0x52ffe4
jmp 0x930048
jmp 0x930051
mov eax, 0x52ffe4
add eax, ebp
add eax, 0x93
mov ecx, 0x634
mov edx, 0x45b10216
xor byte [eax], dl
inc eax
dec ecx
jne 0x930068
jmp 0x93007b
jl 0x9300d3
jle 0x930095
push es
push ss
push ss
jle 0x93009a
fidivr dword [edx]
push ss
and eax, 0x83e946d6
outsb dx, byte [esi]
push edi
pop edi
push ss
inc esi
popfd
fistp dword [ebp + 0x16162a9f]
sub dl, byte [esi]
push ss
push ss
xchg edi, eax
xlatb
out dx, al
push ss
push ss
push ss
adc eax, 0x1610aedb
scasb al, byte es:[edi]
adc byte [esi], dl
push ss
push ss
lodsb al, byte [esi]
push ss
push ss
push ss
loope 0x9300a1
adc eax, 0x1a979dde
push ss
push ss
push ss
adc eax, 0x27e46d3
and ebx, dword [edi]
push ss
jle 0x930098
fcomp qword [edi + 0x16]
pop ss
cmp dh, byte [edx]
jle 0x9300dd
push ss
push ss
push ss
invalid
push ss
inc ebx
popfd
cli
popfd
xchg ebx, eax
push ds
push ss
push ss
push ss
popfd
sbb dword [edx], 0x16
push ss
push ss
popfd
wait
push es
push ss
push ss
push ss
xlatb
call dword [edi]
adc al, 0x95
aam 0x12
pop edi
sbb dword [ebx - 0x1616161e], edx
dec ebx
aam 0x1a
push ss
popfd
lcall 0x7e16, 0x16161232
add ah, byte [ebx]
pop ds
push ss
jle 0x9300e3
fcomp qword [edi + 0x16]
pop ss
cmp dh, byte [edx]
inc edi
invalid
Function at 0x487980
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x526e2b
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.0051b417
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x487a02
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00518bcd
mov eax, dword [eax]
push 0x8f9cf8
push eax
call fcn.0050ad64
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0051b6a2
test bl, bl
je 0x487a02
push 0x8f9cf8
lea ecx, [esp + 0xc]
call fcn.0051ba32
push 0x8f9d04
lea ecx, [esp + 0xc]
call fcn.0051ba32
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 0x487a3e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0051b6a2
jmp 0x487b09
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 0x487ac2
lea edx, [esp + 0x7c]
push 0x8f9d00
push edx
call fcn.0050ad64
add esp, 8
test eax, eax
je 0x487ac2
lea eax, [esp + 0x7c]
push 0x8f9cfc
push eax
call fcn.0050ad64
add esp, 8
test eax, eax
je 0x487ac2
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 0x487a52
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.0051b6a2
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 0x488300
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 0x488362
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 0x488370
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x526eab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x90e9f8]
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 0x4884a8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4883d6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0051b6a2
xor eax, eax
jmp 0x48851f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0051b7df
push esi
lea ecx, [esp + 0xc]
call fcn.0051ba6e
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 0x4884fd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.00488300
test eax, eax
jne 0x4884fd
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.00488300
test eax, eax
jne 0x4884fd
lea eax, [esp + 0x14]
push 0x8f9d14
push eax
call fcn.0050beb0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4884dc
lea ecx, [esp + 0x14]
push 0x8f9d10
push ecx
call fcn.0050be30
mov esi, eax
add esp, 8
test esi, esi
jne 0x4884dc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4884df
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0051b78f
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4883ee
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0051b6a2
xor eax, eax
jmp 0x48851f
mov byte [esi], 0
push 0x8f9d0c
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.0051b6a2
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 0x49cca0
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 0x49cd0e
cmp si, 0x69
ja 0x49cd0e
add esi, 0xffd0
cmp si, 0x11
je 0x49ccde
push 0x11
call edi
test ax, ax
jge 0x49ccde
or esi, 0x2000
cmp si, 0x10
je 0x49ccf3
push 0x10
call edi
test ax, ax
jge 0x49ccf3
or esi, 0x4000
cmp si, 0x12
je 0x49cd08
push 0x12
call edi
test ax, ax
jge 0x49cd08
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x49cd1b
mov esi, 0xbd
jmp 0x49cccf
cmp si, 0x6e
jne 0x49cd28
mov esi, 0xbe
jmp 0x49cccf
cmp si, 0x6f
jne 0x49ccc9
mov esi, 0xbf
jmp 0x49cccf

Function at 0x49e660
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x91f268]
xor edx, edx
cmp eax, edx
jne 0x49e686
xor eax, eax
mov byte [eax + 0x91f168], al
inc eax
cmp eax, 0x100
jl 0x49e66e
mov dword [0x91f268], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x91f168
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x49e717
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 0x49e6ea
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 0x49e6b8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x49e790
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 0x49e7e3
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 0x49e7ca
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