joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.0040a7e3
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.0040a7e3
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.0040a7e3
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.0040a7e3
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.0040a7e3
mov dword [0x41203c], eax
call fcn.0040a7e3
test eax, eax
jge 0x402550
push 8
call fcn.0040a7e3
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.0040a7e3
pop ecx
push 1
call fcn.0040a7e3
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.0040a7e3
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.0040a7e3
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.0040a7e3
jmp 0x402495

Function at 0x40a7e3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x40a7f2
pop dword [ebp - 0x14]
mov eax, 0x40a7f2
sub dword [ebp - 0x14], eax
push 0x40
push 0x1000
push 0x3cae3
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x14]
call dword [eax]
mov ecx, 0xb2f3795a
sub ecx, 0xb2f32377
xor edx, edx
add edx, eax
mov ebx, 0xd3f64e13
add ebx, 0x2c4aedb1
add ebx, dword [ebp - 0x14]
mov edi, 0xc4284f0e
add edi, 0xfc0f737b
xor dword [ebp - 4], 0x413eb779
mov esi, dword [ebx]
add dword [ebp - 4], 0x69ed013c
sub esi, edi
mov dword [ebp - 0xc], 0x3001ca4a
mov dword [edx], esi
xor dword [ebp - 0x10], 0x122144f9
add edx, 0xbf6b0ba0
sub edx, 0xbf6b0b9c
add ebx, 0xa6f4461d
add ebx, 0x590bb9e7
loop 0x40a849
add eax, 0x14a5f
xor ebx, ebx
add ebx, eax
add eax, 0xd9156585
add eax, 0x26ea9a80
mov ecx, 0x47668d4a
add ecx, 0xb8d972b6
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x401690
Capabilities:
Encode data using xor

