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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 0x50]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, edi
push 0xfffffffffffffff0
push edi
sete byte [ebp - 1]
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ebx, dword [ebp + 0xc]
mov ecx, eax
mov eax, 0x8000000
push 0
and ecx, eax
pop edi
cmp ecx, eax
mov al, byte [ebx + 0x10]
sete byte [ebp + 0xb]
and al, 1
mov byte [ebp + 0xf], al
mov eax, edi
je 0x407da1
mov eax, dword [esi + 0x1c]
jmp 0x407de4
cmp byte [ebp + 0xb], 0
je 0x407dae
mov eax, dword [esi + 0x1c]
shl eax, 1
jmp 0x407de4
mov ecx, dword [ebx + 0x10]
and ecx, 0x40
cmp cl, 0x40
jne 0x407dca
mov ecx, dword [esi + 0x1c]
lea edx, [ecx + ecx*2 + 3]
cmp dword [esi + 0x64], edx
jle 0x407dca
lea eax, [ecx + ecx*2]
jmp 0x407de4
cmp byte [ebp - 1], 0
je 0x407de4
mov ecx, dword [esi + 0x1c]
lea edx, [ecx*4 + 4]
cmp dword [esi + 0x64], edx
jle 0x407de4
mov eax, ecx
shl eax, 2
push 0xcc0020
push edi
push eax
push dword [esi + 0x5c]
push dword [esi + 0x20]
push dword [esi + 0x1c]
push edi
push edi
push dword [ebx + 0x18]
call dword [sym.imp.GDI32.dll_BitBlt]
and byte [ebp - 0xf4], 0
push 0x31
pop ecx
xor eax, eax
lea edi, [ebp - 0xf3]
push 0xc8
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0xf4]
push eax
push dword [esi + 0x50]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov edi, eax
push 1
test edi, edi
jle 0x407f0b
push dword [ebx + 0x18]
call dword [sym.imp.GDI32.dll_SetBkMode]
cmp byte [ebp + 0xb], 0
je 0x407e4d
push 0xa0a0a0
jmp 0x407e50
push dword [esi + 0x2c]
push dword [ebx + 0x18]
call dword [sym.imp.GDI32.dll_SetTextColor]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xf4]
push edi
push eax
push dword [ebx + 0x18]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
push 0
push dword [ebx + 0x18]
call dword [sym.imp.GDI32.dll_SetTextAlign]
mov eax, dword [esi + 0x1c]
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
and dword [ebp - 0x18], 0
push 0x25
push eax
lea eax, [ebp - 0xf4]
push edi
push eax
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_DrawTextA]
cmp byte [ebp - 1], 0
je 0x407f09
mov eax, dword [esi + 0x1c]
lea ecx, [eax*4 + 4]
cmp dword [esi + 0x64], ecx
jg 0x407f09
add dword [ebp - 0xc], 6
add dword [ebp - 8], 4
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0xc]
cdq
sub eax, edx
sar ecx, 1
mov edi, eax
mov eax, ecx
sar edi, 1
sub eax, edi
add edi, ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x20]
cdq
sub eax, edx
mov dword [ebp - 0x24], edi
mov esi, eax
mov eax, dword [ebp - 8]
cdq
sar esi, 1
sub eax, edx
mov edx, esi
sar eax, 1
sub edx, eax
add eax, esi
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x28], edx
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_DrawFocusRect]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x40c459
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
lea eax, [ebp - 8]
push edi
mov edi, ecx
push eax
push 0xa
push dword [edi + 4]
call fcn.00420e7d
mov ecx, dword [ebp + 8]
add esp, 0xc
push dword [ebp - 8]
call fcn.0041f0d0
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
xor ebx, ebx
mov dword [esi], eax
cmp byte [eax], bl
jne 0x40c49d
mov edi, dword [edi + 4]
push ebx
push ebx
mov ecx, 0x483110
jmp 0x40c66f
push eax
call fcn.00428750
cmp eax, 2
pop ecx
jb 0x40c665
mov ecx, dword [ebp - 8]
mov byte [ebp + 0xb], bl
mov al, byte [ecx]
mov byte [ebp - 3], 0x3a
mov byte [ebp - 4], al
mov eax, dword [esi]
mov byte [ebp - 2], 0x5c
mov byte [ebp - 1], bl
cmp byte [eax], 0x5c
jne 0x40c561
cmp byte [eax + 1], 0x5c
jne 0x40c561
mov byte [ebp + 0xb], 1
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov cl, byte [ebp + 0xb]
neg cl
sbb ecx, ecx
and ecx, 2
cmp ecx, eax
jge 0x40c5ec
mov esi, dword [ebp - 8]
mov dl, byte [ecx + esi]
cmp dl, 0x3a
jne 0x40c509
cmp ecx, 1
jne 0x40c5dd
cmp dl, 0x7c
je 0x40c5dd
cmp dl, 0x2a
je 0x40c5dd
cmp dl, 0x2f
je 0x40c5dd
cmp dl, 0x3e
je 0x40c5dd
cmp dl, 0x3c
je 0x40c5dd
cmp dl, 0x3f
je 0x40c5dd
cmp dl, 0x22
je 0x40c5dd
cmp ecx, ebx
jle 0x40c557
cmp dl, 0x5c
jne 0x40c557
cmp byte [ecx + esi - 1], dl
je 0x40c5ce
inc ecx
cmp ecx, eax
jl 0x40c4f8
jmp 0x40c5ec
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov ecx, dword [ebp - 8]
cmp byte [ecx + 1], 0x3a
jne 0x40c665
mov dl, byte [ecx + 2]
cmp dl, 0x5c
je 0x40c588
cmp dl, bl
jne 0x40c665
cmp eax, 1
jne 0x40c59c
mov edi, dword [edi + 4]
push ebx
push ebx
mov ecx, 0x483128
jmp 0x40c66f
cmp eax, 3
je 0x40c4dc
cmp eax, 4
je 0x40c4dc
cmp eax, 2
je 0x40c4dc
cmp eax, ebx
je 0x40c4dc
mov edi, dword [edi + 4]
push ebx
push ebx
mov ecx, 0x483134
jmp 0x40c66f
mov edi, dword [edi + 4]
push ebx
push ebx
mov ecx, 0x483140
jmp 0x40c66f
mov edi, dword [edi + 4]
push ebx
push ebx
mov ecx, 0x48314c
jmp 0x40c66f
cmp byte [ebp + 0xb], bl
jne 0x40c661
lea eax, [ebp - 4]
push 1
push eax
call fcn.0040f179
cmp edx, dword [0x482b14]
pop ecx
pop ecx
mov dword [0x482b08], eax
mov dword [0x482b0c], edx
ja 0x40c661
jb 0x40c61b
cmp eax, dword [0x482b10]
jae 0x40c661
lea ecx, [ebp - 0x14]
call fcn.0041ef2d
lea eax, [ebp - 4]
mov ecx, 0x483158
push eax
call fcn.0041fee9
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0041f625
mov edi, dword [edi + 4]
add esp, 0xc
lea ecx, [ebp - 0x14]
push ebx
push ebx
call fcn.0041fee9
push eax
push edi
mov ecx, 0x482408
call fcn.0041e217
lea ecx, [ebp - 0x14]
call fcn.0041f063
jmp 0x40c680
mov al, 1
jmp 0x40c682
mov edi, dword [edi + 4]
push ebx
push ebx
mov ecx, 0x48311c
call fcn.0041fee9
push eax
push edi
mov ecx, 0x482408
call fcn.0041e217
xor al, al
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x40c689
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x144]
push eax
call fcn.0041fee9
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp + 0xc], eax
je 0x40c757
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push edi
xor ebx, ebx
test byte [ebp - 0x144], 0x10
je 0x40c73c
cmp byte [ebp - 0x118], 0x2e
je 0x40c73c
cmp byte [ebp - 0x118], bl
je 0x40c73c
push ebx
push ebx
push 0x18b
push 0xb
push dword [ebp + 8]
call esi
xor edi, edi
cmp eax, ebx
mov dword [ebp - 4], eax
jle 0x40c728
lea eax, [ebp - 0x248]
mov byte [ebp - 0x248], bl
push eax
push edi
push 0x189
push 0xb
push dword [ebp + 8]
call esi
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x40c73c
inc edi
cmp edi, dword [ebp - 4]
jl 0x40c6f0
lea eax, [ebp - 0x118]
push eax
push ebx
push 0x180
push 0xb
push dword [ebp + 8]
call esi
lea eax, [ebp - 0x144]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40c6bf
pop edi
pop esi
pop ebx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindClose]
leave
ret 8
Function at 0x40eb0a
Capabilities:
Check if file exists
Create directory
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
and byte [ebp - 0x104], 0
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x104]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
pop edi
jne 0x40eb5f
lea eax, [ebp - 0x104]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
leave
ret

