joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44e746
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0x270
mov eax, 0x4dccf8
call fcn.004b5257
mov edi, dword [ebp + 8]
xor esi, esi
cmp edi, esi
jne 0x44e766
xor eax, eax
call fcn.004b52da
ret
cmp word [edi], si
je 0x44e75e
push edi
call fcn.004b5d07
cmp eax, 0x104
pop ecx
jge 0x44e75e
push edi
lea ecx, [ebp - 0x264]
call fcn.0044bc85
mov dword [ebp - 4], esi
push str..
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.00445250
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x264]
call fcn.0040d610
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x44e7d9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x268]
call fcn.0040d610
mov eax, esi
jmp 0x44e760
mov esi, 0x4f8b70
cmp word [ebp - 0x234], 0x2e
je 0x44e8dd
test byte [ebp - 0x260], 0x10
push edi
je 0x44e867
lea ecx, [ebp - 0x26c]
call fcn.0044bc85
mov byte [ebp - 4], 3
push esi
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.00445250
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x234]
push ecx
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.00445250
mov byte [ebp - 4], 5
mov eax, dword [eax]
push dword [ebp + 0xc]
push eax
call fcn.0044e746
add esp, 0x20
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x264]
call fcn.0040d610
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x27c]
call fcn.0040d610
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x26c]
jmp 0x44e8d8
lea ecx, [ebp - 0x274]
call fcn.0044bc85
mov byte [ebp - 4], 6
push esi
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.00445250
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x234]
push ecx
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.00445250
mov byte [ebp - 4], 8
mov eax, dword [eax]
push 1
push dword [ebp + 0xc]
push eax
call fcn.0043a359
add esp, 0x24
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x278]
call fcn.0040d610
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x270]
call fcn.0040d610
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x274]
call fcn.0040d610
lea eax, [ebp - 0x260]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x44e7de
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
xor esi, esi
inc esi
push esi
push dword [ebp + 0xc]
push edi
call fcn.0043a359
add esp, 0xc
jmp 0x44e7c6

Function at 0x44e9ac
Capabilities:
Check if file exists

Disassembly:
push 4
mov eax, 0x4dcd7c
call fcn.004b51ee
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
cmp dword [ecx - 0xc], ebx
jne 0x44e9e0
mov ecx, dword [ebp + 8]
push 0x50ea0c
call fcn.0044bc85
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], 1
jmp 0x44ea2b
push str._server_tracking_data
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.00445250
add esp, 0xc
xor esi, esi
inc esi
mov dword [ebp - 4], esi
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp + 8]
test eax, eax
jne 0x44ea14
push 0x50ea0c
call fcn.0044bc85
jmp 0x44ea1d
lea eax, [ebp + 0xc]
push eax
call fcn.004420c1
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xc]
call fcn.0040d610
mov eax, dword [ebp + 8]
call fcn.004b52c6
ret
Function at 0x44eadf
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 4
mov eax, 0x4dbe9c
call fcn.004b51ee
mov esi, ecx
lea eax, [ebp - 0x10]
push eax
call fcn.0044ea47
pop ecx
and dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.00446840
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040d610
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x44eb2a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
sete al
jmp 0x44eb2f
shr eax, 4
and al, 1
call fcn.004b52c6
ret

Function at 0x44efd4
Capabilities:
Enumerate processes