Disassembly:
push ebp
push esp
pop ebp
sub esp, 0x10
push ebx
push esi
push edi
push edx
pop edi
push edi
push 0
push dword [section..data]
mov dword [ebp - 8], edi
push ecx
pop esi
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, edi
shr ebx, 2
mov dword [ebp - 4], eax
or ebx, ebx
je 0x4016d4
push esi
pop edi
mov ecx, eax
sub edi, eax
mov edx, ebx
mov eax, dword [edi + ecx]
mov dword [ecx], eax
lea ecx, [ecx + 4]
dec edx
jne 0x4016c3
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 4]
shl ebx, 2
cmp ebx, edi
jae 0x4016ef
push edi
pop edx
sub esi, eax
lea ecx, [ebx + eax]
sub edx, ebx
mov al, byte [ecx + esi]
mov byte [ecx], al
lea ecx, [ecx + 1]
dec edx
jne 0x4016e4
mov eax, dword [ebp - 4]
lea esi, [edi - 8]
lea ecx, [eax - 8]
add ecx, edi
push esi
pop ebx
mov edx, dword [ecx + 4]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ecx]
shr ebx, 2
and esi, 3
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
or ebx, ebx
je 0x401731
lea ecx, [ebx + edx]
mov edx, dword [eax]
movzx ecx, cl
ror edx, cl
mov ecx, dword [ebp - 8]
add eax, 4
xor edx, ecx
sub edx, ebx
mov dword [eax - 4], edx
mov edx, dword [ebp - 0xc]
dec ebx
jne 0x401714
test esi, esi
je 0x40173d
xor byte [eax], cl
lea eax, [eax + 1]
dec esi
jne 0x401735
mov edi, dword [ebp - 0x10]
mov edi, dword [edi - 4]
push edi
push 0
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, dword [ebp - 4]
push eax
pop esi
mov edx, esi
push ebx
pop ecx
call section..text
push ebx
push 0
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [eax], edi
pop edi
mov dword [ecx], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x1115bd4
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1115bde
pushal
call 0x1115be4
pop ebp
sub ebp, 0x10
sub ebp, 0xd15bd4
jmp 0x1115bfa
mov eax, 0xd15bd4
add eax, ebp
add eax, 0x4c
mov ecx, 0x5b0
mov edx, 0x276c3301
xor byte [eax], dl
inc eax
dec ecx
jne 0x1115c11
jmp 0x1115c24
mov cl, ah
mov cl, byte [eax + 0x101013d]
add al, 0xf9
add dword [ecx], eax
add dword [edx], eax
int3
Function at 0x404f81
Capabilities:
Delete directory
Get common file path
Get file attributes
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc48
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 4]
xor esi, esi
cmp dword [0x5a0138], 0x594
mov dword [ebp - 0xc], eax
jne 0x404fcd
push 0x404890
push 0x4048b0
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
push 0x4048bc
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceW]
mov eax, dword [0x42c4e8]
mov dword [ebp - 0x24], eax
mov eax, dword [0x42c4ec]
mov dword [ebp - 0x2c], eax
push ebx
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
call fcn.00404f7a
mov eax, dword [0x42c4f0]
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x28], eax
mov eax, dword [0x42c4f4]
add ebx, 0x23f
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0x20
mov dword [ebp - 8], 2
add dword [ebp - 8], 3
mov eax, dword [ebp - 0x10]
mov ecx, eax
shl ecx, 4
cmp dword [0x5a0138], 0xc
mov dword [ebp - 4], ecx
jne 0x405074
push esi
lea eax, [ebp - 0xc48]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
xor eax, eax
mov word [ebp - 0x18], ax
lea edi, [ebp - 0x16]
stosw word es:[edi], ax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x448]
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterA]
lea eax, [ebp - 0x34]
push eax
push esi
lea eax, [ebp - 0x48]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
add dword [ebp - 4], ecx
mov ecx, dword [0x5a0138]
cmp ecx, 0xfa9
jne 0x405092
mov dword [0x59f6d4], 0xedeb2e40
cmp ecx, 0x3eb
jne 0x4050a0
mov dword [0x59f088], esi
lea ecx, [ebx + eax]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 8]
shr eax, cl
mov dword [0x59f6d0], 0xf4ea3dee
add eax, dword [ebp - 0x20]
mov ecx, eax
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor ecx, dword [ebp - 4]
cmp dword [0x5a0138], 0x213
mov dword [ebp - 0x14], ecx
jne 0x4050dd
push 0x4048d0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], 0x64
sub dword [ebp - 0xc], eax
sub dword [ebp - 0xc], 0x64
mov eax, dword [ebp - 0xc]
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ebx + eax]
shr eax, cl
add eax, dword [ebp - 0x2c]
xor eax, edx
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 0x10], eax
add ebx, 0x61c88647
dec dword [ebp - 0x1c]
jne 0x405009
cmp dword [0x5a0138], 0xa6d
mov eax, dword [ebp - 0x10]
mov dword [edi], eax
pop ebx
jne 0x40513c
push esi
push esi
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
mov eax, dword [ebp - 0xc]
mov dword [edi + 4], eax
pop edi
pop esi
leave
ret 4
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x40c302
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x40c311
pop dword [ebp - 0xc]
mov eax, 0x40c311
sub dword [ebp - 0xc], eax
push 0x40
push 0x1000
push 0x3bf72
push 0
mov eax, 0x34102381
sub eax, 0x33cf42a9
add eax, dword [ebp - 0xc]
call dword [eax]
mov ecx, 0x195fc80c
add ecx, 0xe6a0899b
mov esi, eax
mov edi, 0xf499d326
sub edi, 0xf4589762
add edi, dword [ebp - 0xc]
mov ebx, 0x264b7670
xor dword [ebp - 8], 0x7fbf2a06
mov edx, dword [edi]
sub edx, ebx
mov dword [ebp - 8], 0xd3b5ee52
mov dword [esi], edx
add dword [ebp - 4], edx
add esi, 0xa90a7cb7
sub esi, 0xa90a7cb3
add edi, 0x824bbf33
add edi, 0x7db440d1
loop 0x40c365
add eax, 0xc8d34ce4
sub eax, 0xc8d21375
mov ebx, eax
add eax, 0xa005f08
sub eax, 0xa005f03
mov ecx, 0x8c695a48
add ecx, 0x73d6a5b8
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..pdata
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x2a13730a
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..pdata_1
nop
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x5a783f51
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x401000
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
enter 0x84, 0
sub ebp, 0x82
mov dword [ebp - 2], 0
call fcn.004014d6
mov ebx, eax
xor eax, eax
mov dword [ebp + 0x7e], eax
lea eax, [ebp + 0x7e]
push eax
mov eax, ebx
or al, 0x40
push eax
mov eax, 0x401d82
sub eax, fcn.0040154d
push eax
push fcn.0040154d
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp + 0x7e], 0
je 0x40107d
mov eax, ebx
lea edx, [ebp - 2]
call fcn.00401405
mov eax, ebx
call fcn.00401457
lea eax, [ebx + 0x1b600]
lea edx, [ebx - 1]
lea ecx, [ebp - 2]
and edx, eax
test ebx, ebx
je 0x401071
mov eax, 0x409054
add eax, eax
jmp 0x401076
mov eax, 0x409054
mov ebx, ecx
call fcn.0040154d
xor eax, eax
lea esp, [ebp + 0x82]
pop ebp
pop edx
pop ecx
pop ebx
ret