Function at 0x40eb61
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push esi
call edi
cmp eax, 0xffffffff
je 0x40eb7f
and al, 0xfe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call edi
inc eax
pop edi
neg eax
sbb eax, eax
pop esi
inc eax
ret

Function at 0x40eb92
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 8]
push esi
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
jne 0x40ebb0
or eax, 0xffffffff
jmp 0x40ec23
push edi
push esi
call fcn.00428bb9
mov edi, eax
pop ecx
test edi, edi
jne 0x40ebcf
mov ecx, 0x482e04
call fcn.0041fee9
push eax
call fcn.00420ba1
pop ecx
push edi
push esi
push dword [ebp - 8]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x40ebe4
push 0xfffffffffffffffd
jmp 0x40ec18
and dword [ebp - 4], 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x42fb94
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x40ec03
push 0xfffffffffffffffc
jmp 0x40ec18
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
push 1
mov ecx, dword [eax + 8]
mov dword [edx], ecx
mov ecx, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
mov dword [ecx], eax
pop esi
push edi
call fcn.00428bae
pop ecx
mov eax, esi
pop edi
pop esi
leave
ret
Function at 0x40ec26
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
lea eax, [ebp - 0x10]
push edi
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
xor edi, edi
cmp esi, edi
jne 0x40ec4a
or eax, 0xffffffff
jmp 0x40edc5
push ebx
push esi
call fcn.00428bb9
mov ebx, eax
pop ecx
cmp ebx, edi
mov dword [ebp - 0xc], ebx
jne 0x40ec6c
mov ecx, 0x482e04
call fcn.0041fee9
push eax
call fcn.00420ba1
pop ecx
push ebx
push esi
push dword [ebp - 0x10]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x40ec84
push 0xfffffffffffffffd
jmp 0x40edb8
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
push eax
lea eax, [ebp - 4]
push eax
push str.VarFileInfoTranslation
push ebx
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [ebp - 8]
mov bl, 3
test bl, al
jne 0x40edb6
cmp eax, edi
je 0x40edb6
shr eax, 2
test eax, eax
jle 0x40ed9c
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x40ecc8
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [eax], ecx
lea ecx, [ebp - 0x1c]
call fcn.0041ef2d
mov eax, dword [ebp - 4]
mov esi, 0x42fccc
movzx eax, word [eax]
push eax
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.0041f625
add esp, 0xc
test byte [ebp - 0x1c], bl
je 0x40ecfb
push edi
push 0x30
lea ecx, [ebp - 0x1c]
call fcn.0041fbbf
jmp 0x40ece9
push str.StringFileInfo_
lea ecx, [ebp - 0x28]
call fcn.0041ef9d
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x28]
push eax
call fcn.0041f283
push 0x432518
lea ecx, [ebp - 0x1c]
call fcn.0041f0d0
mov eax, dword [ebp - 4]
movzx eax, word [eax + 2]
push eax
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.0041f625
add esp, 0xc
test byte [ebp - 0x1c], bl
je 0x40ed48
push edi
push 0x30
lea ecx, [ebp - 0x1c]
call fcn.0041fbbf
jmp 0x40ed36
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x28]
push eax
call fcn.0041f283
push edi
push str.FileDescription
lea ecx, [ebp - 0x28]
call fcn.0041f205
lea eax, [ebp - 8]
lea ecx, [ebp - 0x28]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0041fee9
push eax
push dword [ebp - 0xc]
call sub.VERSION.dll_VerQueryValueA
mov ecx, dword [ebp + 0x10]
cmp ecx, edi
je 0x40ed8a
push dword [ebp + 8]
call fcn.0041f0d0
lea ecx, [ebp - 0x28]
call fcn.0041f063
lea ecx, [ebp - 0x1c]
call fcn.0041f063
jmp 0x40edb2
mov eax, dword [ebp + 0xc]
mov word [ebp + 8], di
cmp eax, edi
mov word [ebp + 0xa], 0x4b0
je 0x40edb2
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
push 1
jmp 0x40edb8
push 0xfffffffffffffffc
pop esi
push dword [ebp - 0xc]
call fcn.00428bae
pop ecx
mov eax, esi
pop ebx
pop edi
pop esi
leave
ret
Function at 0x40f27e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call fcn.0040ee28
test al, al
pop ecx
je 0x40f28f
xor al, al
ret
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov al, cl
ret