Disassembly:
push 0x240
mov eax, 0x4dcf40
call fcn.004b5257
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x248], eax
cmp eax, ebx
jne 0x44effb
or eax, 0xffffffff
call fcn.004b52da
ret
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [ebp - 0x24c], edi
mov dword [ebp - 4], ebx
cmp dword [0x536040], edi
je 0x44f01a
cmp edi, ebx
jne 0x44f02b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.0043f1fb
jmp 0x44eff2
push 0x228
lea eax, [ebp - 0x238]
push ebx
push eax
call fcn.004b4620
add esp, 0xc
lea eax, [ebp - 0x23c]
push eax
mov esi, 0x22c
push edi
mov dword [ebp - 0x23c], esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x44f072
or esi, 0xffffffff
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.0043f1fb
mov eax, esi
jmp 0x44eff5
push dword [ebp - 0x248]
lea ecx, [ebp - 0x244]
call fcn.0044bc85
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x244]
call fcn.00445121
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x240]
call fcn.0044bc85
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x240]
call fcn.0044644e
mov ecx, eax
call fcn.00444d1f
lea ecx, [ebp - 0x240]
call fcn.00445121
push dword [ebp - 0x244]
lea ecx, [ebp - 0x240]
call fcn.0043f433
test eax, eax
jne 0x44f0ff
or dword [ebp - 0x248], 0xffffffff
lea eax, [ebp - 0x248]
push eax
push dword [ebp - 0x234]
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x248]
je 0x44f14d
push esi
lea eax, [ebp - 0x23c]
push ebx
push eax
call fcn.004b4620
add esp, 0xc
mov dword [ebp - 0x23c], esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x240]
call fcn.0040d610
lea eax, [ebp - 0x23c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x44f092
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x244]
call fcn.0040d610
jmp 0x44f05c
mov esi, dword [ebp - 0x234]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x240]
call fcn.0040d610
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x244]
call fcn.0040d610
jmp 0x44f05f
Function at 0x44f175
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0x244
mov eax, 0x4dcf89
call fcn.004b5257
xor esi, esi
push esi
lea ecx, [ebp - 0x250]
xor bl, bl
mov dword [ebp - 0x238], 7
call fcn.0040daa0
mov dword [ebp - 4], esi
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push esi
push eax
call fcn.004b4620
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push esi
push esi
push 0x25
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x44f209
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x250]
call fcn.0040c660
cmp dword [ebp - 0x23c], esi
jne 0x44f209
or dword [ebp - 4], 0xffffffff
push esi
push 1
lea ecx, [ebp - 0x250]
call fcn.0040d590
mov al, bl
call fcn.004b52da
ret
call fcn.0043a895
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test al, al
jne 0x44f227
call fcn.0043a989
test al, al
je 0x44f298
push str.Shcore.dll
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0044c3ea
add esp, 0xc
mov byte [ebp - 4], 1
cmp dword [ebp - 0x21c], 8
mov eax, dword [ebp - 0x230]
jae 0x44f25b
lea eax, [ebp - 0x230]
push eax
call esi
test eax, eax
je 0x44f281
push str.SetProcessDpiAwareness
push eax
call edi
test eax, eax
je 0x44f281
xor ecx, ecx
cmp byte [ebp + 8], cl
setne cl
push ecx
call eax
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x234]
call fcn.0040d590
test bl, bl
jne 0x44f2f9
push 0x4fa8b4
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0044c3ea
add esp, 0xc
mov byte [ebp - 4], 2
cmp dword [ebp - 0x21c], 8
mov eax, dword [ebp - 0x230]
jae 0x44f2cc
lea eax, [ebp - 0x230]
push eax
call esi
test eax, eax
je 0x44f2e6
push str.SetProcessDPIAware
push eax
call edi
test eax, eax
je 0x44f2e6
call eax
test eax, eax
setne bl
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x234]
call fcn.0040d590
xor esi, esi
jmp 0x44f1ef
Function at 0x45087f
Capabilities:
Get common file path

