joyce8/EMBER2024-capa huggingface dataset:
Function at 0x468753
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46878b
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046680a
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004667e2
jmp 0x468797
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x469e44
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x469e86
call fcn.0046fdf5
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x469e86
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x469e7d
xor eax, eax
jmp 0x469e8e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00469e94
pop edi
pop esi
pop ebx
ret 4

Function at 0x470325
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 0x470353
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x470371
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047028b
jmp 0x470371
mov eax, dword [esi + 0x14]
test eax, eax
je 0x470371
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047028b
test edi, edi
mov eax, edi
jne 0x47035b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x1001415
Capabilities:
Check if file exists
Copy file
Create directory
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x488
push esi
push dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x208]
push eax
call esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x104]
push eax
call esi
push dword [ebp + 0x10]
lea eax, [ebp - 0x208]
push eax
call fcn.01001890
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea eax, [ebp - 0x348]
push eax
lea eax, [ebp - 0x208]
push eax
call esi
cmp eax, 0xffffffff
jne 0x100146e
xor eax, eax
jmp 0x10015bf
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ebx, ebx
cmp eax, 0xffffffff
jne 0x10014a6
push ebx
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x10014a6
xor eax, eax
jmp 0x10015bd
test byte [ebp - 0x348], 0x10
push dword [ebp + 0x10]
lea eax, [ebp - 0x104]
push eax
je 0x1001545
call fcn.01001890
push 0x1001224
lea eax, [ebp - 0x208]
push eax
call fcn.01001890
lea eax, [ebp - 0x488]
push eax
lea eax, [ebp - 0x208]
push eax
call esi
mov esi, eax
lea eax, [ebp - 0x208]
push eax
call main
cmp esi, 0xffffffff
mov byte [eax], bl
je 0x10015ba
lea eax, [ebp - 0x45c]
push eax
call fcn.010013f0
test eax, eax
jne 0x1001531
push dword [ebp + 0x14]
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.01001415
test eax, eax
je 0x100149f
lea eax, [ebp - 0x488]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10014fc
jmp 0x10015ba
call fcn.01001890
push dword [ebp + 0x14]
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x100149f
push 0x80
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push ebx
push ebx
push 3
push ebx
push 1
push 0x40000000
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x10015ba
lea eax, [ebp - 0x334]
push eax
lea eax, [ebp - 0x33c]
push eax
lea eax, [ebp - 0x344]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call edi
xor eax, eax
inc eax
pop edi
pop ebx
pop esi
leave
ret 0x10
Function at 0x10015c4
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
inc edi
test esi, esi
mov dword [ebp - 4], edi
je 0x10016cc
cmp byte [esi], 0
je 0x10016cc
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x10015ff
mov eax, edi
jmp 0x10016ce
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x10016cc
test bl, 0x10
push esi
je 0x10016ba
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x108]
push eax
call esi
push 0x1001224
lea eax, [ebp - 0x108]
push eax
call fcn.01001890
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
lea eax, [ebp - 0x108]
push eax
call main
cmp ebx, 0xffffffff
mov edi, eax
je 0x10016a8
lea eax, [ebp - 0x21c]
push eax
call fcn.010013f0
test eax, eax
jne 0x1001696
lea eax, [ebp - 0x21c]
push eax
lea eax, [edi + 1]
push eax
call esi
lea eax, [ebp - 0x108]
push eax
call fcn.010015c4
test eax, eax
jne 0x1001696
and dword [ebp - 4], eax
lea eax, [ebp - 0x248]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1001666
and byte [edi], 0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x10016c0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x10016c7
and dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x10016ce
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x10016d5
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30c
push esi
push edi
push dword [ebp + 0xc]
call fcn.010015c4
push dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x104]
push eax
call edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x208]
push eax
call edi
xor esi, esi
push 0
push dword [esi + section..data]
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.01001415
test eax, eax
je 0x10017fd
add esi, 4
cmp esi, 0x24
jb 0x1001708
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x1001782
mov eax, dword [esi]
test eax, eax
je 0x1001782
push ebx
push eax
call main
mov ebx, eax
test ebx, ebx
je 0x1001778
push dword [ebp + 0xc]
lea eax, [ebp - 0x30c]
push eax
call edi
push ebx
lea eax, [ebp - 0x30c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
lea eax, [ebp - 0x30c]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
add esi, 4
mov eax, dword [esi]
test eax, eax
jne 0x1001741
pop ebx
xor edi, edi
xor esi, esi
push edi
push dword [esi + section..data]
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.01001415
test eax, eax
je 0x10017fd
add esi, 4
cmp esi, 0x24
jb 0x1001786
xor esi, esi
push edi
push dword [esi + 0x1004024]
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.01001415
add esi, 4
cmp esi, 8
jb 0x10017ae
xor esi, esi
push edi
push dword [esi + 0x100402c]
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.01001415
add esi, 4
cmp esi, 0xc
jb 0x10017d2
xor eax, eax
inc eax
pop edi
pop esi
leave
ret 0xc
push dword [ebp + 0xc]
call fcn.010015c4
xor eax, eax
jmp 0x10017f7

Function at 0x10018d1
Capabilities:
Check if file exists
Get file attributes
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push dword [ebp + 8]
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1001958
push esi
push edi
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebx
je 0x1001956
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
cmp edi, ebx
je 0x1001956
push edi
push esi
push ebx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x100194f
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x1001228
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x100194f
mov ecx, dword [ebp + 0xc]
cmp ecx, ebx
mov eax, dword [ebp - 4]
je 0x1001940
mov edx, dword [eax + 8]
mov dword [ecx], edx
mov ecx, dword [ebp + 0x10]
cmp ecx, ebx
je 0x100194c
mov eax, dword [eax + 0xc]
mov dword [ecx], eax
xor ebx, ebx
inc ebx
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0xc
Function at 0x100195f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
push dword [ebp + 8]
call esi
push dword [ebp + 0xc]
mov edi, eax
call esi
push dword [ebp + 0x10]
add edi, eax
call esi
lea ebx, [edi + eax + 1]
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x1001993
push edi
call esi
lea ebx, [ebx + eax + 4]
inc ebx
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
jne 0x10019b9
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1001a3e
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [ebp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push ebx
call esi
push 0x1001234
push ebx
call esi
push dword [ebp + 0x10]
push ebx
call esi
test edi, edi
je 0x10019ed
push 0x100122c
push ebx
call esi
push edi
push ebx
call esi
push 0x11
pop ecx
xor eax, eax
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push dword [ebp + 8]
xor esi, esi
push esi
push 0x20
push esi
push esi
push esi
push ebx
push esi
mov dword [ebp - 0x54], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push esi
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x1001a45
Capabilities:
Check for time delay via gettickcount
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x1001a9e
push esi
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x1001a9e
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x1001264
lea eax, [ebp - 0x108]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call main
test eax, eax
jne 0x1001aa5
xor eax, eax
jmp 0x1001be8
push ebx
push edi
push eax
lea eax, [ebp - 0x108]
push eax
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
jmp 0x1001ae8
lea eax, [ebp - 0x108]
push eax
call fcn.010015c4
test eax, eax
jne 0x1001af6
call ebx
sub eax, dword [ebp - 4]
cmp eax, 0x36ee80
ja 0x1001af6
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x108]
push eax
call edi
cmp eax, 0xffffffff
jne 0x1001ac4
push 0x104
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x1001be4
push 0x1001264
lea eax, [ebp - 0x108]
push eax
call esi
push 0x1001254
lea eax, [ebp - 0x108]
push eax
call esi
call ebx
mov dword [ebp - 4], eax
jmp 0x1001b57
lea eax, [ebp - 0x108]
push eax
call fcn.010015c4
test eax, eax
jne 0x1001b65
call ebx
sub eax, dword [ebp - 4]
cmp eax, 0x36ee80
ja 0x1001b65
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x108]
push eax
call edi
cmp eax, 0xffffffff
jne 0x1001b33
mov edi, dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov ebx, 0x104
push ebx
lea eax, [ebp - 0x108]
push eax
call edi
test eax, eax
je 0x1001be4
push 0x1001264
lea eax, [ebp - 0x108]
push eax
call esi
lea eax, [ebp - 0x108]
push eax
call fcn.010015c4
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x108]
push eax
call edi
test eax, eax
je 0x1001be4
push 0x1001244
lea eax, [ebp - 0x108]
push eax
call esi
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x1001240
push 0x1001238
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
test eax, eax
je 0x1001be4
cmp dword [ebp - 4], 0
je 0x1001be4
xor eax, eax
inc eax
jmp 0x1001be6
xor eax, eax
pop edi
pop ebx
pop esi
leave
ret
Function at 0x1002052
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov ebx, eax
push 0x104
lea eax, [ebp - 0x104]
push eax
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp byte [ebx], 0
jne 0x1002086
lea ebx, [ebp - 0x104]
mov esi, dword [ebp + 8]
lea eax, [ebp + 8]
push eax
push esi
push edi
push edi
push ebx
call fcn.01001f00
mov eax, dword [esi]
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax*4 + 4]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
je 0x10020c2
lea eax, [ebp + 8]
push eax
mov eax, dword [esi]
push esi
lea eax, [edi + eax*4]
push eax
push edi
push ebx
call fcn.01001f00
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x1002307
Capabilities:
Get file size
Read file via mapping

