joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407a45
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 0x407a92
mov eax, dword [esi + 0x1c]
jmp 0x407ad5
cmp byte [ebp + 0xb], 0
je 0x407a9f
mov eax, dword [esi + 0x1c]
shl eax, 1
jmp 0x407ad5
mov ecx, dword [ebx + 0x10]
and ecx, 0x40
cmp cl, 0x40
jne 0x407abb
mov ecx, dword [esi + 0x1c]
lea edx, [ecx + ecx*2 + 3]
cmp dword [esi + 0x64], edx
jle 0x407abb
lea eax, [ecx + ecx*2]
jmp 0x407ad5
cmp byte [ebp - 1], 0
je 0x407ad5
mov ecx, dword [esi + 0x1c]
lea edx, [ecx*4 + 4]
cmp dword [esi + 0x64], edx
jle 0x407ad5
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 0x407bfc
push dword [ebx + 0x18]
call dword [sym.imp.GDI32.dll_SetBkMode]
cmp byte [ebp + 0xb], 0
je 0x407b3e
push 0xa0a0a0
jmp 0x407b41
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 0x407bfa
mov eax, dword [esi + 0x1c]
lea ecx, [eax*4 + 4]
cmp dword [esi + 0x64], ecx
jg 0x407bfa
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 0x40bd76
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.0041edae
mov ecx, dword [ebp + 8]
add esp, 0xc
push dword [ebp - 8]
call fcn.0041d075
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
xor ebx, ebx
mov dword [esi], eax
cmp byte [eax], bl
jne 0x40bdba
mov edi, dword [edi + 4]
push ebx
push ebx
mov ecx, 0x47fd40
jmp 0x40bf84
push eax
call fcn.00425c90
cmp eax, 2
pop ecx
jb 0x40bf7a
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 0x40be7e
cmp byte [eax + 1], 0x5c
jne 0x40be7e
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 0x40bf01
mov esi, dword [ebp - 8]
mov dl, byte [ecx + esi]
cmp dl, 0x3a
jne 0x40be26
cmp ecx, 1
jne 0x40bef2
cmp dl, 0x7c
je 0x40bef2
cmp dl, 0x2a
je 0x40bef2
cmp dl, 0x2f
je 0x40bef2
cmp dl, 0x3e
je 0x40bef2
cmp dl, 0x3c
je 0x40bef2
cmp dl, 0x3f
je 0x40bef2
cmp dl, 0x22
je 0x40bef2
cmp ecx, ebx
jle 0x40be74
cmp dl, 0x5c
jne 0x40be74
cmp byte [ecx + esi - 1], dl
je 0x40bee3
inc ecx
cmp ecx, eax
jl 0x40be15
jmp 0x40bf01
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov ecx, dword [ebp - 8]
cmp byte [ecx + 1], 0x3a
jne 0x40bf7a
mov dl, byte [ecx + 2]
cmp dl, 0x5c
je 0x40bea5
cmp dl, bl
jne 0x40bf7a
cmp eax, 1
jne 0x40beb9
mov edi, dword [edi + 4]
push ebx
push ebx
mov ecx, 0x47fd58
jmp 0x40bf84
cmp eax, 3
je 0x40bdf9
cmp eax, 4
je 0x40bdf9
cmp eax, 2
je 0x40bdf9
mov edi, dword [edi + 4]
push ebx
push ebx
mov ecx, 0x47fd64
jmp 0x40bf84
mov edi, dword [edi + 4]
push ebx
push ebx
mov ecx, 0x47fd70
jmp 0x40bf84
mov edi, dword [edi + 4]
push ebx
push ebx
mov ecx, 0x47fd7c
jmp 0x40bf84
cmp byte [ebp + 0xb], bl
jne 0x40bf76
lea eax, [ebp - 4]
push 1
push eax
call fcn.0040e90f
cmp edx, dword [0x47f754]
pop ecx
pop ecx
mov dword [0x47f748], eax
mov dword [0x47f74c], edx
ja 0x40bf76
jb 0x40bf30
cmp eax, dword [0x47f750]
jae 0x40bf76
lea ecx, [ebp - 0x14]
call fcn.0041cf28
lea eax, [ebp - 4]
mov ecx, 0x47fd88
push eax
call fcn.0041de81
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0041d5b5
mov edi, dword [edi + 4]
add esp, 0xc
lea ecx, [ebp - 0x14]
push ebx
push ebx
call fcn.0041de81
push eax
push edi
mov ecx, 0x47f0b8
call fcn.0041c428
lea ecx, [ebp - 0x14]
call fcn.0041d05e
jmp 0x40bf95
mov al, 1
jmp 0x40bf97
mov edi, dword [edi + 4]
push ebx
push ebx
mov ecx, 0x47fd4c
call fcn.0041de81
push eax
push edi
mov ecx, 0x47f0b8
call fcn.0041c428
xor al, al
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x40bf9e
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.0041de81
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp + 0xc], eax
je 0x40c06c
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push edi
xor ebx, ebx
test byte [ebp - 0x144], 0x10
je 0x40c051
cmp byte [ebp - 0x118], 0x2e
je 0x40c051
cmp byte [ebp - 0x118], bl
je 0x40c051
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 0x40c03d
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 0x40c051
inc edi
cmp edi, dword [ebp - 4]
jl 0x40c005
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 0x40bfd4
pop edi
pop esi
pop ebx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindClose]
leave
ret 8
Function at 0x40e2ca
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 0x40e31f
lea eax, [ebp - 0x104]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
leave
ret

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

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

