joyce8/EMBER2024-capa huggingface dataset:
Function at 0x494410
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x494436
mov eax, esp
push eax
push 0x4943d8
call sub.user32.dll_EnumWindows
jmp 0x494449
mov eax, esp
push eax
push 0x4943b8
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x49450c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x49455c]
test bl, 4
je 0x494520
or si, 1
test bl, 8
je 0x494529
or si, 4
test bl, 1
je 0x494532
or si, 8
test bl, 2
je 0x49453b
or si, 0x10
test bl, 0x10
je 0x494544
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x494554
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x494560
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x49459c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x49457b
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x49458b
or bx, 4
test esi, 0x20000000
je 0x494597
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x49d214
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x49d226
add esp, 0xfffffff0
call fcn.00405b0c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043c14c
mov eax, dword [0x4adf78]
mov dword [eax + 4], ebx
mov dword [eax], 0x49d670
mov eax, dword [0x4adf84]
mov dword [eax + 4], ebx
mov dword [eax], 0x49d67c
mov eax, ebx
call fcn.0049d688
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x425464]
call fcn.004055c0
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x425464]
call fcn.004055c0
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x425464]
call fcn.004055c0
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x425464]
call fcn.004055c0
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x425464]
call fcn.004055c0
mov dword [ebx + 0x78], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x44], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x5c]
push eax
mov eax, 0x497f08
push eax
push 0
push 0
mov eax, dword [0x4ae120]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x446fd4]
call fcn.0044bfdc
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x446fd4]
call fcn.0044bfdc
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x446fd4]
call fcn.0044bfdc
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x446fd4]
call fcn.0044bfdc
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x446fd4]
call fcn.0044bfdc
mov dword [ebx + 0x8c], eax
mov eax, ebx
call fcn.0049dbe8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x49da58
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x49da58
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x49da58
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x49da58
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x49da58
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x49d3a1
call fcn.00405b64
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x49d7f8
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49d9a5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x49d986
mov dl, 1
mov eax, dword [0x427a2c]
call fcn.00433bc4
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
xor edx, edx
call fcn.004070a8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x49d975
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.0047fe8c
test al, al
je 0x49d968
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x49d9b4
lea eax, [ebp - 0x394]
call fcn.0041296c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x49d968
xor eax, eax
push ebp
push 0x49d961
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x49da24
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x49d94a
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, 0x100
call fcn.00407290
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
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 + 0x40]
jne 0x49d94a
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, 0x100
call fcn.00407290
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49d968
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x49d86b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.00433b00
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49d9ac
lea eax, [ebp - 0x3a0]
call fcn.00407098
ret

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

