joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410540
Capabilities:
Read file on windows
Timestomp file
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x10
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 0
push 3
push 0
push 3
push 0x80000000
push eax
call esi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x410570
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret
mov ecx, dword [esp + 0x20]
push ebp
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push ecx
call esi
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x41059e
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret
push edi
push 0x10000
call fcn.0041db4b
mov edi, eax
add esp, 4
test edi, edi
jne 0x4105c8
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call esi
push ebp
call esi
pop edi
pop ebp
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret
push 0
lea edx, [esp + 0x14]
push edx
push 0x10000
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
test esi, esi
je 0x41062d
mov eax, dword [esp + 0x10]
test eax, eax
je 0x410624
push 0
lea ecx, [esp + 0x18]
push ecx
push eax
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41062b
mov edx, dword [esp + 0x10]
cmp edx, dword [esp + 0x14]
jne 0x41062b
push 0
lea eax, [esp + 0x14]
push eax
push 0x10000
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
test esi, esi
jne 0x4105e2
jmp 0x41062d
mov esi, 1
jmp 0x41062d
xor esi, esi
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
lea edx, [esp + 0x18]
push edx
push 0
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
push ebp
call ebx
push edi
call fcn.0041d905
add esp, 4
pop edi
xor eax, eax
pop ebp
test esi, esi
pop esi
setne al
pop ebx
add esp, 0x10
ret

Function at 0x410810
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x34
push edi
xor eax, eax
lea edx, [esp + 4]
push edx
mov ecx, 0xd
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
push 0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x44]
push 0x104d
push eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 0
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
add esp, 0x34
ret

Function at 0x410860
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x34
mov edx, dword [esp + 0x40]
push edi
xor eax, eax
mov ecx, 0xd
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x18], eax
lea eax, [esp + 4]
push eax
push 0
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x44]
push 0x1006
push ecx
mov dword [esp + 0x14], 1
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
add esp, 0x34
ret
Function at 0x4108b0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x34
mov edx, dword [esp + 0x40]
push edi
xor eax, eax
mov ecx, 0xd
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x18], eax
lea eax, [esp + 4]
push eax
push 0
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x44]
push 0x104c
push ecx
mov dword [esp + 0x14], 1
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
add esp, 0x34
ret

Function at 0x410980
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
push ebp
push 0
push 0
push 3
push 0
push 0
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x4109a6
xor eax, eax
pop ebp
ret
push ebx
push esi
push edi
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, dword [esp + 0x18]
mov dword [ebx], eax
inc eax
push eax
call fcn.0041db4b
mov ecx, dword [ebx]
add esp, 4
inc ecx
mov edx, ecx
mov esi, eax
shr ecx, 2
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
test esi, esi
rep stosb byte es:[edi], al
je 0x4109eb
mov eax, dword [ebx]
push 0
push ebx
push eax
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret

Function at 0x410c60
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x104
mov eax, dword [0x4527b8]
mov dword [esp + 0x100], eax
push 0x43fb8c
lea eax, [esp + 4]
push str.http:__www.truecrypt.org_applink.php_version_sdesthelp
push eax
call fcn.0041d3d4
add esp, 0xc
push 1
push 0
push 0
lea ecx, [esp + 0xc]
push ecx
push 0x43ed8c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [esp + 0x100]
call fcn.0041d4a3
add esp, 0x104
ret

Function at 0x410d50
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4527b8]
push ebx
mov ebx, dword [esp + 0x214]
mov dword [esp + 0x20c], eax
cmp byte [ebx], 0x5c
je 0x410e21
push 0x3a
push ebx
call fcn.0041d680
add esp, 8
test eax, eax
jne 0x410e21
push 0x4402a0
push ebx
call fcn.0041e4f0
add esp, 8
cmp eax, ebx
je 0x410e21
lea eax, [esp + 4]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [esp + 4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x410db3
sub eax, edx
cmp byte [esp + eax + 3], 0x5c
push esi
push edi
je 0x410de2
lea edi, [esp + 0xc]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x410dd0
mov cx, word [0x43eff0]
mov word [edi], cx
mov eax, ebx
mov edx, ebx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x410de6
lea edi, [esp + 0xc]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x410df4
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
push 0x103
lea edx, [esp + 0x10]
mov ecx, eax
push edx
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call fcn.0041d980
add esp, 0xc
pop edi
pop esi
mov ecx, dword [esp + 0x20c]
mov eax, ebx
pop ebx
call fcn.0041d4a3
add esp, 0x20c
ret
Function at 0x410e40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea eax, [esp]
push eax
push 0x20019
push 0
push str.SYSTEMControlSet001ServicesMountMgr
push 0x80000002
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x410eb9
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 8]
push edx
push eax
push eax
mov eax, dword [esp + 0x10]
push str.NoAutoMount
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x410eaf
mov eax, dword [esp + 4]
test eax, eax
je 0x410eaf
push str.SYS_AUTOMOUNT_DISABLED
call fcn.00410a40
add esp, 4
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0xc
ret
Function at 0x412700
Capabilities:
Create service
Delete service
Start service