Disassembly:
push 0x230
mov eax, 0x4dd381
call fcn.004b5257
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp dword [ebp + 0xc], 0x23
mov dword [ebp - 0x23c], edi
mov dword [ebp - 0x238], ebx
je 0x4508c9
cmp dword [ebp + 0xc], 0x1a
je 0x4508c9
push 0x50ea0c
mov ecx, edi
call fcn.0042b420
mov dword [ebp - 4], ebx
mov dword [ebp - 0x238], 1
jmp 0x45097e
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.004b4620
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push ebx
push ebx
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, ebx
jge 0x45090c
push 0x50ea0c
mov ecx, edi
call fcn.0042b420
jmp 0x4508b7
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x234]
call fcn.0042b420
xor esi, esi
inc esi
mov dword [ebp - 4], esi
push str.360TotalSecurity
lea ecx, [ebp - 0x234]
call fcn.00447c32
lea eax, [ebp - 0x234]
push eax
cmp byte [ebp + 0x10], bl
jne 0x450949
mov ecx, edi
call fcn.0040c600
jmp 0x450968
call fcn.0046e646
pop ecx
mov ecx, edi
test al, al
je 0x45095e
lea eax, [ebp - 0x234]
push eax
jmp 0x450942
push 0x50ea0c
call fcn.0042b420
mov dword [ebp - 0x238], esi
mov byte [ebp - 4], bl
push ebx
push esi
lea ecx, [ebp - 0x234]
call fcn.0040d590
mov eax, edi
call fcn.004b52da
ret

Function at 0x451106
Capabilities:
Check if file exists

Disassembly:
push 0x22c
mov eax, 0x4dd5dc
call fcn.004b5257
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
cmp esi, ebx
jne 0x451129
xor al, al
call fcn.004b52da
ret
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x224]
call fcn.0040c7d0
mov byte [ebp - 4], 1
push esi
lea eax, [ebp - 0x224]
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths_s
push eax
call fcn.0040e3f0
add esp, 0xc
mov dword [ebp - 0x238], 0x80000002
mov dword [ebp - 0x234], 0x80000001
xor esi, esi
push 1
push dword [ebp - 0x224]
lea ecx, [ebp - 0x22c]
push dword [ebp + esi*4 - 0x238]
call fcn.00439f05
test eax, eax
jne 0x45121e
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.004b4620
add esp, 0xc
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x230], 0x104
call fcn.00439f72
test eax, eax
jne 0x45121e
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x220]
call fcn.0044bc85
mov byte [ebp - 4], 2
push ebx
push 0x4fb2fc
lea ecx, [ebp - 0x220]
call fcn.00444fa5
push dword [ebp - 0x220]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x451230
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x220]
call fcn.0040d610
inc esi
cmp esi, 2
jb 0x451172
mov byte [ebp - 0x219], bl
jmp 0x451253
push dword [ebp - 0x220]
mov ecx, edi
call fcn.0040c660
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x220]
call fcn.0040d610
mov byte [ebp - 0x219], 1
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x224]
call fcn.0040d610
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.00439e9c
mov al, byte [ebp - 0x219]
jmp 0x451123
Function at 0x45150c
Capabilities:
Check if file exists

Disassembly:
push 0x248
mov eax, 0x4dd699
call fcn.004b5257
mov edi, dword [ebp + 8]
push 7
pop esi
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x238], esi
call fcn.0040daa0
mov dword [ebp - 4], ebx
push ebx
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x21c], esi
call fcn.0040daa0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x250]
push eax
push str.InstallLocation
push dword [0x535270]
call fcn.00450d3b
add esp, 0xc
test al, al
je 0x45163e
lea eax, [ebp - 0x234]
push eax
push str.DisplayVersion
push dword [0x535270]
call fcn.00450d3b
add esp, 0xc
test al, al
je 0x45163e
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.004b4620
mov ecx, dword [ebp - 0x230]
add esp, 0xc
cmp dword [ebp - 0x21c], 8
jae 0x4515c5
lea ecx, [ebp - 0x230]
cmp dword [ebp - 0x238], 8
mov eax, dword [ebp - 0x24c]
jae 0x4515da
lea eax, [ebp - 0x24c]
push ecx
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45163e
lea eax, [ebp - 0x218]
push eax
mov ecx, edi
call fcn.0040c660
mov byte [ebp - 0x251], 1
mov byte [ebp - 4], bl
push ebx
push 1
lea ecx, [ebp - 0x234]
call fcn.0040d590
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x250]
call fcn.0040d590
mov al, byte [ebp - 0x251]
call fcn.004b52da
ret
mov byte [ebp - 0x251], bl
jmp 0x45160f