Function at 0x4014d6
Capabilities:
Delete file
Encode data using base64 via winapi

Disassembly:
push ebx
push ecx
push edx
enter 0x124, 0
lea ebx, [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push ebx
call dword [sym.imp.USER32.DLL_GetCursorPos]
push 0
push 0
lea ebx, [ebp - 4]
call dword [sym.imp.USER32.DLL_GetWindow]
push ebx
lea ebx, [ebp - 0x20]
push ebx
push 1
push 1
lea eax, [ebp - 0x124]
push eax
mov dword [ebp - 4], 0x14
mov byte [ebp - 0x124], 0
call dword [sym.imp.CRYPT32.DLL_CryptBinaryToStringW]
lea eax, [ebp - 0x20]
movzx ebx, word [ebp - 0x20]
push eax
sub ebx, 0x41
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov eax, ebx
leave
pop edx
pop ecx
pop ebx
ret
Function at 0x401540
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, edx
test edi, edi
jns 0x4015a0
mov dword [ebp + 0x3c80d233], eax
or al, byte [eax]
xor edx, edx
cmp byte [edx + ecx], 0
jbe 0x40158a
movzx esi, byte [edx + ecx]
mov edi, edi
lea edi, [eax + eax]
xor edi, eax
and edi, 0xfffffff8
lea ebx, [eax*8]
xor edi, ebx
shl edi, 4
mov ebx, eax
and ebx, 0xffffff80
xor edi, ebx
mov ebx, eax
shl edi, 0x11
shr ebx, 8
or edi, ebx
add eax, edi
dec esi
jne 0x401560
mov byte [edx + ecx], al
inc edx
cmp edx, 4
jl 0x401554
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [edx + edx]
xor eax, edx
mov esi, edx
shl esi, 7
shl eax, 4
xor eax, edx
and eax, 0xffffff80
xor eax, esi
mov esi, edx
shr esi, 8
shl eax, 0x11
or eax, esi
add eax, edx
lea edx, [eax + eax]
xor edx, eax
and edx, 0xfffffff8
lea esi, [eax*8]
xor edx, esi
shl edx, 4
mov esi, eax
and esi, 0xffffff80
xor edx, esi
shl edx, 0x11
mov esi, eax
shr esi, 8
or edx, esi
mov byte [ecx], al
add eax, edx
lea edx, [eax + eax]
xor edx, eax
and edx, 0xfffffff8
lea esi, [eax*8]
xor edx, esi
shl edx, 4
mov esi, eax
and esi, 0xffffff80
xor edx, esi
shl edx, 0x11
mov esi, eax
shr esi, 8
or edx, esi
mov byte [ecx + 1], al
add eax, edx
lea edx, [eax + eax]
xor edx, eax
and edx, 0xfffffff8
lea esi, [eax*8]
xor edx, esi
shl edx, 4
mov esi, eax
and esi, 0xffffff80
xor edx, esi
mov esi, eax
shl edx, 0x11
shr esi, 8
or edx, esi
mov byte [ecx + 2], al
add eax, edx
mov byte [ecx + 3], al
xor esi, esi
test edi, edi
jle 0x40172c
movzx ebx, byte [ecx + 2]
mov dl, byte [ecx + 1]
mov byte [ebp - 1], bl
movzx ebx, byte [ecx + 3]
mov byte [ebp - 2], bl
jmp 0x401660
mov edi, dword [ebp + 8]
movzx edi, byte [esi + edi]
add eax, edi
lea edi, [eax + eax]
xor edi, eax
and edi, 0xfffffff8
lea ebx, [eax*8]
xor edi, ebx
shl edi, 4
mov ebx, eax
and ebx, 0xffffff80
xor edi, ebx
shl edi, 0x11
mov ebx, eax
shr ebx, 8
or edi, ebx
add eax, edi
add byte [ecx], al
lea edi, [eax + eax]
xor edi, eax
and edi, 0xfffffff8
lea ebx, [eax*8]
xor edi, ebx
shl edi, 4
mov ebx, eax
and ebx, 0xffffff80
xor edi, ebx
shl edi, 0x11
mov ebx, eax
shr ebx, 8
or edi, ebx
add eax, edi
lea edi, [eax + eax]
xor edi, eax
and edi, 0xfffffff8
lea ebx, [eax*8]
xor edi, ebx
shl edi, 4
mov ebx, eax
and ebx, 0xffffff80
xor edi, ebx
shl edi, 0x11
mov ebx, eax
shr ebx, 8
or edi, ebx
add dl, al
add eax, edi
add byte [ebp - 1], al
lea edi, [eax + eax]
xor edi, eax
and edi, 0xfffffff8
lea ebx, [eax*8]
xor edi, ebx
shl edi, 4
mov ebx, eax
and ebx, 0xffffff80
xor edi, ebx
mov ebx, eax
shl edi, 0x11
shr ebx, 8
or edi, ebx
add eax, edi
mov edi, dword [ebp + 0xc]
add byte [ebp - 2], al
inc esi
cmp esi, edi
jl 0x401660
mov byte [ecx + 1], dl
movzx edx, byte [ebp - 1]
mov byte [ecx + 2], dl
movzx edx, byte [ebp - 2]
mov byte [ecx + 3], dl
test eax, eax
jne 0x401552
mov ecx, dword [eax - 0x17]
add eax, 0xccffffff
int3
Function at 0x41ec8c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42a520]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00415f87
and dword [ebp - 0x14], 0
cmp dword [0x46b070], 0
mov dword [ebp - 0x18], eax
jne 0x41ed3f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41ede7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41ede7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x46b070], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x46b074], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x46b078], eax
call edi
push eax
call esi
mov dword [0x46b080], eax
test eax, eax
je 0x41ed3f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x46b07c], eax
mov eax, dword [0x46b07c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41ed98
cmp dword [0x46b080], ecx
je 0x41ed98
push eax
call esi
push dword [0x46b080]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41ed98
test ebx, ebx
je 0x41ed98
call edi
test eax, eax
je 0x41ed8f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41ed8f
test byte [ebp - 8], 1
jne 0x41ed98
or dword [ebp + 0x10], 0x200000
jmp 0x41edcb
mov eax, dword [0x46b074]
cmp eax, dword [ebp - 0x18]
je 0x41edcb
push eax
call esi
test eax, eax
je 0x41edcb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41edcb
mov eax, dword [0x46b078]
cmp eax, dword [ebp - 0x18]
je 0x41edcb
push eax
call esi
test eax, eax
je 0x41edcb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x46b070]
call esi
test eax, eax
je 0x41ede7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41ede9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004106c7
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ed0
nop
mov ecx, 0x3c245f83
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
mov ecx, 0x62e21f32
nop
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x41f8e0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ac6cb
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.004a0e10
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41f962
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0049eb52
mov eax, dword [eax]
push 0x5a3cf4
push eax
call fcn.00490cf4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004a109b
test bl, bl
je 0x41f962
push 0x5a3cf4
lea ecx, [esp + 0xc]
call fcn.004a142b
push 0x5a3d00
lea ecx, [esp + 0xc]
call fcn.004a142b
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 0x41f99e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004a109b
jmp 0x41fa69
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 0x41fa22
lea edx, [esp + 0x7c]
push 0x5a3cfc
push edx
call fcn.00490cf4
add esp, 8
test eax, eax
je 0x41fa22
lea eax, [esp + 0x7c]
push 0x5a3cf8
push eax
call fcn.00490cf4
add esp, 8
test eax, eax
je 0x41fa22
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 0x41f9b2
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.004a109b
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 0x420270
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 0x4202d2
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 0x4202e0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ac74b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5b3130]
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 0x420418
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x420346
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a109b
xor eax, eax
jmp 0x42048f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004a11d8
push esi
lea ecx, [esp + 0xc]
call fcn.004a1467
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 0x42046d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.00420270
test eax, eax
jne 0x42046d
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.00420270
test eax, eax
jne 0x42046d
lea eax, [esp + 0x14]
push 0x5a3d10
push eax
call fcn.00491e40
mov esi, eax
add esp, 8
test esi, esi
jne 0x42044c
lea ecx, [esp + 0x14]
push 0x5a3d0c
push ecx
call fcn.00491dc0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42044c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42044f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004a1188
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42035e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a109b
xor eax, eax
jmp 0x42048f
mov byte [esi], 0
push 0x5a3d08
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.004a109b
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