Disassembly:
sub esp, 0x34c
mov eax, dword [0x4527b8]
push esi
mov dword [esp + 0x34c], eax
push 0x208
lea eax, [esp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 4]
push 0x5c
push ecx
call fcn.0041d640
mov esi, eax
add esp, 8
test esi, esi
jne 0x412745
mov word [esp + 4], 0x2e
lea esi, [esp + 5]
call fcn.00410d00
test eax, eax
mov edx, str._siantcrypt.sys
je 0x412758
mov edx, str._siantcrypt_x64.sys
mov ecx, esi
lea ebx, [ebx]
mov al, byte [edx]
inc edx
mov byte [ecx], al
inc ecx
test al, al
jne 0x412760
lea edx, [esp + 0x20c]
push edx
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x4127ba
mov ecx, dword [0x466b78]
push 0x10
push ecx
push str.DRIVER_NOT_FOUND
call fcn.00417ce0
add esp, 4
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, 0x64
pop esi
mov ecx, dword [esp + 0x348]
call fcn.0041d4a3
add esp, 0x34c
ret
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
jne 0x41281a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x412852
mov edx, dword [0x466b78]
push 0x10
push edx
push str.ADMIN_PRIVILEGES_DRIVER
call fcn.00417ce0
add esp, 4
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
mov eax, 0x64
pop esi
mov ecx, dword [esp + 0x348]
call fcn.0041d4a3
add esp, 0x34c
ret
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x1c]
push eax
push 1
push 3
push 1
push 0xf01ff
push str.siantcrypt
push str.siantcrypt
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov esi, eax
test esi, esi
jne 0x41286c
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x348]
call fcn.0041d4a3
add esp, 0x34c
ret
push ebx
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
push esi
mov ebx, eax
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
push esi
call edi
mov ecx, dword [esp + 0x354]
xor eax, eax
test ebx, ebx
pop ebx
pop edi
sete al
pop esi
call fcn.0041d4a3
add esp, 0x34c
ret
Function at 0x4128b0
Capabilities:
Query service status
Stop service