Function at 0x451646
Capabilities:
Check if file exists

Disassembly:
push 0x248
mov eax, 0x4dd699
call fcn.004b5257
mov edi, dword [ebp + 8]
push 7
pop esi
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x238], esi
call fcn.0040daa0
mov dword [ebp - 4], ebx
push ebx
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x21c], esi
call fcn.0040daa0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x250]
push eax
push str.InstallLocation
push dword [0x535268]
call fcn.00450d3b
add esp, 0xc
test al, al
je 0x451778
lea eax, [ebp - 0x234]
push eax
push str.DisplayVersion
push dword [0x535268]
call fcn.00450d3b
add esp, 0xc
test al, al
je 0x451778
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.004b4620
mov ecx, dword [ebp - 0x230]
add esp, 0xc
cmp dword [ebp - 0x21c], 8
jae 0x4516ff
lea ecx, [ebp - 0x230]
cmp dword [ebp - 0x238], 8
mov eax, dword [ebp - 0x24c]
jae 0x451714
lea eax, [ebp - 0x24c]
push ecx
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x451778
lea eax, [ebp - 0x218]
push eax
mov ecx, edi
call fcn.0040c660
mov byte [ebp - 0x251], 1
mov byte [ebp - 4], bl
push ebx
push 1
lea ecx, [ebp - 0x234]
call fcn.0040d590
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x250]
call fcn.0040d590
mov al, byte [ebp - 0x251]
call fcn.004b52da
ret
mov byte [ebp - 0x251], bl
jmp 0x451749
Function at 0x4517f9
Capabilities:
Create process on windows

Disassembly:
push 4
mov eax, 0x4dbe9c
call fcn.004b51ee
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
je 0x45186e
cmp word [eax], bx
je 0x45186e
lea eax, [ebp - 0x10]
push eax
call fcn.0044e263
pop ecx
mov dword [ebp - 4], ebx
push dword [eax]
mov esi, 0x540448
mov ecx, esi
call fcn.0043f6ae
mov edi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040d610
cmp edi, ebx
je 0x451853
push dword [ebp + 8]
mov ecx, esi
call fcn.004a6159
test eax, eax
setne al
cmp al, bl
jne 0x451870
push 5
push ebx
push ebx
push dword [ebp + 8]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
setg al
jmp 0x451870
xor al, al
call fcn.004b52c6
ret

Function at 0x4554c6
Capabilities:
Check if file exists

Disassembly:
push 0x230
mov eax, 0x4ddc4c
call fcn.004b5257
push 0x50ea0c
lea ecx, [ebp - 0x234]
call fcn.0042b420
and dword [ebp - 4], 0
cmp dword [ebp + 8], 4
jne 0x4554fd
lea eax, [ebp - 0x234]
push eax
call fcn.0045150c
jmp 0x45550f
cmp dword [ebp + 8], 2
jne 0x455510
lea eax, [ebp - 0x234]
push eax
call fcn.00451646
pop ecx
cmp dword [ebp - 0x220], 0
jne 0x455536
mov bl, 1
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x234]
call fcn.0040d590
mov al, bl
call fcn.004b52da
ret
cmp dword [ebp - 0x21c], 8
mov eax, dword [ebp - 0x230]
jae 0x45554b
lea eax, [ebp - 0x230]
push str.setdefbrowser.dll
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x455519
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0046a1ab
add esp, 0xc
test al, al
je 0x455519
cmp dword [ebp - 0x238], 2
jbe 0x4555a0
xor bl, bl
jmp 0x45551b
jne 0x455519
cmp dword [ebp - 0x23c], 0x19
jae 0x455599
jmp 0x455519
Function at 0x4558d5
Capabilities:
Timestomp file

