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

Disassembly:
movsd dword es:[edi], dword [esi]
and byte [edi - 0x5d], dh
fidivr dword [esi + 0x69e128b4]
lea esi, [eax + 0x7a]
stosb byte es:[edi], al
sbb al, 0x6d
ret
push esi
mov ss, word [ebx - 0x6e]
je 0x45cd1a
into
shl dword [edx], cl
out 0x2e, al
ret
in al, dx
pop ecx
xchg esp, eax
js 0x45cd95
xchg esp, eax
mov eax, dword fs:[0xeeb94805]
inc esi
xchg byte [ebx - 0x5a], dl
in al, 0xd0
push ecx
cwde
in eax, dx
add dword ds:[esi + 0x52829e7b], 0xe0cad671
lcall 0xaa2b, 0xf035e115
in eax, dx
jo 0x45ce07
mov dword [0x1bbb8d7f], eax
dec ecx
pop esp
pop ecx
sbb al, 0xf6
jle 0x45cd35
dec ebp
or dword [ebx], 0xffffff88
mov edx, 0xfde3a80b
leave
pushal
xchg bh, bh
xor byte [ebx - 0x52e36904], al
sbb cl, ah
add cl, byte [edi - 0x64]
inc dword [edx - 0x25]
adc dword [ebx + edx*8 + 0x673009ae], edx
cmp ch, byte [edi - 0x4e]
xor al, 0x10
jae 0x45cdb6
or eax, 0xc3005d7c
rcr byte [edi + edx*2], cl
ret 0xc68f
or cl, byte [edx]
arpl word [ebp - 0x80], si
out dx, eax
xchg esp, eax
salc
shr byte [esi + 0x4e], 0x72
ret 0x7bbb

Function at 0x4e760d
Capabilities:
Check for software breakpoints
Encode data using xor

Disassembly:
cmc
push eax
ror byte [eax + 0x1a], 1
sbb al, 0x1e
lcall 0x3ad1, 0xa8d551c6
push ecx
aad 0xa8
sar dword [edx], 1
push ecx
aad 0xa8
sar dword [edx], 1
mov edi, 0xed8a7996
ja 0x4e762c
push ss
das
fstp dword [edi]
fnstenv [0xab112790]
pop eax
and dword [esi], ecx
jns 0x4e765a
movsd dword es:[edi], dword [esi]
imul edx, dword [edx - 0x3a], 0
sahf
lodsd eax, dword [esi]
invalid
add byte [esi - 0x55d3853], bl
xchg dword [edx - 0x4b4a4339], esp
out 0xb, eax
js 0x4e7601
lds ecx, [eax - 0x18]
daa
neg dword [edx + 0xc081ff9]
retf 0xe077
neg byte [ebx - 0x72]
dec eax
sub dword [eax], ebp
and edi, dword [edi + 0x1ffb5d03]
pop ebp
sti
pop ds
cwde
adc al, 0x45
xchg edi, eax
xor dl, byte [edi + 0x7e]
mov esp, 0xf0420b78
mov eax, 0xac98cf37
lds esp, [ebp + 0x56]
test al, 0x63
mov byte [edi], 0x98
enter 0x587a, 0xffffffffffffffde
lahf
and dword [eax], edi
jo 0x4e7663
push es
xchg edx, eax
dec esi
dec ecx
or al, 0xad
mov ds, eax
push eax
invalid
Function at 0x53e306
Capabilities:
Encode data using xor

