joyce8/EMBER2024-capa huggingface dataset:
Function at 0x627e30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6cabe8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x7a1070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp + 8]
lea edi, [eax + 0x48]
mov ecx, edi
movups xmm0, xmmword [ebx]
lea esi, [ebx + 0x48]
push esi
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebx + 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ebx + 0x20]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [ebx + 0x30]
movups xmmword [eax + 0x30], xmm0
movq xmm0, qword [ebx + 0x40]
movq qword [eax + 0x40], xmm0
mov dword [ebp + 8], edi
call fcn.006292b0
mov dword [ebp - 4], 0
lea ecx, [edi + 0x14]
movzx eax, byte [esi + 0xc]
mov byte [edi + 0xc], al
movzx eax, byte [esi + 0xd]
mov byte [edi + 0xd], al
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
lea eax, [esi + 0x14]
push eax
call fcn.004c4910
mov dword [ebp - 4], 1
lea eax, [ebx + 0x6c]
mov edi, dword [ebp - 0x10]
push eax
lea ecx, [edi + 0x6c]
mov dword [ebp + 8], ecx
call fcn.00629220
mov byte [ebp - 4], 2
lea esi, [ebx + 0x94]
movups xmm0, xmmword [ebx + 0x78]
push esi
movups xmmword [edi + 0x78], xmm0
movq xmm0, qword [ebx + 0x88]
movq qword [edi + 0x88], xmm0
mov eax, dword [ebx + 0x90]
mov dword [edi + 0x90], eax
add edi, 0x94
mov ecx, edi
mov dword [ebp + 8], edi
call fcn.00629450
lea eax, [esi + 0xc]
mov byte [ebp - 4], 3
push eax
lea ecx, [edi + 0xc]
call fcn.00629360
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x10]
mov eax, dword [ebx + 0xac]
mov dword [esi + 0xac], eax
lea ecx, [esi + 0xb4]
mov eax, dword [ebx + 0xb0]
mov dword [esi + 0xb0], eax
lea eax, [ebx + 0xb4]
push eax
mov dword [ebp + 8], ecx
call fcn.005a09e0
lea eax, [ebx + 0xc0]
mov byte [ebp - 4], 5
lea ecx, [esi + 0xc0]
push eax
mov dword [ebp + 8], ecx
call fcn.005a09e0
lea ecx, [esi + 0xcc]
mov byte [ebp - 4], 6
mov dword [ebp + 8], ecx
lea eax, [ebx + 0xcc]
push eax
call fcn.005a09e0
lea eax, [ebx + 0xd8]
mov byte [ebp - 4], 7
lea ecx, [esi + 0xd8]
push eax
mov dword [ebp + 8], ecx
call fcn.005a09e0
lea eax, [ebx + 0xe4]
mov byte [ebp - 4], 8
lea ecx, [esi + 0xe4]
push eax
mov dword [ebp + 8], ecx
call fcn.005a09e0
mov byte [ebp - 4], 9
lea ecx, [esi + 0x124]
movups xmm0, xmmword [ebx + 0xf0]
movups xmmword [esi + 0xf0], xmm0
movups xmm0, xmmword [ebx + 0x100]
movups xmmword [esi + 0x100], xmm0
movups xmm0, xmmword [ebx + 0x110]
movups xmmword [esi + 0x110], xmm0
mov eax, dword [ebx + 0x120]
mov dword [esi + 0x120], eax
lea eax, [ebx + 0x124]
push eax
call fcn.0059ff70
lea eax, [ebx + 0x130]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [esi + 0x130]
call fcn.005a0800
mov eax, dword [ebx + 0x13c]
mov dword [esi + 0x13c], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x628170
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6cac1c
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x7a1070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x18], eax
lea ebx, [eax + 4]
mov ecx, ebx
call fcn.0056cfb0
lea ecx, [ebx + 0xc]
call fcn.0056cfb0
lea ecx, [ebx + 0x3c]
mov dword [ebp - 4], 0
call fcn.004c0eb0
lea ecx, [ebx + 0x3c]
call fcn.004bf680
lea ecx, [ebx + 0x3c]
mov esi, eax
call fcn.004b1150
push dword [esi]
lea ecx, [ebx + 0x3c]
push dword [eax]
call fcn.005a7150
lea ecx, [ebx + 0x3c]
call fcn.004b1150
lea ecx, [ebx + 0x3c]
mov esi, eax
call fcn.004bf680
mov ecx, dword [esi]
mov dword [eax], ecx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx + 0x30]
call fcn.005e5570
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x30]
call fcn.005e5520
mov edx, dword [ebp - 0x10]
cmp edx, dword [eax]
je 0x62823a
mov ecx, dword [edx]
test ecx, ecx
je 0x628221
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
add edx, 4
push eax
lea ecx, [ebx + 0x30]
mov dword [ebp - 0x10], edx
call fcn.005e5520
mov edx, dword [ebp - 0x10]
cmp edx, dword [eax]
jne 0x628211
lea ecx, [ebx + 0x30]
mov dword [ebp - 4], 1
call fcn.004adc80
mov eax, dword [ebx + 0x30]
mov ecx, ebx
mov dword [ebx + 0x34], eax
mov dword [ebp - 4], 0xffffffff
call fcn.00627930
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x5c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x62f040
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6cb44b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x7a1070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 1
lea ecx, [esi + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x14]
mov word [esi + 0xc], ax
shr eax, 0x10
mov word [esi + 0xe], ax
lea eax, [ebp + 0x18]
push eax
mov dword [esi], 0x75e3d8
call fcn.0062ec20
lea eax, [ebp + 0x24]
mov byte [ebp - 4], 2
push eax
lea ecx, [esi + 0x1c]
call fcn.00519a80
mov dword [esi + 0x28], 0x75e54c
lea ecx, [ebp + 0x24]
mov dword [esi + 0x2c], esi
mov dword [esi + 0x30], 0
mov dword [esi], 0x75e468
mov dword [esi + 0x28], 0x75e480
call fcn.004b5570
lea ecx, [ebp + 0x18]
call fcn.0059b140
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x28
Function at 0x62f180
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6cb4b0
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x7a1070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
push fcn.00506360
push 3
push 0xc
lea esi, [edi + 4]
mov dword [ebp - 4], 1
push esi
mov dword [edi], 0x75e594
call fcn.004ad080
lea eax, [ebp + 0xc]
mov ecx, esi
push eax
call fcn.004e5010
lea eax, [ebp + 0x18]
push eax
lea ecx, [esi + 0xc]
call fcn.004e5010
lea eax, [ebp + 0x24]
push eax
lea ecx, [esi + 0x18]
call fcn.004e5010
mov ecx, dword [ebp + 0x30]
mov eax, edi
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], 0x75e54c
mov dword [edi + 0x30], edi
mov dword [edi + 0x34], 0
mov dword [edi], 0x75e49c
mov dword [edi + 0x2c], 0x75e3d4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x2c
Function at 0x64c7b0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6cd058
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x7a1070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
call fcn.0064c960
push esi
lea ecx, [ebp - 0x2c]
call fcn.004b0ca0
push str..mem
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.004f67c0
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x2c]
lea esi, [eax - 1]
add eax, 0x54017
not esi
and esi, eax
call fcn.004b11f0
push eax
push esi
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [edi + 0x10], eax
test eax, eax
jne 0x64c853
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CShMem::Create:Can_not_create_file_mapping_object___d_._n
call fcn.004b6090
add esp, 8
jmp 0x64c927
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push 0
push 0
push 0
push 0xf001f
push dword [edi + 0x10]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [edi + 0x14], eax
test eax, eax
jne 0x64c88d
call esi
push eax
push str.CShMem::Create:Can_not_map_view_of_file_mapping___d_._r_n
call fcn.004b6090
add esp, 8
jmp 0x64c927
lea ecx, [ebp - 0x2c]
mov dword [edi + 0x18], eax
call fcn.004b11f0
push eax
mov ecx, edi
call fcn.0064c6a0
test eax, eax
jne 0x64c8b6
call esi
push eax
push str.CShMem::Create:Can_not_create_event_or_mutex___d_._t_n
call fcn.004b6090
add esp, 8
jmp 0x64c927
cmp ebx, 0xb7
je 0x64c920
cmp eax, 1
jne 0x64c920
push 0xffffffffffffffff
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x64c919
mov eax, dword [edi + 0x14]
mov dword [edi + 0x18], eax
mov dword [eax], 0x53484d4d
mov eax, dword [edi + 0x18]
mov dword [eax + 8], 0x400
mov eax, dword [edi + 0x18]
mov dword [eax + 4], 0x150
mov eax, dword [edi + 0x18]
mov dword [eax + 0x10], 0
mov eax, dword [edi + 0x18]
mov dword [eax + 0x14], 0
mov eax, dword [edi + 0x18]
mov dword [eax + 0xc], 0
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov esi, 1
jmp 0x64c929
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
lea ecx, [ebp - 0x2c]
call fcn.004b0c50
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0065c160
mov esp, ebp
pop ebp
ret 0xc
Function at 0x64d9b0
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x18]
push edi
mov edi, ecx
mov byte [esp + 0xb], 1
mov dword [ebx], 0
mov eax, dword [edi + 0x20]
test eax, eax
je 0x64da73
cmp byte [edi + 4], 0
je 0x64da4d
push eax
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x24]
call fcn.00682e7e
add esp, 0x10
mov dword [ebx], eax
cmp eax, dword [esp + 0x14]
je 0x64da43
push dword [edi + 0x20]
call fcn.00699644
add esp, 4
test eax, eax
je 0x64da1d
push str._Filestream::read__Was_attempting_to_read_past_the_end_of_stream
push 1
push 0x7a28e0
call fcn.004b6190
add esp, 0xc
mov al, 1
pop edi
pop ebx
pop ecx
ret 0x10
push str._Filestream::read__Unknown_Error.
push 0x7a28e0
call fcn.0058bf70
push str._Filestream::read__Unknown_Error.
push 0
call fcn.0054d050
add esp, 0x10
xor al, al
pop edi
pop ebx
pop ecx
ret 0x10
mov al, byte [esp + 0xb]
pop edi
pop ebx
pop ecx
ret 0x10
push str._Filestream::read__Attempted_to_read_non_readable_stream.
push 0x7a28e0
call fcn.0058bf70
push str._Filestream::read__Attempted_to_read_non_readable_stream.
push 0
call fcn.0054d050
add esp, 0x10
xor al, al
pop edi
pop ebx
pop ecx
ret 0x10
push str._Filestream::read__Attempted_to_read_empty_stream.
push 0x7a28e0
call fcn.0058bf70
push str._Filestream::read__Attempted_to_read_empty_stream.
push 0
call fcn.0054d050
add esp, 0x10
xor al, al
pop edi
pop ebx
pop ecx
ret 0x10

