joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448f4c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4490f7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4490d8
mov dl, 1
mov eax, dword [0x417cc8]
call fcn.00403b68
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404944
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4490c7
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0045d688
test al, al
je 0x4490ba
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x449108
lea eax, [ebp - 0x254]
call fcn.0040b5c0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4490ba
xor eax, eax
push ebp
push 0x4490b3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x449140
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44909c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404bb4
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x44909c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404bb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4490ba
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x448fbd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041bc6c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4490fe
lea eax, [ebp - 0x260]
call fcn.00404944
ret

Function at 0x449a40
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x495cc4]
cmp byte [eax + 0xa5], 0
jne 0x449ab1
cmp dword [0x495cdc], 0
jne 0x449a72
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4499fc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x495cdc], eax
cmp dword [0x495cd8], 0
jne 0x449a8d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x495cd8], eax
cmp dword [0x495ce0], 0
jne 0x449ab1
push esp
push 0
push 0
push 0x4499a0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x495ce0], eax
pop edx
ret
Function at 0x44a144
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x495cc4]
cmp dword [eax + 0x30], 0
je 0x44a1ee
cmp dword [ebx + 0x94], 0
jne 0x44a1e8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44a0d4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44a1e8
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44a1ae
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44a1e8
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00419d24
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44a1bd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44ad4c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44ad81
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404a34
jmp 0x44ad8e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404998
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44bddc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44be1d
mov eax, esi
call fcn.00458c20
test al, al
je 0x44be1d
mov eax, dword [ebx + 0x84]
call fcn.0045891c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44be1d
push 0
mov eax, dword [ebx + 0x84]
call fcn.0045891c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x44fb90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x495d28], 0
je 0x44fcdf
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x491e40]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x44fcdf
mov eax, dword [0x495d2c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x495d28]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x44fcae
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x495d28]
call fcn.00419d24
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x44fca6
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x44fca6
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x44fca6
mov eax, dword [ebp - 0x14]
call fcn.0045891c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44fca6
push ebp
call fcn.0044fb4c
pop ecx
test al, al
jne 0x44fca6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x44fc62
mov eax, dword [ebp - 0x14]
call fcn.004573a4
dec eax
jle 0x44fca6
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00403da0
cmp byte [ebp - 1], 0
je 0x44fca6
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x44fca6
mov edx, dword [ebp - 0x14]
mov eax, dword [0x495d2c]
call fcn.0044f318
inc edi
dec ebx
jne 0x44fbf5
mov eax, dword [0x495d2c]
cmp dword [eax + 8], 0
jle 0x44fcc6
mov eax, dword [0x495d2c]
call fcn.0044f3a8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x44fcdf
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0044f9b4
pop ecx
test al, al
jne 0x44fcdf
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4532f8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x453344
mov eax, esi
call fcn.00442490
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x453344
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x453344
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x453483
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x453384
cmp eax, 0x108
ja 0x453384
mov eax, esi
call fcn.00442490
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x45347a
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x453483
jmp 0x45347a
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x453463
cmp eax, 0x20a
ja 0x453463
test byte [esi + 0x50], 0x80
jne 0x4533b6
sub eax, 0x203
je 0x4533b3
sub eax, 3
je 0x4533b3
sub eax, 3
jne 0x4533b6
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x4533ca
dec eax
je 0x4533df
dec eax
je 0x4533fc
dec eax
je 0x4533df
jmp 0x453403
mov ecx, ebx
mov eax, dword [0x491e40]
mov eax, dword [eax]
mov edx, esi
call fcn.0044bc94
jmp 0x45347a
cmp byte [esi + 0x5d], 1
jne 0x4533f5
mov eax, esi
mov si, 0xffed
call fcn.00403da0
jmp 0x453483
or word [esi + 0x54], 1
jmp 0x45347a
and word [esi + 0x54], 0xfffe
jmp 0x45347a
mov eax, dword [0x495ce4]
cmp byte [eax + 0x20], 0
je 0x45347a
mov eax, dword [0x495ce4]
cmp dword [eax + 0x1c], 0
je 0x45347a
mov eax, dword [ebx]
mov edx, dword [0x495ce4]
cmp eax, dword [edx + 0x1c]
jne 0x45347a
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.004423d4
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403da0
jmp 0x453483
cmp eax, 0xb00b
jne 0x45347a
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00451bf4
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x456a04
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x456a20
cmp dword [esi + 4], 0
je 0x456a4d
test byte [ebx + 0x55], 1
jne 0x456a3f
mov eax, ebx
call fcn.004555a4
test eax, eax
jne 0x456a3f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x456b5d
mov edx, esi
mov eax, ebx
call fcn.00456528
jmp 0x456b5d
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x456b56
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0045891c
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0045322c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00456a04
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0045891c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456b5d
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45d328
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x492004]
cmp byte [eax + 0xc], 0
je 0x45d495
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45d48e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x495d38], 0
jne 0x45d37c
push 0x45d49c
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x45d4a4
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x495d38], eax
cmp dword [0x48e4a4], 0
jne 0x45d477
push 0x45d4b4
call sub.kernel32.dll_LoadLibraryA
mov dword [0x48e4a4], eax
cmp dword [0x48e4a4], 0
je 0x45d477
push 0x45d4c0
mov eax, dword [0x48e4a4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x495d3c], eax
push 0x45d4d0
mov eax, dword [0x48e4a4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x495d40], eax
push 0x45d4e4
mov eax, dword [0x48e4a4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x495d44], eax
push 0x45d4fc
mov eax, dword [0x48e4a4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x495d48], eax
push 0x45d514
mov eax, dword [0x48e4a4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x495d4c], eax
push 0x45d528
mov eax, dword [0x48e4a4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x495d50], eax
push 0x45d540
mov eax, dword [0x48e4a4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x495d54], eax
push 0x45d558
mov eax, dword [0x48e4a4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x495d58], eax
push 0x45d574
mov eax, dword [0x48e4a4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x495d5c], eax
push 0x45d580
mov eax, dword [0x48e4a4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x495d60], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d495
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x45e9c4
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404944
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x45ea13
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404bb4
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x466fdc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x104], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46704b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x100]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea edx, [ebp - 0x104]
lea eax, [ebp - 0x100]
call fcn.0040b140
mov edx, dword [ebp - 0x104]
mov ecx, esi
mov eax, ebx
call fcn.00467058
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467052
lea eax, [ebp - 0x104]
call fcn.00404944
ret
Function at 0x46771c
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404df4
xor eax, eax
push ebp
push 0x4677d4
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x43472c]
call fcn.004347fc
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4677a4
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000001
mov eax, dword [ebp - 0xc]
call fcn.0043489c
xor ecx, ecx
mov edx, 0x4677e8
mov eax, dword [ebp - 0xc]
call fcn.00434900
test al, al
je 0x46778e
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.00434a9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4677ab
mov eax, dword [ebp - 0xc]
call fcn.00403b98
ret
Function at 0x469d38
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff68
push ebx
push esi
test dl, dl
je 0x469d4f
add esp, 0xfffffff0
call fcn.00403ed0
mov byte [ebp - 1], dl
mov esi, eax
xor edx, edx
mov eax, esi
call fcn.0041fcc8
mov dl, 1
mov eax, dword [0x421854]
call fcn.00422fec
mov dword [esi + 0x38], eax
xor eax, eax
mov dword [esi + 0xd8], eax
mov dword [esi + 0xdc], eax
mov byte [esi + 0xb8], 0
mov eax, dword [0x491fd4]
mov eax, dword [eax]
mov edx, dword [eax + 0x88]
mov eax, dword [esi + 0x38]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esi + 4]
mov edx, dword [0x440508]
call fcn.00403d54
mov dword [esi + 0x34], eax
mov byte [esi + 0x65], 1
mov dword [esi + 0x3c], 0xff00000f
mov dword [esi + 0x40], 0xff00000f
mov dword [esi + 0x54], 0xff00000d
mov dword [esi + 0x50], 0xff00000d
mov dword [esi + 0x44], 0xff00000f
mov dword [esi + 0x58], 0xff000003
mov dword [esi + 0x4c], 0xff00000f
mov dword [esi + 0x48], 0xff00000d
mov eax, dword [esi + 0x38]
mov eax, dword [eax + 0x18]
mov dword [esi + 0x5c], eax
mov byte [esi + 0xa7], 0xa
mov byte [esi + 0xa8], 0x1e
mov dword [esi + 0x60], 0x18
mov byte [esi + 0x64], 1
mov dx, word [0x469f14]
mov eax, esi
call fcn.0046df84
mov edx, dword [0x469f18]
mov eax, esi
call fcn.0046dfdc
mov ebx, dword [esi + 0x34]
test ebx, ebx
je 0x469e37
mov eax, ebx
call fcn.00445380
mov edx, eax
mov eax, esi
call fcn.0046ce64
mov byte [esi + 0x66], 0
mov dword [ebp - 0x98], 0x94
lea eax, [ebp - 0x98]
push eax
call sub.kernel32.dll_GetVersionExA
mov byte [esi + 0xb6], 0
mov byte [esi + 0xb5], 0
mov byte [esi + 0xb7], 0
cmp dword [ebp - 0x88], 2
jne 0x469ea8
mov byte [esi + 0xb7], 1
cmp dword [ebp - 0x94], 5
jne 0x469e8f
cmp dword [ebp - 0x90], 0
jne 0x469e8f
mov byte [esi + 0xb5], 1
cmp dword [ebp - 0x94], 5
jne 0x469ea8
cmp dword [ebp - 0x90], 1
jne 0x469ea8
mov byte [esi + 0xb6], 1
test byte [esi + 0x1c], 0x10
jne 0x469eb3
call fcn.00469c90
mov dword [esi + 0xbc], 0xe2d6d1
mov dword [esi + 0xc0], 0xd2bdb6
xor eax, eax
mov dword [esi + 0xc4], eax
xor eax, eax
mov dword [esi + 0xc8], eax
mov dword [esi + 0xcc], 0xff000005
mov dword [esi + 0xd0], 0xff000005
xor eax, eax
mov dword [esi + 0xd4], eax
mov eax, esi
cmp byte [ebp - 1], 0
je 0x469f0a
call fcn.00403f28
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46e708
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov ecx, edx
test ecx, ecx
js 0x46e71e
mov ebx, dword [eax + ecx*4]
dec ecx
push ebx
jns 0x46e717
mov eax, esp
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov edi, esi
test edi, edi
jl 0x46e77a
inc edi
mov ebx, dword [ebp - 4]
mov eax, dword [ebx]
call fcn.00422d00
mov ecx, eax
mov eax, ecx
and eax, 0xff
cdq
idiv esi
add dword [ebp - 8], eax
mov eax, ecx
and eax, 0xff00
shr eax, 8
cdq
idiv esi
add dword [ebp - 0xc], eax
mov eax, ecx
and eax, 0xff0000
shr eax, 0x10
cdq
idiv esi
add dword [ebp - 0x10], eax
add ebx, 4
dec edi
jne 0x46e73e
mov cl, byte [ebp - 0x10]
mov dl, byte [ebp - 0xc]
mov al, byte [ebp - 8]
call fcn.0040780c
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x4754b4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
xor ecx, ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov dword [ebp - 8], ecx
xor eax, eax
push ebp
push 0x475598
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
push 0
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x10d]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
lea edx, [ebp - 0x118]
xor eax, eax
call fcn.004032dc
mov eax, dword [ebp - 0x118]
lea edx, [ebp - 0x114]
call fcn.0040ace4
mov eax, dword [ebp - 0x114]
push eax
lea edx, [ebp - 0x11c]
mov eax, dword [0x466f4c]
call fcn.0046782c
mov edx, dword [ebp - 0x11c]
lea eax, [ebp - 8]
pop ecx
call fcn.00404c50
lea eax, [ebp - 0x120]
lea edx, [ebp - 0x10d]
mov ecx, 0x105
call fcn.00404bb4
mov ecx, dword [ebp - 0x120]
mov edx, 0x4755ac
mov eax, dword [ebp - 8]
call fcn.00475258
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47559f
lea eax, [ebp - 0x120]
mov edx, 4
call fcn.00404968
lea eax, [ebp - 8]
call fcn.00404944
ret