Function at 0x40f2a4
Capabilities:
Get common file path
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, 2
push edi
je 0x40f375
cmp esi, 7
je 0x40f375
cmp esi, 0x10
je 0x40f375
cmp esi, 0x14
je 0x40f375
cmp esi, 0xb
je 0x40f375
cmp esi, 5
je 0x40f375
cmp esi, 0x17
je 0x40f2ff
cmp esi, 0x18
je 0x40f2ff
cmp esi, 0x19
je 0x40f2ff
cmp esi, 0x16
jne 0x40f404
lea eax, [ebp + 8]
mov dword [ebp + 8], ebx
push eax
mov eax, dword [0x483760]
or eax, 0x20019
push eax
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40f404
cmp esi, 0x18
mov dword [ebp - 8], 0x104
mov eax, str.Common_Programs
jne 0x40f342
mov eax, str.Common_Startup
jmp 0x40f358
cmp esi, 0x19
jne 0x40f34e
mov eax, str.Common_Desktop
jmp 0x40f358
cmp esi, 0x16
jne 0x40f358
mov eax, str.Common_Start_Menu
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push ebx
push ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp + 8]
mov edi, eax
jmp 0x40f3fa
lea eax, [ebp + 8]
mov dword [ebp + 8], ebx
push eax
mov eax, dword [0x483760]
or eax, 0x20019
push eax
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40f404
cmp esi, 7
mov dword [ebp - 8], 0x104
mov eax, str.Programs
jne 0x40f3b4
mov eax, str.Startup
jmp 0x40f3e2
cmp esi, 0x10
jne 0x40f3c0
mov eax, str.Desktop
jmp 0x40f3e2
cmp esi, 0x14
jne 0x40f3cc
mov eax, str.Fonts
jmp 0x40f3e2
cmp esi, 0xb
jne 0x40f3d8
mov eax, str.Start_Menu
jmp 0x40f3e2
cmp esi, 5
jne 0x40f3e2
mov eax, str.Personal
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push ebx
push ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp + 8]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
je 0x40f440
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x40f444
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], ebx
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x40f440
push dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov al, 1
jmp 0x40f446
xor al, al
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40f6db
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
je 0x40f8a6
cmp dword [ebp + 0xc], ebx
je 0x40f8a6
cmp dword [ebp + 0x14], ebx
je 0x40f8a6
push dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call esi
add eax, 4
push eax
call fcn.00428bb9
mov edi, eax
pop ecx
cmp edi, ebx
jne 0x40f730
mov ecx, 0x482e04
call fcn.0041fee9
push eax
call fcn.00420ba1
pop ecx
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x42feec
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x148]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
push edi
mov dword [ebp - 4], eax
call fcn.00428bae
cmp dword [ebp - 4], 0xffffffff
pop ecx
jne 0x40f76b
push 0xfffffffffffffffd
jmp 0x40f889
mov ebx, dword [sym.imp.KERNEL32.dll_FindClose]
test byte [ebp - 0x148], 0x10
je 0x40f818
cmp byte [ebp - 0x11c], 0x2e
je 0x40f82c
push dword [ebp + 8]
call fcn.00428750
mov edi, eax
pop ecx
lea eax, [ebp - 0x11c]
push eax
call esi
lea eax, [edi + eax + 2]
push eax
call fcn.00428bb9
mov edi, eax
pop ecx
test edi, edi
jne 0x40f7c6
push dword [ebp - 4]
call ebx
mov ecx, 0x482e04
call fcn.0041fee9
push eax
call fcn.00420ba1
pop ecx
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x11c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push edi
call esi
cmp byte [eax + edi - 1], 0x5c
je 0x40f7f5
push 0x42fb94
push edi
call fcn.00429070
pop ecx
pop ecx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.0040f6db
push edi
mov dword [ebp - 8], eax
call fcn.00428bae
add esp, 0x14
cmp dword [ebp - 8], 0
jg 0x40f845
jmp 0x40f82c
push dword [ebp + 0xc]
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x40f84f
lea eax, [ebp - 0x148]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x40f88c
jmp 0x40f771
push dword [ebp - 4]
call ebx
mov eax, dword [ebp - 8]
jmp 0x40f8a9
push dword [ebp - 4]
call ebx
push dword [ebp + 8]
call esi
inc eax
push eax
call fcn.00428bb9
mov esi, eax
pop ecx
test esi, esi
jne 0x40f878
mov ecx, 0x482e04
call fcn.0041fee9
push eax
call fcn.00420ba1
pop ecx
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp + 0x14]
push 1
mov dword [eax], esi
pop eax
jmp 0x40f8a9
push dword [ebp - 4]
call ebx
mov esi, 0x482408
mov ecx, esi
call fcn.0041d06a
cmp eax, 1
je 0x40f896
xor eax, eax
jmp 0x40f8a9
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40f8ae
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
je 0x40f955
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x40f955
mov esi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push ebx
push ebx
mov dword [eax], ebx
call esi
mov edi, eax
cmp edi, ebx
jne 0x40f8e2
push 0xfffffffffffffffe
pop eax
jmp 0x40f958
push edi
call fcn.00428bb9
cmp eax, ebx
pop ecx
mov dword [ebp - 4], eax
jne 0x40f901
mov ecx, 0x482e04
call fcn.0041fee9
push eax
call fcn.00420ba1
pop ecx
push dword [ebp - 4]
push edi
call esi
test eax, eax
jne 0x40f91b
push 0xfffffffffffffffc
pop edi
push dword [ebp - 4]
call fcn.00428bae
pop ecx
mov eax, edi
jmp 0x40f958
mov esi, dword [ebp - 4]
xor edi, edi
cmp byte [esi], bl
je 0x40f90e
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x40f948
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call fcn.0040f6db
mov edi, eax
add esp, 0x10
cmp edi, ebx
jg 0x40f90e
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esi + eax + 1]
jmp 0x40f920
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret

Function at 0x410506
Capabilities:
Capture screenshot

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x10], 0
je 0x410516
call fcn.00411670
push dword [0x4825f8]
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
test eax, eax
mov dword [esi + 0x10], eax
jne 0x410544
push edi
push dword [0x4825f8]
call dword [sym.imp.USER32.dll_ReleaseDC]
or eax, 0xffffffff
jmp 0x4105bb
push dword [esi + 4]
push dword [esi]
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push edi
mov ebx, eax
push dword [0x4825f8]
call dword [sym.imp.USER32.dll_ReleaseDC]
test ebx, ebx
jne 0x410571
push dword [esi + 0x10]
call dword [sym.imp.GDI32.dll_DeleteDC]
push 0xfffffffffffffffe
pop eax
jmp 0x4105bb
push ebx
push dword [esi + 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
test eax, eax
jne 0x41058c
push dword [esi + 0x10]
call dword [sym.imp.GDI32.dll_DeleteDC]
push 0xfffffffffffffffd
jmp 0x4105b1
push 0xcc0020
push dword [esi + 0xc]
push dword [esi + 8]
push dword [0x482604]
push dword [esi + 4]
push dword [esi]
push 0
push 0
push dword [esi + 0x10]
call dword [sym.imp.GDI32.dll_BitBlt]
push 1
pop esi
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, esi
pop edi
pop esi
pop ebx
ret
Function at 0x41070a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
xor eax, eax
cmp byte [0x482594], al
je 0x4108d3
push ebx
push esi
push edi
push str.Times_New_Roman
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push 0x2bc
push 0x5a
push 0x5a
push eax
push 0x1e
call dword [sym.imp.GDI32.dll_CreateFontA]
push eax
mov dword [ebp - 4], eax
push dword [0x482604]
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, dword [sym.imp.GDI32.dll_SetTextColor]
push 0xa0a0a
push dword [0x482604]
call esi
push dword [0x4823b8]
mov ecx, 0x4823b8
call fcn.0041fee9
mov edi, dword [sym.imp.GDI32.dll_TextOutA]
push eax
push 0x6f
push 0xc
push dword [0x482604]
call edi
mov ebx, 0xff
push ebx
push dword [0x482604]
call esi
push dword [0x4823b8]
mov ecx, 0x4823b8
call fcn.0041fee9
push eax
push 0x6e
push 0xa
push dword [0x482604]
call edi
mov byte [ebp - 0x38], 0x61
mov byte [ebp - 0x37], 0x84
mov byte [ebp - 0x36], 0x6a
mov byte [ebp - 0x35], 0xb7
mov byte [ebp - 0x34], 0x15
mov byte [ebp - 0x33], 0x42
mov byte [ebp - 0x32], 0x6c
mov byte [ebp - 0x31], 0x9b
mov byte [ebp - 0x30], 0xbf
mov byte [ebp - 0x2f], 0x9e
mov byte [ebp - 0x2e], 0xf3
mov byte [ebp - 0x2d], 0x44
mov byte [ebp - 0x2c], 0x75
mov byte [ebp - 0x2b], 0xa2
mov byte [ebp - 0x2a], 0xbb
mov byte [ebp - 0x29], 0xf2
mov byte [ebp - 0x28], 0x1e
mov byte [ebp - 0x27], 0x43
mov byte [ebp - 0x26], 0x7c
mov byte [ebp - 0x25], 0x31
mov byte [ebp - 0x24], 0x94
mov byte [ebp - 0x23], 0xa
mov byte [ebp - 0x22], 5
mov byte [ebp - 0x21], 0x4d
mov byte [ebp - 0x20], 0x74
mov byte [ebp - 0x1f], 0x3a
mov byte [ebp - 0x1e], 0x1b
mov byte [ebp - 0x1d], 0x48
mov byte [ebp - 0x1c], 0x98
mov byte [ebp - 0x1b], 0x16
mov byte [ebp - 0x1a], 0x63
mov byte [ebp - 0x19], 0xb2
mov byte [ebp - 0x18], 0x9f
mov byte [ebp - 0x17], 0xf4
lea ecx, [ebp - 0x10]
mov byte [ebp - 0x16], 0x74
mov byte [ebp - 0x15], 0xb6
mov byte [ebp - 0x14], 4
mov byte [ebp - 0x13], 0x8f
mov byte [ebp - 0x12], 0xda
call fcn.0041ef2d
lea eax, [ebp - 0x38]
push 0x27
push eax
lea ecx, [ebp - 0x10]
call fcn.0041f205
lea ecx, [ebp - 0x10]
call fcn.0041f49e
lea ecx, [ebp - 0x10]
call fcn.0041f49e
push 0xa0a0a
push dword [0x482604]
call esi
push dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
call fcn.0041fee9
push eax
push 0x8d
push 0x13
push dword [0x482604]
call edi
push ebx
push dword [0x482604]
call esi
push dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
call fcn.0041fee9
push eax
push 0x8c
push 0x11
push dword [0x482604]
call edi
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [ebp - 0x10]
call fcn.0041f063
pop edi
pop esi
pop ebx
leave
ret