joyce8/EMBER2024-capa huggingface dataset:
Function at 0x67a636
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x67a664
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x67a682
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0067a59c
jmp 0x67a682
mov eax, dword [esi + 0x14]
test eax, eax
je 0x67a682
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0067a59c
test edi, edi
mov eax, edi
jne 0x67a66c
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x67cfa1
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
push 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call edi
test ax, ax
jge 0x67cfc9
or dword [esi + 0x38], 1
or dword [esi + 0x34], 2
jmp 0x67cfda
push 2
call edi
test ax, ax
jge 0x67cfda
or dword [esi + 0x38], 2
or dword [esi + 0x34], 1
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.00670d67
cmp dword [esi + 0x30], ebx
jne 0x67d0b4
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, 0x100
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.00670d67
cmp eax, dword [esp + 0x34]
jne 0x67d0b4
push 1
push 0x209
push 0x200
lea eax, [esp + 0x20]
push 0
push eax
call edi
test eax, eax
jne 0x67d050
push 1
push 0x108
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x67d095
mov eax, dword [esp + 0x18]
cmp eax, 0x202
je 0x67d0b4
cmp eax, 0x205
je 0x67d0b4
cmp eax, 0x201
je 0x67d0b4
cmp eax, 0x204
je 0x67d0b4
cmp eax, ebx
jne 0x67d07b
cmp dword [esp + 0x1c], 0x1b
je 0x67d0b4
push dword [esp + 0x2c]
lea eax, [esi + 0x20]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x30], eax
call ebp
sub eax, dword [esp + 0x10]
cmp eax, dword [0x83e580]
jbe 0x67d0aa
mov dword [esi + 0x30], 1
cmp dword [esi + 0x30], 0
je 0x67d00d
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x401000
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x410040]
xor eax, esp
mov dword [esp + 0x20c], eax
push 0x104
lea eax, [esp + 8]
push eax
mov dword [0x411a30], 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [esp + 4]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401035
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 2], 0x5c
je 0x401063
push 0x40dbb4
lea ecx, [esp + 8]
push 0x104
push ecx
call fcn.00402ca4
add esp, 0xc
push esi
push str.IsWow64Process
push str.kernel32
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x401097
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [esp + 4], 0
pop esi
je 0x4010b0
push 0x40dbb8
push 0x104
lea eax, [esp + 0xc]
push eax
jmp 0x4010bf
push str.system32_
push 0x104
lea ecx, [esp + 0xc]
push ecx
call fcn.00402ca4
add esp, 0xc
push str.Mapi32.dll
lea edx, [esp + 8]
push 0x104
push edx
call fcn.00402ca4
add esp, 0xc
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor ecx, ecx
test eax, eax
setne cl
mov dword [0x411a30], eax
mov eax, ecx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00402c22
add esp, 0x210
ret

Function at 0x4012b0
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 8
push str.KM_QuickScan_Mutex
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4012d7
xor eax, eax
add esp, 8
ret 0x10
call fcn.00402270
mov dword [0x411a34], eax
test eax, eax
jne 0x4012ee
mov eax, dword [esp + 0xc]
mov dword [0x411a34], eax
push esi
push str.g_hScanRunningEvent
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
lea ecx, [esp + 4]
push ecx
mov dword [0x411a38], eax
mov dword [esp + 8], 8
mov dword [esp + 0xc], 0x20
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov edx, dword [0x411a34]
push 0
push 0x401360
push 0
push 0x3ea
push edx
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov esi, eax
mov eax, dword [0x411a38]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
add esp, 8
ret 0x10

Function at 0x401ba0
Capabilities:
Create directory
Get common file path