Disassembly:
push 0x5c
mov eax, 0x4ddcac
call fcn.004b51ee
call fcn.0044e2ad
test al, al
je 0x455a37
lea eax, [ebp - 0x18]
push eax
call fcn.0044dfc9
xor esi, esi
mov dword [ebp - 4], esi
mov dword [esp], str.safemonwebprotection_firefox
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00445250
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.0040d610
push str.install.rdf
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00445250
add esp, 0xc
mov byte [ebp - 4], 3
push esi
push 0x80
push 3
push esi
push 3
push 0x40000000
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x455a1f
push str..tmp
lea ecx, [ebp - 0x68]
call fcn.0042b420
mov byte [ebp - 4], 4
push dword [ebp - 0x10]
lea ecx, [ebp - 0x4c]
call fcn.0042b420
mov byte [ebp - 4], 5
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0044e620
pop ecx
pop ecx
mov byte [ebp - 4], 4
push esi
push 1
lea ecx, [ebp - 0x4c]
call fcn.0040d590
mov byte [ebp - 4], 3
push esi
push 1
lea ecx, [ebp - 0x68]
call fcn.0040d590
push str..db
lea ecx, [ebp - 0x4c]
call fcn.0042b420
mov byte [ebp - 4], 6
push dword [ebp - 0x10]
lea ecx, [ebp - 0x68]
call fcn.0042b420
mov byte [ebp - 4], 7
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0044e620
pop ecx
pop ecx
mov byte [ebp - 4], 6
push esi
push 1
lea ecx, [ebp - 0x68]
call fcn.0040d590
mov byte [ebp - 4], 3
push esi
push 1
lea ecx, [ebp - 0x4c]
call fcn.0040d590
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 0x20]
push eax
push esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.0040d610
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040d610
call fcn.004b52c6
ret
Function at 0x458f89
Capabilities:
Get storage device properties

Disassembly:
push 0x48
mov eax, 0x4de21c
call fcn.004b5257
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x30], ecx
call fcn.00444bb6
lea ecx, [ebp - 0x28]
call fcn.0040c7d0
xor ebx, ebx
mov dword [ebp - 4], ebx
push dword [ebp + 8]
lea eax, [ebp - 0x28]
push str..PhysicalDrive_u
push eax
call fcn.0040e3f0
add esp, 0xc
push ebx
push ebx
push 3
push ebx
push 3
push ebx
push dword [ebp - 0x28]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x24], eax
cmp eax, 0xffffffff
je 0x4590ee
push 0xc
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.004b4620
add esp, 0xc
xor eax, eax
push ebx
mov dword [ebp - 0x38], ebx
lea edi, [ebp - 0x34]
stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea eax, [ebp - 0x2c]
push eax
push 8
lea eax, [ebp - 0x38]
push eax
push 0xc
lea eax, [ebp - 0x1c]
push eax
push 0x2d1400
push dword [ebp - 0x24]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x2c], ebx
call edi
test eax, eax
je 0x4590d5
mov eax, dword [ebp - 0x34]
push 0x541444
push eax
mov dword [ebp - 0x20], eax
call fcn.004b60d0
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
je 0x4590d5
push dword [ebp - 0x20]
push ebx
push esi
call fcn.004b4620
add esp, 0xc
push ebx
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
push esi
push 0xc
push eax
push 0x2d1400
push dword [ebp - 0x24]
mov dword [ebp - 0x2c], ebx
call edi
test eax, eax
je 0x4590d5
mov eax, dword [esi + 0x18]
cmp eax, ebx
je 0x4590d5
cmp eax, dword [ebp - 0x20]
jae 0x4590d5
add eax, esi
push eax
lea ecx, [ebp - 0x20]
call fcn.00455fee
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00447f80
mov ecx, eax
call fcn.00446369
push dword [ebp - 0x20]
lea ecx, [ebp - 0x54]
call fcn.0040c330
mov byte [ebp - 4], 2
push dword [ebp - 0x30]
lea eax, [ebp - 0x54]
push eax
call fcn.00445d0e
pop ecx
pop ecx
mov byte [ebp - 4], 1
push ebx
push 1
lea ecx, [ebp - 0x54]
call fcn.0040d2f0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20]
call fcn.0044209e
cmp dword [ebp - 0x24], ebx
je 0x4590e3
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, ebx
je 0x4590ee
push esi
call fcn.004b5d21
pop ecx
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x14], ebx
setne bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040d610
mov al, bl
call fcn.004b52da
ret