Disassembly:
ja 0x53e364
enter 0xffffffffffffe79b, 0xffffffffffffffec
and al, 0xa0
aam 0x92
salc
leave
cdq
pop ebx
or esp, edx
in al, dx
adc ah, 7
nop
mov ebx, 0x8b5e6365
pop esi
mov ebx, dword [eax]
jl 0x53e31d
jo 0x53e2ed
popal
pop esi
mov ebx, dword [eax]
jl 0x53e31d
jo 0x53e2ed
popal
sbb al, 6
jmp 0x34c4a721
push cs
stc
sti
pop ss
pop edx
in al, 0xa5
aam 0xab
mov al, 0x40
inc ebp
pop ebx
push ebp
xlatb
dec ecx
mov ch, 0x2a
wait
fisttp dword [ebx + 0x17]
mov esp, dword [ebp - 0x28]
adc dword [ebx + 0x37de064f], ecx
int 0xe0
inc ebp
fldpi
stosd dword es:[edi], eax
sbb dh, byte [ecx - 0x35cc55fc]
stosb byte es:[edi], al
imul ecx, dword [ebp + 0x5b], 0x2f275514
mov edi, 0x93ca84a4
int 0x2a
movsb byte es:[edi], byte [esi]
out 0x35, eax
mov ah, dh
stosd dword es:[edi], eax
aas
in eax, dx
stosd dword es:[edi], eax
jne 0x53e3c1
xchg edx, eax
fsub qword [edi]
outsb dx, byte [esi]
jle 0x53e359
popfd
push 0xffffffffffffffef
mov al, byte [0x61cd684a]
int 0x61
xchg dword [edx + 0x42], ebx
cmc
xchg ecx, eax
inc edi
fisttp dword [ecx + edx*8 + 0x2a]
jmp 0x53e38f
rol dword [esi + 0x62248364], 0x44
jb 0x53e321
xchg byte [ebx + eax*4 + 0x24], ah
bound eax, qword [edx + esi*2 - 0x6f]
xchg ecx, eax
jbe 0x53e387
aaa
jo 0x53e3e3
cli
push eax
test eax, 0x4898dd7
fdivr st(0)
je 0x53e388
aaa
pop esp
inc esp
popfd
and bl, byte [esp + esi + 0x146d833c]
sti
adc al, 0xfb
inc esp
pop es
test al, 0x18
mov ah, 0x1f
add cl, dh
xor byte [edi], bh
mov bh, 0x67
or bh, dl
mov dl, 0xf4
call 0x4e32fa8
mov ch, 0x8b
push ecx
cmp al, bh
sub eax, 0x5a887358
push 0xd5b73c33
fild qword [eax - 0x8ea8c56]
outsd dx, dword [esi]
xlatb
out 7, eax
dec esp
and byte [ebp + ecx + 0x24d0357a], dl
adc al, 0xb
add al, 0xb5
mov edx, dword [ecx + 0x3a]
invalid
xor eax, 0xb1424d0
outsb dx, byte [esi]
cli
mov ebp, 0xd3551bc4
push 0x9c45ecf4
stosd dword es:[edi], eax
jne 0x53e3aa
emms
xchg edx, eax
adc al, 0xa
cld
test byte [edx + 0x151343db], 0x5a
pop esp
iretd
Function at 0x8b5020
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x243000]
push edi
jmp 0x8b503a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x8b5041
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8b5030
mov eax, 1
add ebx, ebx
jne 0x8b5053
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x8b5064
jne 0x8b5083
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8b5083
dec eax
add ebx, ebx
jne 0x8b5070
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x8b5048
add ebx, ebx
jne 0x8b507f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x8b50d5
xor ecx, ecx
sub eax, 3
jb 0x8b509b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x8b510a
sar eax, 1
mov ebp, eax
jmp 0x8b50a6
add ebx, ebx
jne 0x8b50a6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8b5074
inc ecx
add ebx, ebx
jne 0x8b50b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8b5074
add ebx, ebx
jne 0x8b50c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x8b50b6
jne 0x8b50d2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x8b50b6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x8b50f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x8b50e6
jmp 0x8b5036
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x8b50f4
add edi, ecx
jmp 0x8b5036
pop esi
mov edi, esi
mov ecx, 0x8e18
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x8b5112
cmp byte [edi], 0x2c
jne 0x8b5112
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 0x8b5117
lea edi, [esi + 0x4b1000]
mov eax, dword [edi]
or eax, eax
je 0x8b518f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4bf3c4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4bf554]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x8b5144
mov ecx, edi
jns 0x8b5173
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 + 0x4bf558]
or eax, eax
je 0x8b5189
mov dword [ebx], eax
add ebx, 4
jmp 0x8b5161
call dword [esi + 0x4bf568]
mov ebp, dword [esi + 0x4bf55c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x24f]
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 0x8b51c3
sub esp, 0xffffff80
jmp 0x507b69
Function at 0x61602f80
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
xor esi, esi
push ebx
sub esp, 0x3c
test eax, eax
je 0x61603028
mov edx, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov dword [esp + 8], eax
mov ebx, eax
mov dword [esp + 0x14], 0
mov dword [ebp - 0x1c], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0
call edx
mov edi, eax
sub esp, 0x18
lea ecx, [edi + edi]
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x61603028
mov dword [esp + 0x14], edi
mov edx, dword [ebp - 0x1c]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], 0
call edx
sub esp, 0x18
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x61603580
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x38
mov eax, dword [ecx]
mov ebx, dword [ecx + 4]
mov edi, dword [ecx + 8]
call sym._strdupAW
test eax, eax
je 0x61603650
mov esi, eax
test ebx, ebx
je 0x616035c0
mov eax, ebx
call sym._strdupAW
mov ebx, eax
test eax, eax
je 0x61603668
mov dword [esp + 0xc], edi
mov dword [esp], esi
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
call sym._apply_patch_to_file
mov dword [esp + 8], esi
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
mov edx, dword fs:[0x18]
mov dword [esp + 4], 0
mov edi, eax
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x1c], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov edx, dword [ebp - 0x1c]
sub esp, 0xc
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
sub esp, 0xc
lea esp, [ebp - 0x10]
mov eax, edi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
lea esp, [ebp - 0x10]
xor edi, edi
pop ecx
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov dword [esp + 8], esi
xor edi, edi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x61603639
Function at 0x616037b0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x38
mov edx, dword [ecx + 0xc]
mov esi, dword [ecx + 0x14]
mov eax, dword [ecx]
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x1c], edx
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x24], esi
mov edi, dword [ecx + 8]
mov dword [ebp - 0x20], edx
call sym._strdupAW
test eax, eax
je 0x616038d0
mov esi, eax
test ebx, ebx
je 0x61603802
mov eax, ebx
call sym._strdupAW
mov ebx, eax
test eax, eax
je 0x616038c0
mov eax, edi
call sym._strdupAW
mov edi, eax
test eax, eax
je 0x616038c0
mov eax, dword [ebp - 0x24]
mov dword [esp + 8], edi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], ebx
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], esi
mov dword [esp + 0xc], eax
call sym._apply_patch_to_file
mov dword [esp + 8], edi
mov edi, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [esp + 4], 0
mov dword [ebp - 0x1c], eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
sub esp, 0xc
mov ecx, dword fs:[0x18]
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x20], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov ecx, dword [ebp - 0x20]
sub esp, 0xc
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
sub esp, 0xc
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x18
mov dword [ebp - 0x1c], 0
mov edi, dword [sym.imp.kernel32.dll_HeapFree]
jmp 0x61603869
mov dword [ebp - 0x1c], 0
jmp 0x616038aa
Function at 0x61604160
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x10]
test esi, esi
je 0x61604331
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], 0
mov ecx, dword [eax + 0x14]
jmp 0x616041a2
mov edi, dword [ebp + 8]
inc dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
cmp dword [edi + 0x10], eax
jbe 0x61604331
imul eax, dword [ebp - 0x28], 0x140c
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
add eax, ecx
cmp dword [eax], edi
jne 0x61604190
mov dword [eax + 0x1404], 0
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x6160433d
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x1c], ebx
mov edi, ecx
lea esi, [esi]
nop
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x2c]
add edx, dword [ecx + 0x14]
mov eax, dword [edx + 0x1404]
mov esi, dword [edx + 0x1408]
movzx ecx, byte [edx + 8]
movzx ebx, byte [edx + 9]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x24], esi
cmp eax, ecx
jge 0x616042b8
mov ecx, dword [edx + 0x13fc]
test ecx, ecx
je 0x616042b8
mov ecx, dword [edx + eax*8 + 0xc]
add ecx, dword [edx + eax*8 + 0x10]
cmp ecx, edi
cmovb ecx, edi
cmp dword [edx + eax*8 + 0xc], edi
mov dword [ebp - 0x20], ecx
mov ecx, edi
cmovae ecx, dword [edx + eax*8 + 0xc]
cmp ebx, esi
jg 0x616042d8
mov esi, dword [ebp + 0x10]
mov ebx, esi
cmp ebx, ecx
jbe 0x61604303
mov ebx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x20]
inc ebx
sub esi, ecx
mov dword [edx + 0x1404], ebx
mov eax, dword [ebp - 0x1c]
sub ecx, edi
add edi, dword [ebp + 0xc]
mov dword [esp + 8], ecx
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.ntdll.dll_RtlComputeCrc32]
mov dword [ebp - 0x1c], eax
sub esp, 0xc
test esi, esi
je 0x616042a5
lea esi, [esi]
nop
cmp esi, 0x400
mov ebx, 0x400
mov dword [esp + 4], 0x61609500
cmovbe ebx, esi
mov dword [esp], eax
mov dword [esp + 8], ebx
call dword [sym.imp.ntdll.dll_RtlComputeCrc32]
sub esp, 0xc
sub esi, ebx
jne 0x61604278
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp - 0x20]
cmp dword [ebp + 0x10], edi
jbe 0x61604310
mov edi, dword [ebp - 0x20]
jmp 0x616041d8
mov ecx, dword [ebp + 0x10]
xor esi, esi
cmp ebx, dword [ebp - 0x24]
mov dword [ebp - 0x20], ecx
jg 0x616042d8
mov ebx, dword [ebp - 0x24]
inc ebx
mov dword [edx + 0x1408], ebx
jmp 0x61604250
mov esi, dword [ebp - 0x24]
lea ebx, [esi + esi*2]
lea esi, [edx + ebx*4]
mov eax, dword [esi + 0x804]
mov esi, dword [esi + 0x808]
add esi, eax
mov ebx, eax
cmp esi, edi
cmovb esi, edi
cmp eax, edi
cmovb ebx, edi
cmp ebx, ecx
ja 0x61604241
mov ecx, esi
sub esi, ebx
mov dword [ebp - 0x20], ecx
mov ecx, ebx
jmp 0x616042c5
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x14]
add edx, ecx
cmp dword [edx + 4], ebx
jne 0x61604190
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
lea esp, [ebp - 0xc]
xor edx, edx
pop ebx
mov eax, edx
pop esi
pop edi
pop ebp
ret
xor ebx, ebx
jmp 0x61604313
Function at 0x61605850
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x616058ab
cmp byte [esi + ebx - 1], 0xa
je 0x6160587f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x6160b0a4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x40466b
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 0x4046a3
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x404691
mov al, 1
jmp 0x4046e4
cmp dword [ebx + 0x54], ecx
jne 0x40469a
mov al, 2
jmp 0x4046e4
cmp dword [ebx + 0x7c], ecx
jne 0x4046e4
mov al, 3
jmp 0x4046e4
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x4046b8
mov al, 4
jmp 0x4046e4
cmp ecx, 5
jne 0x4046d8
cmp ebx, 0
jne 0x4046c6
mov al, 5
jmp 0x4046e4
cmp ebx, 1
jne 0x4046cf
mov al, 6
jmp 0x4046e4
cmp ebx, 2
jne 0x4046d8
mov al, 7
jmp 0x4046e4
cmp ecx, 6
jne 0x4046e4
cmp ebx, 0
jne 0x4046e4
mov al, 8
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x407051
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00407201
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 0x40714f
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 0x4070f2
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x407135
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x407109
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x407124
test al, 0x40
je 0x40711b
mov ecx, dword [edi + 0x20]
jmp 0x407122
test al, 0x80
je 0x407135
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x407135
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 0x4070c1
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x41fce0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48568b
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.00479a44
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41fd62
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0047732d
mov eax, dword [eax]
push 0x4c9234
push eax
call fcn.004694d4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00479ccf
test bl, bl
je 0x41fd62
push 0x4c9234
lea ecx, [esp + 0xc]
call fcn.0047a05f
push 0x4ccdac
lea ecx, [esp + 0xc]
call fcn.0047a05f
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 0x41fd9e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00479ccf
jmp 0x41fe69
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 0x41fe22
lea edx, [esp + 0x7c]
push 0x4ccda8
push edx
call fcn.004694d4
add esp, 8
test eax, eax
je 0x41fe22
lea eax, [esp + 0x7c]
push 0x4ccda4
push eax
call fcn.004694d4
add esp, 8
test eax, eax
je 0x41fe22
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 0x41fdb2
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.00479ccf
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 0x420660
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 0x4206c2
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 0x4206d0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48570b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4d3638]
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 0x420808
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x420736
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00479ccf
xor eax, eax
jmp 0x42087f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00479e0c
push esi
lea ecx, [esp + 0xc]
call fcn.0047a09b
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 0x42085d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00420660
test eax, eax
jne 0x42085d
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 closesocket
mov ecx, edi
call fcn.00420660
test eax, eax
jne 0x42085d
lea eax, [esp + 0x14]
push 0x4ccdc0
push eax
call fcn.0046a5e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42083c
lea ecx, [esp + 0x14]
push 0x4ccdbc
push ecx
call fcn.0046a560
mov esi, eax
add esp, 8
test esi, esi
jne 0x42083c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42083f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00479dbc
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42074e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00479ccf
xor eax, eax
jmp 0x42087f
mov byte [esi], 0
push 0x4ccdb8
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.00479ccf
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