Function at 0x64daa0
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x18]
push edi
mov edi, ecx
mov byte [esp + 0xb], 1
mov dword [ebx], 0
mov eax, dword [edi + 0x20]
test eax, eax
je 0x64db63
cmp byte [edi + 5], 0
je 0x64db3d
push eax
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x24]
call fcn.0067d4bc
add esp, 0x10
mov dword [ebx], eax
cmp eax, dword [esp + 0x14]
je 0x64db33
push dword [edi + 0x20]
call fcn.00699644
add esp, 4
test eax, eax
je 0x64db0d
push str._Filestream::read__Was_attempting_to_write_past_the_end_of_stream
push 1
push 0x7a28e0
call fcn.004b6190
add esp, 0xc
xor al, al
pop edi
pop ebx
pop ecx
ret 0x10
push str._Filestream::read__Unknown_Error.
push 0x7a28e0
call fcn.0058bf70
push str._Filestream::read__Unknown_Error.
push 0
call fcn.0054d050
add esp, 0x10
xor al, al
pop edi
pop ebx
pop ecx
ret 0x10
mov al, byte [esp + 0xb]
pop edi
pop ebx
pop ecx
ret 0x10
push str._Filestream::read__Attempted_to_write_a_non_writable_stream.
push 0x7a28e0
call fcn.0058bf70
push str._Filestream::read__Attempted_to_write_a_non_writable_stream.
push 0
call fcn.0054d050
add esp, 0x10
xor al, al
pop edi
pop ebx
pop ecx
ret 0x10
push str._Filestream::read__Attempted_to_write_an_empty_stream.
push 0x7a28e0
call fcn.0058bf70
push str._Filestream::read__Attempted_to_write_an_empty_stream.
push 0
call fcn.0054d050
add esp, 0x10
xor al, al
pop edi
pop ebx
pop ecx
ret 0x10
Function at 0x64dea0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov eax, dword fs:[0x2c]
sub esp, 0x10
mov edx, dword [eax]
mov eax, dword [0x828a48]
push esi
mov esi, ecx
cmp eax, dword [edx + 4]
jle 0x64defb
push 0x828a48
call fcn.0065c65a
add esp, 4
cmp dword [0x828a48], 0xffffffff
jne 0x64defb
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esp + 4]
mov dword [0x828a50], eax
mov eax, dword [esp + 8]
push 0x828a48
mov dword [0x828a54], eax
call fcn.0065c61b
add esp, 4
cmp byte [esi + 0x10], 0
je 0x64df40
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 0xc]
sub ecx, dword [0x828a50]
mov eax, dword [esp + 0x10]
sbb eax, dword [0x828a54]
push 0
push 0x3b9aca00
push eax
push ecx
call fcn.0065cdf0
push dword [esi + 0xc]
push dword [esi + 8]
push edx
push eax
call fcn.0065ce30
pop esi
add esp, 0x10
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
push 0
push 0xf4240
push edx
push eax
call fcn.0065cdf0
pop esi
add esp, 0x10
ret