Disassembly:
sub esp, 0x224
mov eax, dword [0x410040]
xor eax, esp
mov dword [esp + 0x21c], eax
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx ecx, word [esp + 0xc]
movzx edx, word [esp + 0xa]
movzx eax, word [esp + 8]
push ecx
movzx ecx, word [esp + 0xa]
push edx
movzx edx, word [esp + 0xa]
push eax
movzx eax, word [esp + 0xc]
push ecx
push edx
push eax
push str.KMSCAN_02d_02d_02d_02d_02d_02d
lea ecx, [esp + 0x2c]
push 0x104
push ecx
call fcn.00402df0
add esp, 0x24
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [esp + 0x10]
push edx
push 0x104
push esi
call fcn.00402ca4
add esp, 0xc
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.00402c22
add esp, 0x224
ret
Function at 0x402190
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
sub esp, 0x42c
mov eax, dword [0x410040]
xor eax, esp
mov dword [esp + 0x424], eax
push ebx
push esi
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx ecx, word [esp + 0xe]
movzx edx, word [esp + 0xa]
movzx eax, word [esp + 8]
push ecx
push edx
push eax
push str.Kyocera__04d_02d_02d
lea ecx, [esp + 0x230]
push 0x104
push ecx
call fcn.00402df0
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 0x18
mov esi, 1
jmp 0x4021f0
push esi
lea edx, [esp + 0x224]
push edx
push edi
push str._s_s__03d
lea eax, [esp + 0x28]
push 0x104
push eax
call fcn.00402df0
add esp, 0x18
lea ecx, [esp + 0x18]
push ecx
inc esi
call ebx
cmp eax, 0xffffffff
je 0x402229
lea edx, [esp + 0x18]
push edx
call ebx
test al, 0x10
jne 0x4021f0
lea eax, [esp + 0x18]
push eax
push 0x104
push edi
call fcn.00402fbf
add esp, 0xc
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [esp + 0x42c]
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.00402c22
add esp, 0x42c
ret
Function at 0x402c22
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410040]
jne 0x402c2c
repz ret
jmp fcn.004033ab

Function at 0x40934c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00403d4d
and dword [ebp - 4], 0
cmp dword [0x411914], 0
mov ebx, eax
jne 0x4093fd
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4094ae
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4094ae
push eax
call fcn.00403cdb
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x411914], eax
call esi
push eax
call fcn.00403cdb
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x411918], eax
call esi
push eax
call fcn.00403cdb
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41191c], eax
call esi
push eax
call fcn.00403cdb
pop ecx
mov dword [0x411924], eax
test eax, eax
je 0x4093fd
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403cdb
pop ecx
mov dword [0x411920], eax
mov eax, dword [0x411920]
cmp eax, ebx
je 0x409455
cmp dword [0x411924], ebx
je 0x409455
push eax
call fcn.00403d56
push dword [0x411924]
mov esi, eax
call fcn.00403d56
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x409455
test edi, edi
je 0x409455
call esi
test eax, eax
je 0x40944c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40944c
test byte [ebp - 0xc], 1
jne 0x409455
or dword [ebp + 0x10], 0x200000
jmp 0x40948e
mov eax, dword [0x411918]
cmp eax, ebx
je 0x40948e
push eax
call fcn.00403d56
pop ecx
test eax, eax
je 0x40948e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40948e
mov eax, dword [0x41191c]
cmp eax, ebx
je 0x40948e
push eax
call fcn.00403d56
pop ecx
test eax, eax
je 0x40948e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x411914]
call fcn.00403d56
pop ecx
test eax, eax
je 0x4094ae
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4094b0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402a0c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x40400c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402aa4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402a84
xor eax, eax
push ebp
push 0x402a7d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402ac0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402a84
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x40400c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x40400c], ax
mov esp, ebp
pop ebp
ret

Function at 0x40310c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x405034], 0
je 0x40316d
cmp word [0x405208], 0xd7b2
jne 0x403135
cmp dword [0x405210], 0
jbe 0x403135
mov eax, 0x405204
call dword [0x405220]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x404054
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403194
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x404018], 0
jne 0x403189
push 0
push 0x40404c
push 0x404054
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x403420
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x403486
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00403310
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402900
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x403470
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40348d
lea eax, [ebp - 0x10]
call fcn.00403290
ret
Function at 0x401460
Capabilities:
Encode data using xor