Function at 0x40e345
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 0x40e363
or eax, 0xffffffff
jmp 0x40e3d6
push edi
push esi
call fcn.004260f9
mov edi, eax
pop ecx
test edi, edi
jne 0x40e382
mov ecx, 0x47fa34
call fcn.0041de81
push eax
call fcn.0041ea8b
pop ecx
push edi
push esi
push dword [ebp - 8]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x40e397
push 0xfffffffffffffffd
jmp 0x40e3cb
and dword [ebp - 4], 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x42cc78
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x40e3b6
push 0xfffffffffffffffc
jmp 0x40e3cb
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.004260ee
pop ecx
mov eax, esi
pop edi
pop esi
leave
ret
Function at 0x40e3d9
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 0x40e3fd
or eax, 0xffffffff
jmp 0x40e578
push ebx
push esi
call fcn.004260f9
mov ebx, eax
pop ecx
cmp ebx, edi
mov dword [ebp - 0xc], ebx
jne 0x40e41f
mov ecx, 0x47fa34
call fcn.0041de81
push eax
call fcn.0041ea8b
pop ecx
push ebx
push esi
push dword [ebp - 0x10]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x40e437
push 0xfffffffffffffffd
jmp 0x40e56b
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 0x40e569
cmp eax, edi
je 0x40e569
shr eax, 2
test eax, eax
jle 0x40e54f
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x40e47b
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [eax], ecx
lea ecx, [ebp - 0x1c]
call fcn.0041cf28
mov eax, dword [ebp - 4]
mov esi, 0x42cdb8
movzx eax, word [eax]
push eax
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.0041d5b5
add esp, 0xc
test byte [ebp - 0x1c], bl
je 0x40e4ae
push edi
push 0x30
lea ecx, [ebp - 0x1c]
call fcn.0041db64
jmp 0x40e49c
push str.StringFileInfo_
lea ecx, [ebp - 0x28]
call fcn.0041cf98
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x28]
push eax
call fcn.0041d213
push 0x42f1c8
lea ecx, [ebp - 0x1c]
call fcn.0041d075
mov eax, dword [ebp - 4]
movzx eax, word [eax + 2]
push eax
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.0041d5b5
add esp, 0xc
test byte [ebp - 0x1c], bl
je 0x40e4fb
push edi
push 0x30
lea ecx, [ebp - 0x1c]
call fcn.0041db64
jmp 0x40e4e9
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x28]
push eax
call fcn.0041d213
push edi
push str.FileDescription
lea ecx, [ebp - 0x28]
call fcn.0041d195
lea eax, [ebp - 8]
lea ecx, [ebp - 0x28]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0041de81
push eax
push dword [ebp - 0xc]
call sub.VERSION.dll_VerQueryValueA
mov ecx, dword [ebp + 0x10]
cmp ecx, edi
je 0x40e53d
push dword [ebp + 8]
call fcn.0041d075
lea ecx, [ebp - 0x28]
call fcn.0041d05e
lea ecx, [ebp - 0x1c]
call fcn.0041d05e
jmp 0x40e565
mov eax, dword [ebp + 0xc]
mov word [ebp + 8], di
cmp eax, edi
mov word [ebp + 0xa], 0x4b0
je 0x40e565
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
push 1
jmp 0x40e56b
push 0xfffffffffffffffc
pop esi
push dword [ebp - 0xc]
call fcn.004260ee
pop ecx
mov eax, esi
pop ebx
pop edi
pop esi
leave
ret
Function at 0x40ea14
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call fcn.0040e5db
test al, al
pop ecx
je 0x40ea25
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 0x40ea3a
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 0x40eb02
cmp esi, 7
je 0x40eb02
cmp esi, 0x10
je 0x40eb02
cmp esi, 0x14
je 0x40eb02
cmp esi, 0xb
je 0x40eb02
cmp esi, 5
je 0x40eb02
cmp esi, 0x17
je 0x40ea95
cmp esi, 0x18
je 0x40ea95
cmp esi, 0x19
je 0x40ea95
cmp esi, 0x16
jne 0x40eb8b
lea eax, [ebp + 8]
mov dword [ebp + 8], ebx
push eax
push 0x20019
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40eb8b
cmp esi, 0x18
mov dword [ebp - 8], 0x104
mov eax, str.Common_Programs
jne 0x40ead2
mov eax, str.Common_Startup
jmp 0x40eae8
cmp esi, 0x19
jne 0x40eade
mov eax, str.Common_Desktop
jmp 0x40eae8
cmp esi, 0x16
jne 0x40eae8
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 0x40eb81
lea eax, [ebp + 8]
mov dword [ebp + 8], ebx
push eax
push 0x20019
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40eb8b
cmp esi, 7
mov dword [ebp - 8], 0x104
mov eax, str.Programs
jne 0x40eb3b
mov eax, str.Startup
jmp 0x40eb69
cmp esi, 0x10
jne 0x40eb47
mov eax, str.Desktop
jmp 0x40eb69
cmp esi, 0x14
jne 0x40eb53
mov eax, str.Fonts
jmp 0x40eb69
cmp esi, 0xb
jne 0x40eb5f
mov eax, str.Start_Menu
jmp 0x40eb69
cmp esi, 5
jne 0x40eb69
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 0x40ebc7
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 0x40ebcb
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 0x40ebc7
push dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov al, 1
jmp 0x40ebcd
xor al, al
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40edb4
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 0x40ef7f
cmp dword [ebp + 0xc], ebx
je 0x40ef7f
cmp dword [ebp + 0x14], ebx
je 0x40ef7f
push dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call esi
add eax, 4
push eax
call fcn.004260f9
mov edi, eax
pop ecx
cmp edi, ebx
jne 0x40ee09
mov ecx, 0x47fa34
call fcn.0041de81
push eax
call fcn.0041ea8b
pop ecx
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x42cfc8
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.004260ee
cmp dword [ebp - 4], 0xffffffff
pop ecx
jne 0x40ee44
push 0xfffffffffffffffd
jmp 0x40ef62
mov ebx, dword [sym.imp.KERNEL32.dll_FindClose]
test byte [ebp - 0x148], 0x10
je 0x40eef1
cmp byte [ebp - 0x11c], 0x2e
je 0x40ef05
push dword [ebp + 8]
call fcn.00425c90
mov edi, eax
pop ecx
lea eax, [ebp - 0x11c]
push eax
call esi
lea eax, [edi + eax + 2]
push eax
call fcn.004260f9
mov edi, eax
pop ecx
test edi, edi
jne 0x40ee9f
push dword [ebp - 4]
call ebx
mov ecx, 0x47fa34
call fcn.0041de81
push eax
call fcn.0041ea8b
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 0x40eece
push 0x42cc78
push edi
call fcn.004263b0
pop ecx
pop ecx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.0040edb4
push edi
mov dword [ebp - 8], eax
call fcn.004260ee
add esp, 0x14
cmp dword [ebp - 8], 0
jg 0x40ef1e
jmp 0x40ef05
push dword [ebp + 0xc]
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x40ef28
lea eax, [ebp - 0x148]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x40ef65
jmp 0x40ee4a
push dword [ebp - 4]
call ebx
mov eax, dword [ebp - 8]
jmp 0x40ef82
push dword [ebp - 4]
call ebx
push dword [ebp + 8]
call esi
inc eax
push eax
call fcn.004260f9
mov esi, eax
pop ecx
test esi, esi
jne 0x40ef51
mov ecx, 0x47fa34
call fcn.0041de81
push eax
call fcn.0041ea8b
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 0x40ef82
push dword [ebp - 4]
call ebx
mov esi, 0x47f0b8
mov ecx, esi
call fcn.0041b346
cmp eax, 1
je 0x40ef6f
xor eax, eax
jmp 0x40ef82
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40ef87
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 0x40f02e
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x40f02e
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 0x40efbb
push 0xfffffffffffffffe
pop eax
jmp 0x40f031
push edi
call fcn.004260f9
cmp eax, ebx
pop ecx
mov dword [ebp - 4], eax
jne 0x40efda
mov ecx, 0x47fa34
call fcn.0041de81
push eax
call fcn.0041ea8b
pop ecx
push dword [ebp - 4]
push edi
call esi
test eax, eax
jne 0x40eff4
push 0xfffffffffffffffc
pop edi
push dword [ebp - 4]
call fcn.004260ee
pop ecx
mov eax, edi
jmp 0x40f031
mov esi, dword [ebp - 4]
xor edi, edi
cmp byte [esi], bl
je 0x40efe7
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x40f021
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call fcn.0040edb4
mov edi, eax
add esp, 0x10
cmp edi, ebx
jg 0x40efe7
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esi + eax + 1]
jmp 0x40eff9
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40f879
Capabilities:
Capture screenshot

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x10], 0
je 0x40f889
call fcn.004107f2
push dword [0x47f278]
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 0x40f8b7
push edi
push dword [0x47f278]
call dword [sym.imp.USER32.dll_ReleaseDC]
or eax, 0xffffffff
jmp 0x40f92e
push dword [esi + 4]
push dword [esi]
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push edi
mov ebx, eax
push dword [0x47f278]
call dword [sym.imp.USER32.dll_ReleaseDC]
test ebx, ebx
jne 0x40f8e4
push dword [esi + 0x10]
call dword [sym.imp.GDI32.dll_DeleteDC]
push 0xfffffffffffffffe
pop eax
jmp 0x40f92e
push ebx
push dword [esi + 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
test eax, eax
jne 0x40f8ff
push dword [esi + 0x10]
call dword [sym.imp.GDI32.dll_DeleteDC]
push 0xfffffffffffffffd
jmp 0x40f924
push 0xcc0020
push dword [esi + 0xc]
push dword [esi + 8]
push dword [0x47f284]
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 0x40fa7d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
xor eax, eax
cmp byte [0x47f214], al
je 0x40fc46
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 [0x47f284]
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, dword [sym.imp.GDI32.dll_SetTextColor]
push 0xa0a0a
push dword [0x47f284]
call esi
push dword [0x47f068]
mov ecx, 0x47f068
call fcn.0041de81
mov edi, dword [sym.imp.GDI32.dll_TextOutA]
push eax
push 0x6f
push 0xc
push dword [0x47f284]
call edi
mov ebx, 0xff
push ebx
push dword [0x47f284]
call esi
push dword [0x47f068]
mov ecx, 0x47f068
call fcn.0041de81
push eax
push 0x6e
push 0xa
push dword [0x47f284]
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.0041cf28
lea eax, [ebp - 0x38]
push 0x27
push eax
lea ecx, [ebp - 0x10]
call fcn.0041d195
lea ecx, [ebp - 0x10]
call fcn.0041d42e
lea ecx, [ebp - 0x10]
call fcn.0041d42e
push 0xa0a0a
push dword [0x47f284]
call esi
push dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
call fcn.0041de81
push eax
push 0x8d
push 0x13
push dword [0x47f284]
call edi
push ebx
push dword [0x47f284]
call esi
push dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
call fcn.0041de81
push eax
push 0x8c
push 0x11
push dword [0x47f284]
call edi
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [ebp - 0x10]
call fcn.0041d05e
pop edi
pop esi
pop ebx
leave
ret