Function at 0x64e3e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, ecx
push esi
mov dword [esp + 0xc], edi
lea ecx, [edi + 8]
mov dword [edi], 0x75cec4
mov word [edi + 4], 0
call fcn.004bf0c0
push 0xa
mov ecx, esi
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi], 0x75fe50
mov byte [edi + 4], 1
call fcn.004b0d90
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x64e46a
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x64e46a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 0
mov dword [edi + 0x20], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [edi + 0x28], eax
mov eax, edi
pop edi
pop esi
pop ecx
ret 4
Function at 0x65eee4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x689aab
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.006899b0

Function at 0x68b329
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0068b1a8

Function at 0x690f1f
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00690bdf
Function at 0x413b9c
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 0x413bd4
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x413bc2
mov al, 1
jmp 0x413c25
cmp dword [ebx + 0x54], ecx
jne 0x413bcb
mov al, 2
jmp 0x413c25
cmp dword [ebx + 0x7c], ecx
jne 0x413c25
mov al, 3
jmp 0x413c25
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x413be9
mov al, 4
jmp 0x413c25
cmp ecx, 5
jne 0x413c09
cmp ebx, 0
jne 0x413bf7
mov al, 5
jmp 0x413c25
cmp ebx, 1
jne 0x413c00
mov al, 6
jmp 0x413c25
cmp ebx, 2
jne 0x413c09
mov al, 7
jmp 0x413c25
cmp ecx, 6
jne 0x413c15
cmp ebx, 0
jne 0x413c17
mov al, 8
jmp 0x413c25
cmp ebx, 1
jne 0x413c1e
mov al, 9
cmp ebx, 2
jne 0x413c25
mov al, 0xa
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4629f0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c935b
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.004bc05e
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x462a72
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004b9b14
mov eax, dword [eax]
push 0x4e721c
push eax
call fcn.004ac764
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004bc2e9
test bl, bl
je 0x462a72
push 0x4e721c
lea ecx, [esp + 0xc]
call fcn.004bc6c5
push 0x4eaeb8
lea ecx, [esp + 0xc]
call fcn.004bc6c5
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 0x462aae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004bc2e9
jmp 0x462b79
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 0x462b32
lea edx, [esp + 0x7c]
push 0x4eaeb4
push edx
call fcn.004ac764
add esp, 8
test eax, eax
je 0x462b32
lea eax, [esp + 0x7c]
push 0x4eaeb0
push eax
call fcn.004ac764
add esp, 8
test eax, eax
je 0x462b32
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 0x462ac2
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.004bc2e9
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 0x463370
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 0x4633d2
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 0x4633e0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c93db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4f1e00]
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 0x463518
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x463446
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004bc2e9
xor eax, eax
jmp 0x46358f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004bc472
push esi
lea ecx, [esp + 0xc]
call fcn.004bc701
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 0x46356d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocStringLen
call fcn.00463370
test eax, eax
jne 0x46356d
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 SysReAllocStringLen
mov ecx, edi
call fcn.00463370
test eax, eax
jne 0x46356d
lea eax, [esp + 0x14]
push 0x4eaecc
push eax
call fcn.004ad910
mov esi, eax
add esp, 8
test esi, esi
jne 0x46354c
lea ecx, [esp + 0x14]
push 0x4eaec8
push ecx
call fcn.004ad890
mov esi, eax
add esp, 8
test esi, esi
jne 0x46354c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x46354f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004bc422
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x46345e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004bc2e9
xor eax, eax
jmp 0x46358f
mov byte [esi], 0
push 0x4eaec4
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.004bc2e9
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 0x473e70
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 0x473ede
cmp si, 0x69
ja 0x473ede
add esi, 0xffd0
cmp si, 0x11
je 0x473eae
push 0x11
call edi
test ax, ax
jge 0x473eae
or esi, 0x2000
cmp si, 0x10
je 0x473ec3
push 0x10
call edi
test ax, ax
jge 0x473ec3
or esi, 0x4000
cmp si, 0x12
je 0x473ed8
push 0x12
call edi
test ax, ax
jge 0x473ed8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x473eeb
mov esi, 0xbd
jmp 0x473e9f
cmp si, 0x6e
jne 0x473ef8
mov esi, 0xbe
jmp 0x473e9f
cmp si, 0x6f
jne 0x473e99
mov esi, 0xbf
jmp 0x473e9f

Function at 0x4756a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x502bc8]
xor edx, edx
cmp eax, edx
jne 0x4756c6
xor eax, eax
mov byte [eax + 0x502ac8], al
inc eax
cmp eax, 0x100
jl 0x4756ae
mov dword [0x502bc8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x502ac8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x475757
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 0x47572a
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 0x4756f8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4757d0
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 0x475823
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 0x47580a
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