Disassembly:
push esi
push ebx
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
movzx edx, byte [esp + 0x14]
test eax, eax
lea esi, [ebx + eax]
jle 0x4014ef
mov ecx, ebx
lea eax, [ebx + 1]
xor byte [ebx], dl
not ecx
add ecx, esi
and ecx, 7
cmp eax, esi
je 0x4014ef
test ecx, ecx
je 0x4014d1
cmp ecx, 1
je 0x4014c8
cmp ecx, 2
je 0x4014c3
cmp ecx, 3
je 0x4014be
cmp ecx, 4
je 0x4014b9
cmp ecx, 5
je 0x4014b4
cmp ecx, 6
je 0x4014af
xor byte [eax], dl
lea eax, [ebx + 2]
xor byte [eax], dl
add eax, 1
xor byte [eax], dl
add eax, 1
xor byte [eax], dl
add eax, 1
xor byte [eax], dl
add eax, 1
xor byte [eax], dl
add eax, 1
xor byte [eax], dl
add eax, 1
cmp eax, esi
je 0x4014ef
xor byte [eax], dl
xor byte [eax + 1], dl
xor byte [eax + 2], dl
xor byte [eax + 3], dl
xor byte [eax + 4], dl
xor byte [eax + 5], dl
xor byte [eax + 6], dl
xor byte [eax + 7], dl
add eax, 8
cmp eax, esi
jne 0x4014d1
pop ebx
pop esi
ret
Function at 0x401db0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x408044
call sub.KERNEL32.dll_EnterCriticalSection
mov ebx, dword [0x40803c]
sub esp, 4
test ebx, ebx
je 0x401dfb
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sub.KERNEL32.dll_TlsGetValue
sub esp, 4
mov esi, eax
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x401df4
test esi, esi
je 0x401df4
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401dd0
mov dword [esp], 0x408044
call sub.KERNEL32.dll_LeaveCriticalSection
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x401fe0
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x402030
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.KERNEL32.dll_VirtualQuery
sub esp, 0xc
test eax, eax
je 0x402108
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x40206e
cmp eax, 4
jne 0x402090
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.msvcrt.dll_memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sub.msvcrt.dll_memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x40207e
cmp edx, 4
je 0x40207e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00401fe0
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40c7d0
nop
mov ecx, 0xf2a7883
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
nop
mov ecx, 0xa4e3a4d
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x432250
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e2feb
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.004d5026
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4322d2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004d22e0
mov eax, dword [eax]
push 0x648d50
push eax
call fcn.004c3a54
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004d52b1
test bl, bl
je 0x4322d2
push 0x648d50
lea ecx, [esp + 0xc]
call fcn.004d568d
push 0x648d5c
lea ecx, [esp + 0xc]
call fcn.004d568d
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 0x43230e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004d52b1
jmp 0x4323d9
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 0x432392
lea edx, [esp + 0x7c]
push 0x648d58
push edx
call fcn.004c3a54
add esp, 8
test eax, eax
je 0x432392
lea eax, [esp + 0x7c]
push 0x648d54
push eax
call fcn.004c3a54
add esp, 8
test eax, eax
je 0x432392
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 0x432322
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.004d52b1
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 0x433060
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e30ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x65752c]
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 0x433198
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4330c6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004d52b1
xor eax, eax
jmp 0x43320f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004d543a
push esi
lea ecx, [esp + 0xc]
call fcn.004d56c9
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x648d98
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4331ed
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x648d90
push SysReAllocStringLen
call fcn.004a9ec0
test eax, eax
jne 0x4331ed
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x648d7c
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocStringLen
mov ecx, edi
call fcn.004a9ec0
test eax, eax
jne 0x4331ed
lea eax, [esp + 0x14]
push 0x648d74
push eax
call fcn.004c4c40
mov esi, eax
add esp, 8
test esi, esi
jne 0x4331cc
lea ecx, [esp + 0x14]
push 0x648d70
push ecx
call fcn.004c4bc0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4331cc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4331cf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004d53ea
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4330de
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004d52b1
xor eax, eax
jmp 0x43320f
mov byte [esi], 0
push 0x648d6c
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.004d52b1
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 0x449180
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 0x4491ee
cmp si, 0x69
ja 0x4491ee
add esi, 0xffd0
cmp si, 0x11
je 0x4491be
push 0x11
call edi
test ax, ax
jge 0x4491be
or esi, 0x2000
cmp si, 0x10
je 0x4491d3
push 0x10
call edi
test ax, ax
jge 0x4491d3
or esi, 0x4000
cmp si, 0x12
je 0x4491e8
push 0x12
call edi
test ax, ax
jge 0x4491e8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4491fb
mov esi, 0xbd
jmp 0x4491af
cmp si, 0x6e
jne 0x449208
mov esi, 0xbe
jmp 0x4491af
cmp si, 0x6f
jne 0x4491a9
mov esi, 0xbf
jmp 0x4491af

Function at 0x44ab50
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x668600]
xor edx, edx
cmp eax, edx
jne 0x44ab76
xor eax, eax
mov byte [eax + 0x668500], al
inc eax
cmp eax, 0x100
jl 0x44ab5e
mov dword [0x668600], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x668500
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x44ac07
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 0x44abda
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 0x44aba8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x44ac80
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 0x44acd3
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 0x44acba
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