joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d7d98
Capabilities:
Get routing table

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4d7f2a
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 1], 0
push 0xffffffffffffffff
lea eax, [ebp - 0x18]
push eax
push 0
call sub.iphlpapi.dll_GetIpForwardTable
not eax
cmp eax, 0x6f
je 0x4d7f02
mov eax, dword [ebp - 0x18]
call fcn.00408f00
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4d7efb
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffffffffffffffff
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.iphlpapi.dll_GetIpForwardTable
test eax, eax
jne 0x4d7ee5
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
dec ebx
test ebx, ebx
jl 0x4d7ee5
inc ebx
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 8]
push esi
push edi
lea esi, [edx + eax*8 + 4]
lea edi, [ebp - 0x54]
mov ecx, 0xe
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 0x54]
call fcn.004d7d7c
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x48]
call fcn.004d7d7c
test esi, esi
je 0x4d7e72
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.00405058
test eax, eax
jle 0x4d7edb
test edi, edi
je 0x4d7e84
mov edx, dword [ebp - 0xc]
mov eax, edi
call fcn.00405058
test eax, eax
jle 0x4d7edb
mov byte [ebp - 1], 1
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x50]
call fcn.004d7d7c
lea eax, [ebp - 0x54]
push eax
call sub.iphlpapi.dll_DeleteIpForwardEntry
push dword [ebp - 0xc]
push 0x4d7f44
push dword [ebp - 0x14]
push 0x4d7f44
push dword [ebp - 0x10]
push 0x4d7f44
mov eax, dword [ebp - 0x30]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x5c]
call fcn.004093f8
push dword [ebp - 0x5c]
lea eax, [ebp - 0x58]
mov edx, 7
call fcn.00404dd4
mov eax, dword [ebp - 0x58]
call fcn.004d7cac
inc dword [ebp - 0x1c]
dec ebx
jne 0x4d7e2b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d7f02
mov eax, dword [ebp - 8]
call fcn.00402afc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d7f31
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.00404a78
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404a78
ret

Function at 0x4d89ec
Capabilities:
Create process on windows

Disassembly:
push 0
push 0x4d8a18
call sub.kernel32.dll_WinExec
push 0x4d8a20
call sub.kernel32.dll_GlobalAddAtomA
call fcn.004d4cc4
mov al, 1
call fcn.004d8924
push 2
call sub.ntdll.dll_NtShutdownSystem
ret
Function at 0x4d8aac
Capabilities:
Create process on windows
Shutdown system

Disassembly:
push ebx
push 0x4d8b28
call sub.kernel32.dll_GlobalAddAtomA
mov byte [0x4e6a3c], 1
call fcn.004d533c
xor ebx, ebx
mov bl, al
mov eax, dword [0x4e6e18]
mov eax, dword [eax]
call fcn.004648fc
cmp ebx, 4
jg 0x4d8af3
push 0
push 0
push 0x12
push 0xffff
call sub.user32.dll_SendMessageA
push 0
push 5
call sub.user32.dll_ExitWindowsEx
jmp 0x4d8b1a
push 0
push 0
push 0x12
push 0xffff
call sub.user32.dll_SendMessageA
mov al, 1
call fcn.004d8924
push 0
push 0xc
call sub.user32.dll_ExitWindowsEx
xor eax, eax
call fcn.004d8924
push 0
push 0x4d8b38
call sub.kernel32.dll_WinExec
pop ebx
ret

Function at 0x4d8f80
Capabilities:
Find taskbar
Hide graphical window
Hide the windows taskbar

Disassembly:
add esp, 0xffffffcc
mov eax, esp
mov edx, 0x4d8fc4
call fcn.00409b88
push 0
lea eax, [esp + 4]
push eax
call sub.user32.dll_FindWindowA
push 0
push eax
call sub.user32.dll_ShowWindow
push 0
push 0x4d8fd4
call sub.user32.dll_FindWindowA
push 0
push eax
call sub.user32.dll_ShowWindow
add esp, 0x34
ret

Function at 0x4d8fdc
Capabilities:
Find taskbar
Hide graphical window
Hide the windows taskbar

Disassembly:
add esp, 0xffffffcc
mov eax, esp
mov edx, 0x4d9020
call fcn.00409b88
push 0
lea eax, [esp + 4]
push eax
call sub.user32.dll_FindWindowA
push 5
push eax
call sub.user32.dll_ShowWindow
push 0
push 0x4d9030
call sub.user32.dll_FindWindowA
push 5
push eax
call sub.user32.dll_ShowWindow
add esp, 0x34
ret

Function at 0x4d9038
Capabilities:
Hide graphical window
Log keystrokes via application hook