Function at 0x477da8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404df4
xor eax, eax
push ebp
push 0x477e06
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 4]
call fcn.00477e84
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
je 0x477dee
lea eax, [ebp - 4]
call fcn.00477e84
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x477df0
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477e0d
lea eax, [ebp - 4]
call fcn.00404944
ret

Function at 0x477e14
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404df4
xor eax, eax
push ebp
push 0x477e78
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0xe
lea eax, [ebp - 0x1a]
push eax
lea eax, [ebp - 4]
call fcn.00477e84
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov edx, ebx
lea eax, [ebp - 0x1a]
call fcn.0040b140
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477e7f
lea eax, [ebp - 4]
call fcn.00404944
ret
Function at 0x4784a8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404df4
xor eax, eax
push ebp
push 0x4785a1
push dword fs:[eax]
mov dword fs:[eax], esp
mov ax, word [esi + 4]
mov word [ebx + 4], ax
mov ax, word [esi + 6]
mov word [ebx + 6], ax
mov ax, word [esi + 8]
mov word [ebx + 8], ax
mov ax, word [esi + 0xa]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xc]
call fcn.00477b44
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
mov ax, word [esi + 0x1c]
mov word [ebx + 0x1c], ax
mov ax, word [esi + 0x1e]
mov word [ebx + 0x1e], ax
mov ax, word [esi + 0x20]
mov word [ebx + 0x22], ax
mov ax, word [esi + 0x22]
mov word [ebx + 0x24], ax
mov ax, word [esi + 0x24]
mov word [ebx + 0x26], ax
mov eax, dword [esi + 0x26]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x2a]
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040ace4
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00478e8c
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0040abc8
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00478f00
xor eax, eax
mov dword [ebx + 0x44], eax
mov byte [ebx + 0x48], 0
mov byte [ebx + 0x4a], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4785a8
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404968
ret