Disassembly:
push ecx
mov eax, dword [0x4b4284]
cmp byte [eax + 0xad], 0
jne 0x49e576
cmp dword [0x4b429c], 0
jne 0x49e536
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x4ade14]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x4b429c], eax
cmp dword [0x4b4298], 0
jne 0x49e551
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x4b4298], eax
cmp dword [0x4b42a0], 0
jne 0x49e576
push esp
push 0
push 0
mov eax, dword [0x4ade10]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4b42a0], eax
pop edx
ret
Function at 0x49e89c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x49e8b3
add esp, 0xfffffff0
call fcn.00405b0c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043c14c
mov eax, dword [0x4adea8]
cmp byte [eax], 0
jne 0x49e8e0
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x4ae100]
cmp word [eax + 2], 0
jne 0x49e8fa
mov eax, dword [0x4ae100]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004a0994
mov eax, dword [0x4ae1d4]
cmp word [eax + 2], 0
jne 0x49e914
mov eax, dword [0x4ae1d4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004a0ba4
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x446fd4]
call fcn.0044bfdc
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4a1154
mov dl, 1
mov eax, dword [0x425464]
call fcn.004055c0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x425464]
call fcn.004055c0
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x44a66c]
call fcn.00452dd4
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x49eaf4
mov eax, dword [0x4adff0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00453268
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4a143c
mov dl, 1
mov eax, dword [0x425464]
call fcn.004055c0
mov dword [ebx + 0x98], eax
push 0x100
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x4adff0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.004127b8
test eax, eax
je 0x49ea25
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0041259c
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0041279c
test eax, eax
je 0x49ea3d
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, 0x100
call fcn.00407290
push ebx
push 0x4a0364
call fcn.004944f0
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x4adea8]
cmp byte [eax], 0
jne 0x49ea8e
mov eax, ebx
call fcn.0049ec68
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004a1668
mov eax, ebx
call fcn.004a229c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x49eaeb
call fcn.00405b64
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49ef3c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x49efde
cmp dword [ebx + 0x94], 0
jne 0x49efd8
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x49ee88
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x49efd8
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_GetWindowLongW
test al, 8
je 0x49ef9e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x49efd8
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.004305a0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x49efad
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x49f1fc
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4b4284]
cmp dword [eax + 0x170], 0
je 0x49f361
test bl, bl
jne 0x49f2af
cmp dword [esi + 0x9c], 0
jne 0x49f2a4
mov eax, esi
call fcn.004a20ec
push eax
push 0x49f108
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x49f275
mov eax, dword [0x4b4284]
cmp byte [eax + 0xd3], 0
je 0x49f275
mov eax, dword [esi + 0xd8]
call fcn.0040875c
mov edi, eax
cmp edi, 0
jl 0x49f275
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x49f25e
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x49f2a4
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004305a0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x49f284
inc dword [esi + 0x9c]
jmp 0x49f361
cmp dword [esi + 0x9c], 0
jle 0x49f361
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x49f361
cmp dword [esi + 0x44], 0
je 0x49f30c
mov eax, dword [0x4b4284]
cmp byte [eax + 0xd3], 0
je 0x49f30c
mov eax, dword [esi + 0xd8]
call fcn.0040875c
mov edi, eax
cmp edi, 0
jl 0x49f30c
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x49f2f5
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x49f33b
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004305a0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x49f31b
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x4923c8]
call fcn.0040891c
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x49ffb0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4a001b
cmp byte [ebx + 0xd3], 0
jne 0x4a001b
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004071e4
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4a0008
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4a0028
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004070a8
jmp 0x4a0028
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004070a8
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4a1850
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4a18be
mov eax, esi
call fcn.0047a060
test al, al
je 0x4a18be
mov eax, dword [ebx + 0x84]
call fcn.00479ce0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4a18be
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4a18b2
push 0
mov eax, dword [ebx + 0x84]
call fcn.00479ce0
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00470d70
jmp 0x4a18be
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004a1688
pop esi
pop ebx
ret
Function at 0x4a3f4c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov byte [ebp - 5], 0
xor edx, edx
push ebp
push 0x4a4081
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call sub.kernel32.dll_CreateFileW_1
mov ebx, eax
test ebx, ebx
jle 0x4a4077
push 0
lea eax, [ebp - 0xc]
push eax
push 0x16
lea eax, [ebp - 0x2a]
push eax
push ebx
call sub.kernel32.dll_ReadFile_1
push 0
push 0
push 0
push ebx
call sub.kernel32.dll_SetFilePointer_1
mov eax, 0x26
call fcn.00404204
mov esi, eax
mov eax, 0x22
call fcn.00404204
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x26
push esi
push ebx
call sub.kernel32.dll_ReadFile_1
mov edx, edi
mov eax, esi
mov ecx, 0x14
call fcn.004043c8
mov eax, dword [esi + 6]
mov dword [edi + 6], eax
mov eax, dword [esi + 0xa]
mov dword [edi + 0xa], eax
mov eax, dword [esi + 0xe]
mov dword [edi + 0xe], eax
mov word [edi + 0x12], 1
mov eax, dword [esi + 0xe]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
call fcn.00404204
mov dword [ebp - 0x14], eax
push 0
push 0
mov eax, dword [esi + 0x12]
push eax
push ebx
call sub.kernel32.dll_SetFilePointer_1
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
push ebx
call sub.kernel32.dll_ReadFile_1
push ebx
call sub.kernel32.dll_CloseHandle_1
push 0
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_BeginUpdateResourceW
mov ebx, eax
test ebx, ebx
jle 0x4a4061
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 0
push 1
push 3
push ebx
call sub.kernel32.dll_UpdateResourceW
push 0
push ebx
call sub.kernel32.dll_EndUpdateResourceW
mov byte [ebp - 5], 1
mov eax, dword [ebp - 0x14]
call fcn.00404220
mov eax, edi
call fcn.00404220
mov eax, esi
call fcn.00404220
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a408b
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a4098
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407090
mov eax, dword [ebp - 8]
call fcn.00407090
mov eax, dword [ebp - 0xc]
call fcn.00407090
xor eax, eax
push ebp
push 0x4a41a3
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4a417e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x44a66c]
call fcn.00452dd4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4a416d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 4]
call fcn.00407134
push eax
mov eax, dword [0x4b1c40]
push eax
call sub.shell32.dll_ExtractIconW
mov edx, eax
mov eax, dword [ebp - 0x10]
call fcn.00453268
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov eax, dword [ebp - 8]
call fcn.00407134
push eax
mov eax, dword [ebp - 0xc]
call fcn.00407134
pop edx
call fcn.004a3f4c
mov eax, dword [ebp - 0xc]
call fcn.0041207c
test al, al
je 0x4a4157
mov eax, dword [ebp - 0xc]
call fcn.00407134
push eax
call sub.kernel32.dll_DeleteFileW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4174
mov eax, dword [ebp - 0x10]
call fcn.004055f0
ret
Function at 0x4a41b4
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x4a41bc
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407090
xor eax, eax
push ebp
push 0x4a43e3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4ae1b4]
mov eax, dword [eax]
call fcn.004a0558
mov eax, dword [ebp - 4]
call fcn.0041207c
test al, al
je 0x4a43af
mov eax, dword [ebp - 4]
call fcn.004a4418
test al, al
jne 0x4a43af
mov eax, dword [0x4ae1b4]
mov eax, dword [eax]
call fcn.004a0558
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0041239c
push dword [ebp - 0x18]
push 0x4a4400
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004123d8
push dword [ebp - 0x1c]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00407648
mov eax, dword [ebp - 8]
test eax, eax
je 0x4a4263
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4a4263
lea eax, [ebp - 8]
mov edx, dword [ebp - 8]
call fcn.00406a50
mov ebx, eax
test ebx, ebx
je 0x4a426e
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x20]
push eax
mov ecx, ebx
sub ecx, 3
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.004077d0
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x10]
mov ecx, 0x4a4410
call fcn.00407564
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.004123d8
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.004123d8
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4a42bc
sub ebx, 4
mov ebx, dword [ebx]
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.0041239c
push dword [ebp - 0x2c]
push 0x4a4400
lea eax, [ebp - 0x30]
push eax
mov ecx, ebx
mov edx, 2
mov eax, dword [ebp - 0x14]
call fcn.004077d0
push dword [ebp - 0x30]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00407648
mov eax, dword [ebp - 4]
call fcn.0041207c
test al, al
je 0x4a43af
mov eax, dword [ebp - 8]
call fcn.0041207c
test al, al
jne 0x4a43af
mov eax, dword [ebp - 0xc]
call fcn.0041207c
test al, al
jne 0x4a43af
mov eax, dword [0x4ae1b4]
mov eax, dword [eax]
call fcn.004a0558
xor eax, eax
push ebp
push 0x4a4399
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00407134
push eax
mov eax, dword [ebp - 4]
call fcn.00407134
push eax
call sub.kernel32.dll_MoveFileW
mov eax, dword [ebp - 8]
call fcn.004a3d8c
lea edx, [ebp - 0x34]
mov eax, dword [0x4ae1b4]
mov eax, dword [eax]
call fcn.004a10cc
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 4]
call fcn.004a3e04
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.004a4098
mov eax, dword [0x4ae1b4]
mov eax, dword [eax]
call fcn.004a0558
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a43a3
mov eax, dword [0x4ae1b4]
mov eax, dword [eax]
call fcn.004a0558
mov eax, dword [0x4ae1b4]
mov eax, dword [eax]
call fcn.004a0558
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a43ea
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.004070a0
lea eax, [ebp - 0x24]
mov edx, 9
call fcn.004070a0
ret
Function at 0x4a44d4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x210], ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 7], cl
mov byte [ebp - 6], dl
mov byte [ebp - 5], al
lea esi, [ebp - 0x20a]
xor eax, eax
push ebp
push 0x4a4627
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x427a2c]
call fcn.00433bc4
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x4a45fc
push dword fs:[edx]
mov dword fs:[edx], esp
push esi
push 0xff
call sub.kernel32.dll_GetLogicalDriveStringsW
mov ebx, 1
lea eax, [ebp - 4]
xor edx, edx
call fcn.004070fc
jmp 0x4a4560
lea eax, [ebp - 0x210]
movzx edx, word [esi + ebx*2 - 2]
call fcn.00407214
mov edx, dword [ebp - 0x210]
lea eax, [ebp - 4]
call fcn.004074a4
inc ebx
cmp ebx, 0xff
jg 0x4a4570
cmp word [esi + ebx*2 - 2], 0
jne 0x4a4541
inc ebx
mov eax, dword [ebp - 4]
call fcn.00407134
push eax
call sub.kernel32.dll_GetDriveTypeW
mov edi, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x4a459e
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4a459e
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.00406a50
test eax, eax
je 0x4a45a7
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x4a45dd
cmp edi, 5
sete al
and al, byte [ebp - 5]
cmp al, 1
je 0x4a45d2
cmp edi, 3
sete al
and al, byte [ebp - 6]
cmp al, 1
je 0x4a45d2
cmp edi, 4
sete al
and al, byte [ebp - 7]
cmp al, 1
jne 0x4a45dd
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 4]
call fcn.00406a60
call fcn.00407400
test eax, eax
jne 0x4a4535
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a4606
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a462e
lea eax, [ebp - 0x210]
call fcn.00407098
lea eax, [ebp - 4]
call fcn.00407098
ret
Function at 0x4a50d8
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407090
mov eax, dword [ebp - 8]
call fcn.00407090
xor eax, eax
push ebp
push 0x4a5201
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
xor eax, eax
push ebp
push 0x4a51d4
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4438a8]
call fcn.00444aac
mov dword [ebp - 0x10], eax
mov edx, 0x80000001
mov eax, dword [ebp - 0x10]
call fcn.00444b94
xor eax, eax
push ebp
push 0x4a51c3
push dword fs:[eax]
mov dword fs:[eax], esp
mov cl, 1
mov edx, 0x4a5220
mov eax, dword [ebp - 0x10]
call fcn.00444cdc
test al, al
je 0x4a51a5
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.00445c94
test al, al
je 0x4a5193
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.0044570c
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.00407768
je 0x4a51a1
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.004455f4
jmp 0x4a51a1
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.004455f4
mov byte [ebp - 9], 1
mov eax, dword [ebp - 0x10]
call fcn.00444b64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a51ca
mov eax, dword [ebp - 0x10]
call fcn.004055f0
ret