Disassembly:
push ebx
add esp, 0xffffffcc
call fcn.004d533c
xor ebx, ebx
mov bl, al
cmp ebx, 4
jg 0x4d905a
push 0
push 0x4fcb80
push 1
push 0x61
call sub.user32.dll_SystemParametersInfoA
cmp ebx, 5
je 0x4d9064
cmp ebx, 6
jne 0x4d908e
mov al, 1
call fcn.004d8b98
push 0
mov eax, dword [0x4e7664]
push eax
push 0x4d8cd4
push 0xd
call sub.user32.dll_SetWindowsHookExW
mov dword [0x4fcb84], eax
mov eax, dword [0x4fcb7c]
call fcn.004d8e2c
cmp ebx, 6
jle 0x4d90b3
mov al, 1
call fcn.004d8b98
push 0
mov eax, dword [0x4e7664]
push eax
push 0x4d8cd4
push 0xd
call sub.user32.dll_SetWindowsHookExW
mov dword [0x4fcb84], eax
call fcn.004d88bc
mov eax, esp
mov edx, 0x4d9100
call fcn.00409b88
push 0
lea eax, [esp + 4]
push eax
call sub.user32.dll_FindWindowA
push 0
push eax
call sub.user32.dll_ShowWindow
push 0
push 0x4d9110
call sub.user32.dll_FindWindowA
push 0
push eax
call sub.user32.dll_ShowWindow
xor eax, eax
call fcn.004d8538
add esp, 0x34
pop ebx
ret
Function at 0x4d9118
Capabilities:
Hide graphical window

Disassembly:
push ebx
add esp, 0xffffffcc
call fcn.004d533c
xor ebx, ebx
mov bl, al
cmp ebx, 4
jg 0x4d913a
push 0
push 0x4fcb80
push 0
push 0x61
call sub.user32.dll_SystemParametersInfoA
cmp ebx, 5
je 0x4d9144
cmp ebx, 6
jne 0x4d9169
mov eax, dword [0x4fcb7c]
call fcn.004d8d8c
xor eax, eax
call fcn.004d8b98
cmp dword [0x4fcb84], 0
je 0x4d9169
mov eax, dword [0x4fcb84]
push eax
call sub.user32.dll_UnhookWindowsHookEx
cmp ebx, 6
jle 0x4d9189
xor eax, eax
call fcn.004d8b98
cmp dword [0x4fcb84], 0
je 0x4d9189
mov eax, dword [0x4fcb84]
push eax
call sub.user32.dll_UnhookWindowsHookEx
mov eax, esp
mov edx, 0x4d91cc
call fcn.00409b88
push 0
lea eax, [esp + 4]
push eax
call sub.user32.dll_FindWindowA
push 5
push eax
call sub.user32.dll_ShowWindow
push 0
push 0x4d91dc
call sub.user32.dll_FindWindowA
push 5
push eax
call sub.user32.dll_ShowWindow
add esp, 0x34
pop ebx
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax - 0x6f6f6f70], dl
nop
nop
nop
nop
nop
pushal
call 0x43200c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x431fd9
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x402100
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
call fcn.00402180
test eax, eax
jne 0x40216a
add esi, 4
push 0x407414
lea eax, [esp + 8]
push esi
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__
mov eax, dword [eax + 4]
add esp, 0xc
test eax, eax
jne 0x402131
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov esi, eax
mov eax, dword [esp + 8]
test eax, eax
je 0x40215f
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x402156
cmp al, 0xff
je 0x402156
dec al
mov byte [ecx], al
jmp 0x40215f
push ecx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
test esi, esi
je 0x40216a
xor eax, eax
pop esi
add esp, 0x10
ret
mov eax, 3
pop esi
add esp, 0x10
ret