Disassembly:
mov eax, 0x3698
call fcn.0041ddb0
mov eax, dword [0x4506d8]
cmp eax, 0xffffffff
je 0x4129e2
push 0
lea ecx, [esp + 8]
push ecx
push 0x3674
lea edx, [esp + 0x30]
push edx
push 0x3674
mov ecx, edx
push ecx
push 0x72004
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4129e2
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4129d9
call fcn.00410940
cmp eax, 1
jg 0x4129d9
mov edx, dword [0x4506d8]
push edi
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
mov dword [esp + 4], edi
je 0x4129ba
push esi
push 0xf01ff
push str.siantcrypt
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
je 0x4129b2
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
lea eax, [esp + 0x14]
push eax
push esi
call ebp
cmp eax, 1
jne 0x4129aa
cmp dword [esp + 0x18], 1
je 0x4129aa
push ebx
lea ecx, [esp + 0x18]
push ecx
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
lea edx, [esp + 0x18]
push edx
push esi
call ebp
cmp eax, 1
jne 0x4129a5
cmp dword [esp + 0x1c], 1
je 0x4129a5
push 0xc8
call ebx
inc edi
cmp edi, 5
jl 0x412984
mov edi, dword [esp + 0x10]
pop ebx
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop ebp
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
mov ecx, dword [esp + 0x10]
mov eax, 1
cmp ecx, eax
pop edi
jne 0x4129d9
mov dword [0x4506d8], 0xffffffff
add esp, 0x3698
ret
xor eax, eax
add esp, 0x3698
ret
mov eax, 1
add esp, 0x3698
ret
Function at 0x4139c0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x248
mov eax, dword [0x4527b8]
mov dword [esp + 0x244], eax
cmp dword [0x4506f4], 0xffffffff
jne 0x413a90
call fcn.00410d00
test eax, eax
push 0x104
jne 0x4139fa
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
jmp 0x413a05
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
call fcn.00410d00
test eax, eax
mov eax, str.Drivers_siantcrypt.sys
je 0x413a18
mov eax, str.SysWOW64Drivers_siantcrypt.sys
mov edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x413a20
push esi
push edi
lea edi, [esp + 8]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x413a30
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x10c]
push edx
lea eax, [esp + 0xc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
pop edi
pop esi
jne 0x413a7f
mov eax, 1
mov dword [0x4506f4], eax
mov ecx, dword [esp + 0x244]
call fcn.0041d4a3
add esp, 0x248
ret
push eax
mov dword [0x4506f4], 0
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [0x4506f4]
xor eax, eax
cmp ecx, 1
mov ecx, dword [esp + 0x244]
sete al
call fcn.0041d4a3
add esp, 0x248
ret

Function at 0x413ac0
Capabilities:
Create directory
Get common file path

Disassembly:
push esi
push edi
call fcn.004139c0
test eax, eax
jne 0x413b3b
push 0x466bb8
push eax
push eax
push 0x801a
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov edi, 0x466bb8
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x413ae4
mov eax, dword [str.SiantCrypt_]
mov ecx, dword [0x440d50]
mov edx, dword [0x440d54]
mov dword [edi], eax
mov al, byte [0x440d58]
mov dword [edi + 4], ecx
push 0
mov dword [edi + 8], edx
push 0x466bb8
mov byte [edi + 0xc], al
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [esp + 0xc]
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x413b20
mov edi, 0x466bb8
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x413b31
jmp 0x413b7f
push 0x208
push 0x466bb8
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
push 0x466bb8
call fcn.0041d640
mov byte [eax + 1], 0
mov eax, dword [esp + 0x14]
add esp, 8
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x413b66
mov edi, 0x466bb8
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x413b77
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
mov eax, 0x466bb8
pop esi
ret
Function at 0x413e50
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 1
push 0
push 0
push 0x469460
push 0x43ed8c
push 0
call esi
cmp eax, 2
jne 0x413e89
push 1
push 0
push 0
push 0x46c780
push 0x43ed8c
push 0
call esi
cmp eax, 2
je 0x413ec2
cmp eax, 0x1f
jne 0x413ec8
mov eax, dword [0x466b7c]
test eax, eax
jne 0x413ec8
mov eax, dword [0x466b78]
push 0x50024
push eax
push str.HELP_READER_ERROR
call fcn.00417ce0
mov ecx, dword [0x466b74]
add esp, 4
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x413ec8
pop esi
jmp fcn.00410c60
pop esi
ret

Function at 0x414170
Capabilities:
Get common file path
Set current directory

Disassembly:
sub esp, 0x108
mov eax, dword [0x4527b8]
mov dword [esp + 0x104], eax
call fcn.004139c0
test eax, eax
jne 0x4141a1
lea eax, [esp]
push eax
push 0
push 0
push 0x28
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
je 0x4141c5
push 0x104
lea edx, [esp + 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp]
push 0x5c
push eax
call fcn.0041d640
add esp, 8
mov byte [eax + 1], 0
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ecx, dword [esp + 0x104]
call fcn.0041d4a3
add esp, 0x108
ret
Function at 0x4141f0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa70
mov eax, dword [0x4527b8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov dword [esp + 0xa74], eax
xor eax, eax
mov word [esp + 0x68], 0
mov ecx, 0x81
lea edi, [esp + 0x6a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
xor eax, eax
push 0
mov ecx, 0x16
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov byte [esi], al
mov eax, dword [ebp + 8]
push 0
push str.TC_VOLUMES
mov dword [esp + 0x20], 0x58
mov dword [esp + 0x24], eax
call fcn.00417ce0
add esp, 4
push eax
push 0
push 0
push str.ALL_FILES
call fcn.00417ce0
add esp, 4
push eax
lea ecx, [esp + 0x28c]
push str._ls__.__c._c_ls__.tc__c.tc_c_c
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0x294]
lea eax, [esp + 0x8c]
push ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x50], 1
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0x104
call fcn.00417ce0
mov edi, dword [ebp + 0x14]
xor edx, edx
add esp, 0x28
test edi, edi
setne dl
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x18]
mov ecx, eax
dec edx
and edx, 0x2000000
neg ecx
sbb ecx, ecx
and ecx, 2
or edx, ecx
or edx, 0x804
test eax, eax
mov dword [esp + 0x44], edx
jne 0x4142fe
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.comdlg32.dll_GetOpenFileNameW]
test eax, eax
jne 0x41431f
mov ecx, dword [esp + 0xa74]
call fcn.0041d4a3
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.comdlg32.dll_GetSaveFileNameW]
test eax, eax
jne 0x41431f
mov ecx, dword [esp + 0xa74]
call fcn.0041d4a3
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test edi, edi
jne 0x414328
call fcn.004106e0
push 0
push 0
push 0x104
push esi
push 0xffffffffffffffff
lea ecx, [esp + 0x7c]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test edi, edi
mov al, 0x3a
je 0x41434e
cmp byte [esi + 1], al
jne 0x41437b
test edi, edi
mov dl, byte [esi]
mov byte [esp + 0xc], dl
mov byte [esp + 0xd], al
mov byte [esp + 0xe], 0x5c
mov byte [esp + 0xf], 0
je 0x414376
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
jne 0x41437b
call fcn.00414170
mov ecx, dword [esp + 0xa74]
mov eax, 1
call fcn.0041d4a3
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4143a0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa6c
mov eax, dword [0x4527b8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov dword [esp + 0xa74], eax
xor ebx, ebx
xor eax, eax
mov word [esp + 0x68], bx
mov ecx, 0x81
lea edi, [esp + 0x6a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
xor eax, eax
push ebx
mov ecx, 0x16
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov byte [esi], al
mov eax, dword [ebp + 8]
push ebx
push str.TC_VOLUMES
mov dword [esp + 0x20], 0x58
mov dword [esp + 0x24], eax
call fcn.00417ce0
add esp, 4
push eax
push ebx
push ebx
push str.ALL_FILES
call fcn.00417ce0
add esp, 4
push eax
lea ecx, [esp + 0x28c]
push str._ls__.__c._c_ls__.tc__c.tc_c_c
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0x294]
lea eax, [esp + 0x8c]
push ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x50], 1
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0x104
call fcn.00417ce0
mov edi, dword [ebp + 0x14]
xor edx, edx
add esp, 0x28
cmp edi, ebx
setne dl
mov dword [esp + 0x40], eax
lea eax, [esp + 0x10]
push eax
dec edx
and edx, 0x2000000
or edx, 0x80a04
mov dword [esp + 0x48], edx
call dword [sym.imp.comdlg32.dll_GetOpenFileNameW]
test eax, eax
jne 0x414499
mov ecx, dword [esp + 0xa74]
call fcn.0041d4a3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, ebx
jne 0x4144a2
call fcn.004106e0
movzx ecx, word [esp + 0x48]
cmp word [esp + ecx*2 + 0x66], bx
push ebx
push ebx
push 0x104
je 0x4144cd
push esi
push 0xffffffffffffffff
lea edx, [esp + 0x7c]
push edx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [0x466748], ebx
jmp 0x41452a
mov edi, 0x466500
push edi
push 0xffffffffffffffff
lea esi, [esp + 0x7c]
mov eax, esi
push eax
push ebx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
call ebx
cmp eax, 1
jle 0x41450d
jmp 0x4144f0
push 0
push 0
push 0x104
add edi, eax
push edi
push 0xffffffffffffffff
lea esi, [esi + eax*2]
push esi
push 0
push 0
call ebx
cmp eax, 1
jg 0x4144f0
movzx ecx, word [esp + 0x48]
mov edx, dword [ebp + 0x10]
push edx
mov dword [0x466748], ecx
call fcn.0040e800
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
add esp, 4
test edi, edi
mov al, 0x3a
je 0x414535
cmp byte [esi + 1], al
jne 0x414562
test edi, edi
mov cl, byte [esi]
mov byte [esp + 0xc], cl
mov byte [esp + 0xd], al
mov byte [esp + 0xe], 0x5c
mov byte [esp + 0xf], 0
je 0x41455d
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
jne 0x414562
call fcn.00414170
mov ecx, dword [esp + 0xa74]
mov eax, 1
call fcn.0041d4a3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x415de0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
shr esi, 2
test esi, esi
je 0x415e1c
mov edx, dword [esp + 8]
push edi
mov ecx, dword [edx]
mov eax, ecx
mov edi, ecx
shr eax, 8
shl edi, 8
xor eax, edi
shl ecx, 8
and eax, 0xff00ff
xor eax, ecx
mov ecx, eax
shr ecx, 0x10
shl eax, 0x10
or ecx, eax
mov dword [edx], ecx
add edx, 4
dec esi
jne 0x415df1
pop edi
pop esi
ret
Function at 0x417110
Capabilities:
Hash data with crc32
Timestomp file