Disassembly:
push 0x38
push 0x10012e0
call fcn.01003034
xor edi, edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], edi
push edi
push 0x8000000
push 3
push edi
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
mov dword [ebp - 0x28], ebx
cmp ebx, 0xffffffff
jne 0x1002348
xor eax, eax
jmp 0x10023e6
mov dword [ebp - 4], edi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
mov dword [ebp - 0x2c], esi
cmp esi, 0xffffffff
je 0x10023cf
push edi
push esi
push edi
push 2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebp - 0x1c], eax
cmp eax, edi
je 0x10023cf
push esi
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, eax
mov dword [ebp - 0x20], ecx
cmp ecx, edi
je 0x10023cf
mov eax, esi
shr eax, 2
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
lea eax, [ecx + eax*4]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], edi
cmp ecx, eax
jae 0x10023ab
mov edx, dword [ecx]
add dword [ebp - 0x3c], edx
add ecx, 4
mov dword [ebp - 0x34], ecx
jmp 0x100239a
and esi, 3
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], ecx
cmp dword [ebp - 0x40], edi
je 0x10023c8
movzx eax, byte [ecx]
add dword [ebp - 0x3c], eax
inc ecx
mov dword [ebp - 0x44], ecx
dec dword [ebp - 0x40]
jmp 0x10023b4
mov dword [ebp - 0x24], 1
or dword [ebp - 4], 0xffffffff
call fcn.010023f0
cmp esi, edi
je 0x10023e4
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
mov eax, esi
call fcn.0100306d
ret 8
Function at 0x42cfe0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48fcbb
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.00484668
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x42d062
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00482517
mov eax, dword [eax]
push 0x4bf1f0
push eax
call fcn.00475374
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004848f3
test bl, bl
je 0x42d062
push 0x4bf1f0
lea ecx, [esp + 0xc]
call fcn.00484c83
push 0x4c2d88
lea ecx, [esp + 0xc]
call fcn.00484c83
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 0x42d09e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004848f3
jmp 0x42d169
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 0x42d122
lea edx, [esp + 0x7c]
push 0x4c2d84
push edx
call fcn.00475374
add esp, 8
test eax, eax
je 0x42d122
lea eax, [esp + 0x7c]
push 0x4c2d80
push eax
call fcn.00475374
add esp, 8
test eax, eax
je 0x42d122
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 0x42d0b2
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.004848f3
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 0x42e3e0
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 0x42e442
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 0x42e450
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48fe1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4c9440]
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 0x42e588
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x42e4b6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004848f3
xor eax, eax
jmp 0x42e5ff
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00484a30
push esi
lea ecx, [esp + 0xc]
call fcn.00484cbf
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 0x42e5dd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0042e3e0
test eax, eax
jne 0x42e5dd
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.0042e3e0
test eax, eax
jne 0x42e5dd
lea eax, [esp + 0x14]
push 0x4c2d9c
push eax
call fcn.004763b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42e5bc
lea ecx, [esp + 0x14]
push 0x4c2d98
push ecx
call fcn.00476330
mov esi, eax
add esp, 8
test esi, esi
jne 0x42e5bc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42e5bf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004849e0
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42e4ce
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004848f3
xor eax, eax
jmp 0x42e5ff
mov byte [esi], 0
push 0x4c2d94
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.004848f3
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 0x442910
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 0x44297e
cmp si, 0x69
ja 0x44297e
add esi, 0xffd0
cmp si, 0x11
je 0x44294e
push 0x11
call edi
test ax, ax
jge 0x44294e
or esi, 0x2000
cmp si, 0x10
je 0x442963
push 0x10
call edi
test ax, ax
jge 0x442963
or esi, 0x4000
cmp si, 0x12
je 0x442978
push 0x12
call edi
test ax, ax
jge 0x442978
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x44298b
mov esi, 0xbd
jmp 0x44293f
cmp si, 0x6e
jne 0x442998
mov esi, 0xbe
jmp 0x44293f
cmp si, 0x6f
jne 0x442939
mov esi, 0xbf
jmp 0x44293f

Function at 0x4440b0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4d9ba0]
xor edx, edx
cmp eax, edx
jne 0x4440d6
xor eax, eax
mov byte [eax + 0x4d9aa0], al
inc eax
cmp eax, 0x100
jl 0x4440be
mov dword [0x4d9ba0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4d9aa0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x444167
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 0x44413a
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 0x444108
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4441e0
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 0x444233
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 0x44421a
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