Function at 0x402180
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10c
push esi
mov esi, ecx
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
lea edx, [esp + 8]
push ecx
push edx
push str.Folder
push str.SoftwareMaxthon
push SysReAllocStringLen
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], 0x104
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x40227f
push ebx
push ebp
push edi
lea edi, [esp + 0x18]
or ecx, 0xffffffff
lea ebp, [esi + 4]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
cmp ebx, 0xfffffffd
jbe 0x4021e4
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
mov ecx, dword [ebp + 4]
xor edx, edx
cmp ecx, edx
je 0x402217
mov al, byte [ecx - 1]
test al, al
je 0x402217
cmp al, 0xff
je 0x402217
cmp ebx, edx
jne 0x402248
dec al
pop edi
mov byte [ecx - 1], al
mov dword [ebp + 4], edx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], edx
pop ebp
pop ebx
xor eax, eax
pop esi
add esp, 0x10c
ret
cmp ebx, edx
jne 0x402232
push 1
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
add esp, 0x10c
ret
mov eax, dword [ebp + 0xc]
cmp eax, 0x1f
ja 0x40223e
cmp eax, ebx
jae 0x402251
push 1
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push ebx
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Copy_unsigned_int_]
mov edi, dword [ebp + 4]
mov ecx, ebx
mov eax, ecx
lea esi, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
xor eax, eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 4]
mov dword [ebp + 8], ebx
pop edi
pop ebp
mov byte [ecx + ebx], 0
pop ebx
pop esi
add esp, 0x10c
ret
mov eax, 1
pop esi
add esp, 0x10c
ret
Function at 0x4035c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
lea eax, [esp]
push ebp
push esi
push edi
push eax
xor esi, esi
push 0x20019
push esi
push str.SoftwareOpera_Software
mov ebp, ecx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4035fb
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x110
ret
lea ecx, [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push edx
push eax
push esi
push str.Last_CommandLine_v2
push ecx
mov dword [esp + 0x28], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0xc]
mov edi, eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
je 0x403643
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x110
ret
lea eax, [esp + 0x1b]
push 0x4075dc
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
cmp eax, esi
jne 0x403669
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x110
ret
lea ecx, [esp + 0x18]
push ebx
push ecx
mov byte [eax - 2], 0
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
add ebp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
cmp ebx, 0xfffffffd
jbe 0x403697
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
mov ecx, dword [ebp + 4]
cmp ecx, esi
je 0x4036c8
mov al, byte [ecx - 1]
test al, al
je 0x4036c8
cmp al, 0xff
je 0x4036c8
cmp ebx, esi
jne 0x4036f9
dec al
pop ebx
mov byte [ecx - 1], al
mov dword [ebp + 4], esi
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x110
ret
cmp ebx, esi
jne 0x4036e3
push 1
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x110
ret
mov eax, dword [ebp + 0xc]
cmp eax, 0x1f
ja 0x4036ef
cmp eax, ebx
jae 0x403702
push 1
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push ebx
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Copy_unsigned_int_]
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
mov dword [ebp + 8], ebx
mov byte [eax + ebx], 0
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x110
ret
Function at 0x40d6ee
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0040d89e
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 0x40d7ec
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 0x40d78f
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x40d7d2
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x40d7a6
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x40d7c1
test al, 0x40
je 0x40d7b8
mov ecx, dword [edi + 0x20]
jmp 0x40d7bf
test al, 0x80
je 0x40d7d2
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x40d7d2
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 0x40d75e
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x41f400
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x489c9b
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.0047e221
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41f482
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0047b96a
mov eax, dword [eax]
push 0x4c9214
push eax
call fcn.0046da34
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0047e4ac
test bl, bl
je 0x41f482
push 0x4c9214
lea ecx, [esp + 0xc]
call fcn.0047e83c
push 0x4ccd8c
lea ecx, [esp + 0xc]
call fcn.0047e83c
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 0x41f4be
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0047e4ac
jmp 0x41f589
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 0x41f542
lea edx, [esp + 0x7c]
push 0x4ccd88
push edx
call fcn.0046da34
add esp, 8
test eax, eax
je 0x41f542
lea eax, [esp + 0x7c]
push 0x4ccd84
push eax
call fcn.0046da34
add esp, 8
test eax, eax
je 0x41f542
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 0x41f4d2
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.0047e4ac
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 0x41fd80
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 0x41fde2
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 0x41fdf0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x489d1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4d3a44]
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 0x41ff28
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41fe56
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047e4ac
xor eax, eax
jmp 0x41ff9f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0047e5e9
push esi
lea ecx, [esp + 0xc]
call fcn.0047e878
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 0x41ff7d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0041fd80
test eax, eax
jne 0x41ff7d
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.0041fd80
test eax, eax
jne 0x41ff7d
lea eax, [esp + 0x14]
push 0x4ccda0
push eax
call fcn.0046ea70
mov esi, eax
add esp, 8
test esi, esi
jne 0x41ff5c
lea ecx, [esp + 0x14]
push 0x4ccd9c
push ecx
call fcn.0046e9f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41ff5c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41ff5f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0047e599
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41fe6e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047e4ac
xor eax, eax
jmp 0x41ff9f
mov byte [esi], 0
push 0x4ccd98
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.0047e4ac
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 0x431ef0
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 0x431f5e
cmp si, 0x69
ja 0x431f5e
add esi, 0xffd0
cmp si, 0x11
je 0x431f2e
push 0x11
call edi
test ax, ax
jge 0x431f2e
or esi, 0x2000
cmp si, 0x10
je 0x431f43
push 0x10
call edi
test ax, ax
jge 0x431f43
or esi, 0x4000
cmp si, 0x12
je 0x431f58
push 0x12
call edi
test ax, ax
jge 0x431f58
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x431f6b
mov esi, 0xbd
jmp 0x431f1f
cmp si, 0x6e
jne 0x431f78
mov esi, 0xbe
jmp 0x431f1f
cmp si, 0x6f
jne 0x431f19
mov esi, 0xbf
jmp 0x431f1f

Function at 0x4337b0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4e4ba8]
xor edx, edx
cmp eax, edx
jne 0x4337d6
xor eax, eax
mov byte [eax + 0x4e4aa8], al
inc eax
cmp eax, 0x100
jl 0x4337be
mov dword [0x4e4ba8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4e4aa8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x433867
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 0x43383a
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 0x433808
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4338e0
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 0x433933
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 0x43391a
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