Function at 0x45910b
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00458dc5
pop ecx
pop ecx
test al, al
jne 0x459125
pop ebp
jmp fcn.00458f89
mov al, 1
pop ebp
ret
Function at 0x45bc89
Capabilities:
Move file

Disassembly:
push 0x214
mov eax, 0x4deb6b
call fcn.004b5257
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
mov ebx, ecx
call fcn.004b4620
push dword [esi]
lea eax, [ebp - 0x218]
push 0x103
push eax
call fcn.004b84e2
add esp, 0x18
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call fcn.0046e3b1
push esi
call fcn.0046e531
pop ecx
pop ecx
test al, al
je 0x45bd00
mov al, 1
call fcn.004b52da
ret 8
push 0x4f8b70
lea eax, [ebp - 0x220]
push ebx
push eax
call fcn.00445250
and dword [ebp - 4], 0
push edi
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.004451f9
add esp, 0x18
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x220]
call fcn.0040d610
lea eax, [ebp - 0x21c]
push eax
call fcn.0046e531
pop ecx
test al, al
jne 0x45bd58
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.0040d610
jmp 0x45bcf6
mov esi, dword [esi]
push 3
push esi
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x45bd94
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebx + 4]
call fcn.0045af0d
mov bl, 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.0040d610
mov al, bl
jmp 0x45bcf8
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor bl, bl
jmp 0x45bd7e
Function at 0x45c0f2
Capabilities:
Get common file path

Disassembly:
push 0x220
mov eax, 0x4dec72
call fcn.004b5257
mov ebx, dword [ebp + 0xc]
mov esi, ecx
cmp dword [esi + 0x84], 0
je 0x45c25a
lea edi, [esi + 0x44]
mov eax, dword [edi + 0x18]
push edi
push eax
lea ecx, [ebp - 0x22c]
call fcn.004424c1
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x224]
push eax
mov ecx, edi
call fcn.004792bd
mov ecx, eax
call fcn.004833f7
test al, al
je 0x45c165
lea eax, [ebp + 8]
push eax
mov ecx, edi
call fcn.00457650
push eax
mov ecx, ebx
call fcn.0045af0d
xor eax, eax
inc eax
jmp 0x45c25c
add esi, 0x64
lea eax, [ebp - 0x224]
push eax
mov ecx, esi
call fcn.00476f02
jmp 0x45c1d2
lea ecx, [ebp - 0x21c]
call fcn.0040c7d0
and dword [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.00478005
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x21c]
push ecx
push dword [ebp + 8]
mov ecx, eax
call fcn.00458973
test eax, eax
je 0x45c1b8
lea eax, [ebp - 0x21c]
push eax
mov ecx, ebx
call fcn.0045af0d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.0040d610
lea ecx, [ebp - 0x224]
call fcn.0043f98e
mov eax, dword [esi + 0x18]
push esi
push eax
lea ecx, [ebp - 0x22c]
call fcn.004424c1
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x224]
call fcn.0043cc0e
test al, al
je 0x45c178
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
test eax, 0xfffffffc
jne 0x45c15d
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x45c25a
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.0044bc85
xor esi, esi
inc esi
mov dword [ebp - 4], esi
lea eax, [ebp - 0x21c]
push eax
mov ecx, ebx
call fcn.0045af0d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.0040d610
mov eax, esi
jmp 0x45c25c
xor eax, eax
call fcn.004b52da
ret 8