Disassembly:
mov eax, 0x1002c
call fcn.0041ddb0
mov eax, dword [0x4527b8]
push ebx
push ebp
mov ebp, dword [esp + 0x10038]
mov dword [esp + 0x10030], eax
mov eax, dword [esp + 0x1003c]
push esi
xor esi, esi
or ebx, 0xffffffff
cmp eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
je 0x417195
push esi
push esi
push 3
push esi
push 3
push 0xc0000000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
je 0x417195
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x2c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x417188
mov dword [esp + 0x14], 1
jmp 0x417195
push str.GETFILETIME_FAILED_KEYFILE
call fcn.00410a40
add esp, 4
push 0x441824
push ebp
call fcn.0041d61e
mov ebp, eax
add esp, 8
test ebp, ebp
mov dword [esp + 0xc], ebp
jne 0x4171c3
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10028]
call fcn.0041d4a3
add esp, 0x1002c
ret
push ebp
push 0x10000
lea edx, [esp + 0x3c]
push 1
push edx
call fcn.0041f582
add esp, 0x10
test eax, eax
jbe 0x41727f
xor ebp, ebp
test eax, eax
jbe 0x41725a
mov ecx, ebx
shr ecx, 8
jmp 0x4171f0
xor edx, edx
mov dl, byte [esp + ebp + 0x34]
xor edx, ebx
and edx, 0xff
mov ebx, dword [edx*4 + 0x450068]
mov dl, byte [esi + edi]
xor ebx, ecx
mov ecx, ebx
shr ecx, 0x18
add dl, cl
mov byte [esi + edi], dl
mov cl, byte [esi + edi + 1]
inc esi
mov edx, ebx
shr edx, 0x10
add cl, dl
mov byte [esi + edi], cl
mov dl, byte [esi + edi + 1]
inc esi
mov ecx, ebx
shr ecx, 8
add dl, cl
mov byte [esi + edi], dl
mov dl, byte [esi + edi + 1]
inc esi
add dl, bl
mov byte [esi + edi], dl
inc esi
cmp esi, 0x40
jl 0x417244
xor esi, esi
mov edx, dword [esp + 0x10]
inc edx
cmp edx, 0x100000
mov dword [esp + 0x10], edx
jae 0x41727b
inc ebp
cmp ebp, eax
jb 0x4171f0
mov eax, dword [esp + 0xc]
push eax
push 0x10000
lea ecx, [esp + 0x3c]
push 1
push ecx
call fcn.0041f582
add esp, 0x10
test eax, eax
ja 0x4171e0
mov ebp, dword [esp + 0xc]
push ebp
call fcn.0041d513
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
je 0x4172c2
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x4172bb
push str.SETFILETIME_FAILED_KEYFILE
call fcn.00410a40
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x10034]
pop esi
pop ebp
mov eax, 1
pop ebx
call fcn.0041d4a3
add esp, 0x1002c
ret
Function at 0x417570
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 0x13aa
push edi
mov esi, eax
xor ebx, ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push ebx
push ebx
mov ebp, eax
push 0x1009
push ebp
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push 0x13b8
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
test esi, esi
setne al
push eax
push 0x13b9
push edi
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esp + 0x10]
push eax
push 0x13ba
push edi
call fcn.00410680
add esp, 0xc
test esi, esi
je 0x417625
xor eax, eax
mov ecx, 0xd
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
push ecx
push eax
push 0x1007
mov dword [esp + 0x24], ebx
push ebp
mov dword [esp + 0x24], 5
inc ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x44], esi
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [esi + 0x104]
test esi, esi
jne 0x4175e3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret