joyce8/EMBER2024-capa huggingface dataset:
Function at 0x455820
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x21c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x22c]
lea eax, [esp + 0x14]
push edi
lea ecx, [esp + 0x124]
push eax
push ecx
push 0
push esi
mov dword [esp + 0x28], 0x105
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x45592d
lea edx, [esp + 0x124]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebp, dword [esp + 0x234]
push eax
lea eax, [esp + 0x128]
push eax
push 1
push 0
push ebp
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
lea ecx, [esp + 0x1c]
xor edi, edi
push 0x105
push ecx
push edi
push esi
call ebx
test eax, eax
jne 0x45592d
lea edx, [esp + 0x14]
lea eax, [esp + 0x1c]
push edx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x455916
lea ecx, [esp + 0x1c]
push str.open
push ecx
call fcn.004b3100
add esp, 8
test eax, eax
jne 0x4558d9
lea edx, [esp + 0x1c]
push str.edit
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
push ecx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x45590b
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.00455820
mov ecx, dword [esp + 0x18]
add esp, 8
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x1c]
inc edi
push 0x105
push eax
push edi
push esi
call ebx
test eax, eax
je 0x45589e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x21c
ret
Function at 0x457550
Capabilities:
Set registry value

Disassembly:
mov eax, dword [0x4f83ec]
mov ecx, dword fs:[0x2c]
sub esp, 0x21c
mov edx, dword [ecx + eax*4]
mov al, byte [edx + 0x4fb]
test al, al
je 0x457668
mov ecx, dword [0x4f604c]
push ebx
push esi
push edi
lea eax, [esp + 0xc]
push 0x118
push eax
push 0xec
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0xc]
push edx
call esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueA]
push eax
lea eax, [esp + 0x10]
push eax
push 1
push str.Directory_shellACDBrowse
push 0x80000000
call ebx
lea ecx, [esp + 0xc]
push ecx
call esi
lea edx, [esp + 0xc]
push eax
push edx
push 1
push str.Drive_shellACDBrowse
push 0x80000000
call ebx
mov al, byte [0x4f55a8]
mov ecx, 0x40
mov byte [esp + 0x124], al
xor eax, eax
lea edi, [esp + 0x125]
mov edx, dword [0x4f604c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x124]
push 0x104
push ecx
push edx
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x124]
lea ecx, [esp + 0xc]
push eax
push str.__s_____1_
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [esp + 0xc]
push edx
call esi
push eax
lea eax, [esp + 0x10]
push eax
push 1
push str.Directory_shellACDBrowsecommand
push 0x80000000
call ebx
lea ecx, [esp + 0xc]
push ecx
call esi
lea edx, [esp + 0xc]
push eax
push edx
push 1
push str.Drive_shellACDBrowsecommand
push 0x80000000
call ebx
pop edi
pop esi
pop ebx
add esp, 0x21c
ret
push str.Directory_shellACDBrowse
push 0x80000000
call fcn.00470870
push str.Drive_shellACDBrowse
push 0x80000000
call fcn.00470870
add esp, 0x10
add esp, 0x21c
ret
Function at 0x45b1a7
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x74
lea eax, [esp]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x7c]
push eax
push 0x20019
push 0
push ecx
push DrawStatusTextA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45b291
mov ecx, dword [esi + 0x80]
mov edx, dword [esi + 0x78]
mov eax, dword [esi + 0x7c]
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0x8c]
mov dword [esp + 0x10], edx
mov edx, dword [esi + 0x84]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x88]
mov dword [esp + 0x24], ecx
mov ecx, esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
call fcn.004c0769
mov edx, dword [esp + 0x80]
push eax
push edx
lea eax, [esp + 0x30]
push str._s__d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
lea eax, [esp + 0xc]
push ecx
push edx
mov edx, dword [esp + 0xc]
push eax
lea ecx, [esp + 0x34]
push 0
push ecx
push edx
mov dword [esp + 0x20], 0x18
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45b286
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi + 0x78], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x7c], ecx
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x80], edx
mov edx, dword [esp + 0x24]
mov dword [esi + 0x88], ecx
mov dword [esi + 0x84], eax
mov dword [esi + 0x8c], edx
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
add esp, 0x74
ret 8

Function at 0x45b2ab
Capabilities:
Set registry value

Disassembly:
sub esp, 0x6c
mov edx, dword [esp + 0x70]
lea eax, [esp]
push esi
mov esi, ecx
lea ecx, [esp + 0x74]
push eax
push ecx
push 0
push 0x20006
push 0
push 0x4f55a8
push 0
push edx
push DrawStatusTextA
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x45b353
mov ecx, dword [esi + 0x7c]
mov eax, dword [esi + 0x78]
mov edx, dword [esi + 0x80]
mov dword [esp + 0xc], ecx
mov ecx, dword [esi + 0x88]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x84]
mov dword [esp + 0x10], edx
mov edx, dword [esi + 0x8c]
mov dword [esp + 0x18], ecx
mov ecx, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edx
call fcn.004c0769
push eax
mov eax, dword [esp + 0x7c]
push eax
lea ecx, [esp + 0x28]
push str._s__d
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [esp + 0x84]
add esp, 0x10
lea edx, [esp + 8]
lea eax, [esp + 0x20]
push 0x18
push edx
push 3
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x74]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
add esp, 0x6c
ret 8
Function at 0x45b3e0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4d3608
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov esi, dword [esp + 0x40]
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x20], eax
add eax, 0xb
mov dword [esp + 0x28], eax
mov eax, dword [edi]
mov dword [esp + 0x24], ecx
add ecx, 0xb
test eax, eax
mov dword [esp + 0x2c], ecx
je 0x45b43b
push 0x14
call ebx
push eax
push 0x10
call ebx
push eax
lea eax, [esp + 0x28]
push eax
jmp 0x45b451
mov eax, dword [edi + 4]
test eax, eax
je 0x45b458
push 0x10
call ebx
push eax
push 0x14
call ebx
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, esi
call fcn.004cd1e6
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.GDI32.dll_GetTextColor]
mov edx, dword [esi]
push 0x12
mov ebp, eax
mov dword [esp + 0x44], edx
call ebx
push eax
mov eax, dword [esp + 0x44]
mov ecx, esi
call dword [eax + 0x30]
push 1
mov ecx, esi
call fcn.004c35c6
xor ebx, ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], vtable.CFont.0
mov ecx, dword [esi + 8]
push 0x58
push ecx
mov dword [esp + 0x40], ebx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 0x60
push 0x3c
call dword [sym.imp.KERNEL32.dll_MulDiv]
push ebx
push str.Marlett
push eax
lea ecx, [esp + 0x24]
call fcn.004cd27b
mov edx, dword [esi]
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call dword [edx + 0x28]
push 0x4f032c
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], eax
call fcn.004c258b
mov eax, dword [eax]
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
mov ebx, dword [esi]
mov edi, dword [eax - 8]
add ecx, 2
push edi
add edx, 2
push eax
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x48], 1
call dword [ebx + 0x5c]
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 0
call fcn.004c251d
mov eax, dword [esp + 0x40]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x28]
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, esi
call fcn.004c35c6
mov edx, dword [esi]
push ebp
mov ecx, esi
call dword [edx + 0x30]
mov dword [esp + 0x18], vtable.CGdiObject.0
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 2
call fcn.004c3dae
pop edi
pop esi
mov ecx, dword [esp + 0x28]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
Function at 0x45ba80
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x154
push ebx
push esi
push edi
mov edi, ecx
push 0x17d
mov eax, dword [edi + 0x11c]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov esi, eax
push 0
push 0x147
push esi
call ebx
test eax, eax
jle 0x45bac5
lea ecx, [esp + 0x5c]
push ecx
push eax
push 0x148
push esi
call ebx
jmp 0x45bad6
lea edx, [esp + 0x5c]
push 0x104
push edx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [edi]
lea eax, [esp + 0xc]
push 0x50
push eax
push 0xa9
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
mov ecx, dword [edi + 0x11c]
lea edx, [esp + 0xc]
lea eax, [esp + 0x5c]
push edx
push eax
push ecx
call fcn.00471ac0
add esp, 0xc
lea edx, [esp + 0x5c]
push edx
push 0xffffffffffffffff
push 0x158
push esi
call ebx
test eax, eax
jl 0x45bb31
push 0
push eax
push 0x14e
push esi
call ebx
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x154
ret
lea eax, [esp + 0x5c]
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x154
ret

Function at 0x45bb50
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x104
push ebx
push esi
mov esi, ecx
push edi
push 0x17d
mov eax, dword [esi + 0x11c]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov edi, eax
push 0
push 0x147
push edi
call ebx
test eax, eax
jle 0x45bb95
lea ecx, [esp + 0xc]
push ecx
push eax
push 0x148
push edi
call ebx
jmp 0x45bba6
lea edx, [esp + 0xc]
push 0x104
push edx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [esp + 0xc]
push 0
push eax
call fcn.004a8e56
add esp, 8
test eax, eax
je 0x45bbf9
mov ecx, dword [esi + 0x11c]
mov edx, dword [esi]
push 0
push 0x205
push 0x1fb
push ecx
push edx
call fcn.00471530
add esp, 0x14
push edi
call dword [sym.imp.USER32.dll_SetFocus]
push 0xffffffffffffffff
push 0
push 0x142
push edi
call ebx
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x104
ret
lea eax, [esp + 0xc]
lea ecx, [esi + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esi + 0x11c]
mov ebx, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
push 0x180
push edx
call ebx
mov dword [esi + 0x110], eax
mov eax, dword [esi + 0x11c]
push 0x182
push eax
call ebx
mov ecx, dword [esi + 0x11c]
push 0x183
push ecx
mov dword [esi + 0x114], eax
call ebx
push str.HistSyncFolders
push str.SoftwareACD_SystemsACDSee
push 0x400
push 0
push 1
push edi
mov dword [esi + 0x118], eax
call fcn.00472f40
mov edx, dword [esi + 0x11c]
add esp, 0x18
push 1
push edx
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x104
ret
Function at 0x45bc90
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.0045be30
test eax, eax
jne 0x45bca0
pop esi
pop ecx
ret
mov eax, dword [esi + 0x120]
test eax, eax
je 0x45bcfe
mov eax, dword [esi + 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 0x120]
push 0xbb8
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x45bcd8
push 0x40
call dword [sym.imp.USER32.dll_MessageBeep]
mov edx, dword [esi + 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x120], 0
mov eax, dword [esi + 0x120]
test eax, eax
je 0x45bcfe
xor eax, eax
pop esi
pop ecx
ret
mov eax, dword [esi + 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea ecx, [esp + 4]
push ecx
push 0
push esi
push 0x45bd40
push 0
push 0
call fcn.004a899b
add esp, 0x18
mov dword [esi + 0x120], eax
mov eax, 1
pop esi
pop ecx
ret
Function at 0x45d460
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov esi, ecx
push str.TWAIN_32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 8], eax
jne 0x45d485
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x14
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push str.SoftwareACD_SystemsACDSee
push DrawStatusTextA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45d4db
lea ecx, [esp + 0x14]
lea edx, [esi + 0x258]
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push edx
push eax
push 0
push str.AcquireOptions
push ecx
mov dword [esp + 0x2c], 0x74
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esi + 8]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [esi + 0xc], eax
jne 0x45d50b
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 8], 0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret 0x14
mov ebp, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
push 0x2e
push ebp
mov dword [esi], edx
mov dword [esi + 4], eax
mov dword [esi + 0x2cc], ecx
call fcn.004a8857
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x45d538
inc ebx
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esi + 0x1c]
push ebp
push edx
call edi
push ebp
call fcn.004a95fb
xor ebp, ebp
add esp, 4
cmp ebx, ebp
mov word [esi + 0x14], ax
je 0x45d563
push ebx
call fcn.004a95fb
add esp, 4
jmp 0x45d565
xor eax, eax
mov word [esi + 0x16], ax
lea eax, [esi + 0x46]
push 0x4f0430
push eax
mov word [esi + 0x18], 0xd
mov word [esi + 0x1a], 2
mov word [esi + 0x3e], 1
mov word [esi + 0x40], 8
mov dword [esi + 0x42], 3
call edi
lea ecx, [esi + 0x68]
push str.Imaging
push ecx
call edi
mov edx, dword [esp + 0x2c]
lea eax, [esi + 0x8a]
push edx
push eax
call edi
lea ebx, [esi + 4]
lea edi, [esi + 0x10]
push ebx
push 0x301
push 4
push 1
push ebp
push edi
call dword [esi + 0xc]
test ax, ax
je 0x45d642
cmp dword [esi + 0x148], ebp
je 0x45d5f2
lea ecx, [esp + 0x18]
lea edx, [esi + 0xac]
push ecx
push 0x501
push 9
push 1
push edx
push edi
call dword [esi + 0xc]
test ax, ax
jne 0x45d5f2
mov dword [esi + 0x148], ebp
mov eax, dword [esi + 0xc]
cmp eax, ebp
je 0x45d607
push ebx
push 0x302
push 4
push 1
push ebp
push edi
call eax
mov eax, dword [esi + 8]
cmp eax, ebp
je 0x45d615
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esi + 0x2d0]
mov dword [esi + 8], ebp
push eax
mov dword [esi + 0xc], ebp
mov dword [esi + 0x148], ebp
call fcn.004bd4c4
add esp, 4
mov dword [esi + 0x2d0], ebp
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x14
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10
ret 0x14
Function at 0x45d670
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, ecx
mov dword [esi + 0x14c], eax
mov eax, dword [esp + 8]
test eax, eax
je 0x45d693
lea ecx, [esi + 0x154]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [esi + 0x148]
test eax, eax
je 0x45d6a3
xor eax, eax
pop esi
ret 8
push ebx
lea edx, [esi + 0x2f0]
push edi
push edx
push 4
push 3
lea edi, [esi + 0x10]
push 1
push 0
push edi
call dword [esi + 0xc]
cmp ax, 7
mov dword [esi + 0x1538], 0
je 0x45d6fa
mov eax, dword [esi + 0x1538]
inc eax
mov dword [esi + 0x1538], eax
lea ecx, [eax + eax*4]
shl ecx, 3
sub ecx, eax
lea edx, [esi + ecx*4 + 0x2f0]
push edx
push 5
push 3
push 1
push 0
push edi
call dword [esi + 0xc]
cmp ax, 7
jne 0x45d6cb
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esi]
mov edi, eax
mov eax, dword [esi + 4]
push esi
push 0x45ec60
push eax
push 0x3ff
push ecx
call dword [sym.imp.USER32.dll_DialogBoxParamA]
push edi
mov ebx, eax
call dword [sym.imp.USER32.dll_SetFocus]
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push 0x20006
push 0
push 0x4f55a8
push 0
push str.SoftwareACD_SystemsACDSee
push DrawStatusTextA
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x45d778
mov ecx, dword [esp + 0x14]
add esi, 0x258
push 0x74
push esi
push 3
push eax
push str.AcquireOptions
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop edi
pop ebx
pop esi
ret 8
Function at 0x45fc06
Capabilities:
Get disk information

Disassembly:
sub esp, 0x104
push esi
mov esi, ecx
mov eax, dword [esi + 0x130]
cmp eax, 1
jne 0x45fc70
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x45fc2e
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [esi + 0x130], eax
pop esi
add esp, 0x104
ret
mov ecx, dword [esi + 0x28]
lea edx, [esp + 4]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [esp + eax + 3], 0x5c
je 0x45fc5f
lea ecx, [esp + 4]
push 0x4ed924
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [esi + 0x130], eax
pop esi
add esp, 0x104
ret
Function at 0x460ed0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4d3a46
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], vtable.Viewer.1.0
mov dword [esi + 0xbc], vtable.Viewer.0
mov ecx, 0x4f5738
mov dword [esp + 0x1c], 9
call fcn.00450940
lea eax, [esi + 0x684]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ebp, [esi + 0xd0]
test ebp, ebp
jne 0x460f2e
xor eax, eax
jmp 0x460f31
mov eax, dword [ebp + 4]
lea edi, [esi + 0x668]
push 0
push eax
mov ecx, edi
call fcn.0041d6c0
mov ecx, dword [esi + 0x2f0]
push 0xffffffffffffffff
push 0
push 0
call fcn.004a14c0
mov eax, dword [esi + 0x2e8]
test eax, eax
je 0x460f63
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, dword [esi + 0x2f4]
test eax, eax
je 0x460f74
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esi + 0x3e8]
push ebx
push eax
call fcn.004bd4c4
mov eax, dword [esi + 0x3ec]
push eax
call fcn.004bd4c4
mov ebx, dword [esi + 0x2ec]
add esp, 8
test ebx, ebx
je 0x460faa
mov ecx, ebx
call fcn.0049cb20
push ebx
call fcn.004bd4c4
add esp, 4
mov ecx, dword [esi + 0x2f8]
test ecx, ecx
je 0x460fb9
mov edx, dword [ecx]
call dword [edx + 0x58]
mov eax, dword [edi + 0x10]
mov byte [esp + 0x20], 8
test eax, eax
mov dword [edi], vtable.Table_struct_CmdExtInfo_.0
je 0x460ff1
mov eax, dword [edi + 8]
xor ebx, ebx
test eax, eax
jle 0x460ff1
push ebx
mov ecx, edi
call fcn.0049c140
test eax, eax
je 0x460fe9
push 1
mov ecx, eax
call fcn.0046ed20
mov eax, dword [edi + 8]
inc ebx
cmp ebx, eax
jl 0x460fd4
mov edi, dword [edi + 4]
push edi
call fcn.004bd4c4
add esp, 4
lea ecx, [esi + 0x540]
mov byte [esp + 0x20], 7
call fcn.0045b6b0
mov eax, dword [esi + 0x3cc]
mov byte [esp + 0x20], 6
test eax, eax
mov dword [esi + method.Table_class_DirEntry_.virtual_0], vtable.Table_class_DirEntry_.0
pop ebx
je 0x461059
mov eax, dword [esi + 0x3c4]
xor edi, edi
test eax, eax
jle 0x461059
cmp edi, eax
jge 0x46104e
test edi, edi
jl 0x46104e
mov eax, dword [esi + 0x3c0]
mov ecx, dword [eax + edi*4]
test ecx, ecx
je 0x46104e
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [esi + 0x3c4]
inc edi
cmp edi, eax
jl 0x461037
mov eax, dword [esi + 0x3c0]
push eax
call fcn.004bd4c4
add esp, 4
lea ecx, [esi + 0x2fc]
mov byte [esp + 0x1c], 5
call fcn.0047da20
lea ecx, [esi + 0x26c]
mov byte [esp + 0x1c], 4
call fcn.004c498f
lea edi, [esi + 0x228]
mov dword [esp + 0x10], edi
mov dword [edi], vtable.CWndImageView.0
mov ecx, dword [edi + 0x3c]
mov byte [esp + 0x1c], 0xa
test ecx, ecx
je 0x4610aa
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, edi
mov byte [esp + 0x1c], 3
call fcn.004be0b7
lea ecx, [esi + 0x15c]
mov byte [esp + 0x1c], 2
call fcn.004803c0
lea ecx, [esi + 0xdc]
mov byte [esp + 0x1c], 1
call fcn.004cf325
mov ecx, ebp
mov dword [esp + 0x10], ecx
mov dword [ecx], vtable.CMenu.0
mov byte [esp + 0x1c], 0xb
call fcn.004c19f0
mov ecx, esi
mov dword [esp + 0x1c], 0xffffffff
call fcn.004ca93e
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x466070
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4661f7
mov eax, dword [esi + 0x3d8]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x46618e
mov ecx, dword [eax]
cmp ecx, ebx
je 0x4660a4
mov edx, dword [ecx]
push ebx
call dword [edx + 0x10]
jmp 0x4660a6
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x46618e
push edi
mov edi, dword [esi + 0x3c4]
dec edi
js 0x466187
mov ecx, dword [esi + 0x3e0]
cmp edi, ecx
je 0x4660f4
cmp edi, dword [esi + 0x3c4]
jge 0x4660e5
cmp edi, ebx
jl 0x4660e5
mov eax, dword [esi + 0x3c0]
mov eax, dword [eax + edi*4]
jmp 0x4660e7
xor eax, eax
mov edx, dword [eax + 0x20]
mov eax, dword [esi + 0x3d8]
cmp edx, eax
je 0x4660fc
dec edi
jns 0x4660ca
jmp 0x466187
cmp edi, ebx
jl 0x46614f
cmp edi, dword [esi + 0x3c4]
jge 0x46614f
cmp dword [esi + 0x3cc], ebx
je 0x466123
mov eax, dword [esi + 0x3c0]
mov ecx, dword [eax + edi*4]
cmp ecx, ebx
je 0x466123
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [esi + 0x3c4]
mov eax, edi
dec ecx
cmp edi, ecx
jge 0x466149
mov ecx, dword [esi + 0x3c0]
inc eax
mov edx, dword [ecx + eax*4]
mov dword [ecx + eax*4 - 4], edx
mov ecx, dword [esi + 0x3c4]
dec ecx
cmp eax, ecx
jl 0x466130
dec dword [esi + 0x3c4]
mov eax, dword [esi + 0x3e0]
cmp edi, eax
jg 0x466160
dec eax
mov dword [esi + 0x3e0], eax
mov edx, dword [esi + 0x3e8]
push edx
call fcn.004bd4c4
mov eax, dword [esi + 0x3ec]
mov dword [esi + 0x3e8], ebx
push eax
call fcn.004bd4c4
add esp, 8
mov dword [esi + 0x3ec], ebx
mov dword [esi + 0x3d8], ebx
pop edi
cmp dword [esi + 0x3e0], ebx
jge 0x46619c
mov dword [esi + 0x3e0], ebx
mov eax, dword [esi + 0x3e0]
mov ecx, dword [esi + 0x3c4]
cmp eax, ecx
jge 0x4661df
cmp eax, ebx
jl 0x4661df
mov ecx, dword [esi + 0x3c0]
cmp dword [ecx + eax*4], ebx
je 0x4661df
cmp eax, dword [esi + 0x3c4]
jge 0x4661d2
cmp eax, ebx
jl 0x4661d2
mov edx, dword [esi + 0x3c0]
mov eax, dword [edx + eax*4]
jmp 0x4661d4
xor eax, eax
mov ecx, eax
call fcn.00425ce0
test eax, eax
jne 0x4661e8
push 1
mov ecx, esi
call fcn.004655f0
mov ecx, esi
call fcn.00465950
mov ecx, esi
call fcn.0046a910
pop ebx
pop esi
ret
Function at 0x46a5c0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x264
lea eax, [esp + 4]
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 0x50
push eax
push 0xa5
mov ecx, dword [edi + 0xc0]
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
mov edx, dword [esp + 0x278]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x46a62f
mov ecx, dword [edi + 0xc4]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.00471600
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x264
ret 4
mov eax, dword [edi + 0x3c4]
xor esi, esi
test eax, eax
jle 0x46a6b2
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
cmp esi, eax
jge 0x46a654
test esi, esi
jl 0x46a654
mov edx, dword [edi + 0x3c0]
mov ecx, dword [edx + esi*4]
jmp 0x46a656
xor ecx, ecx
lea eax, [esp + 0x170]
push 0
push eax
call fcn.004257f0
lea ecx, [esp + 0x170]
lea edx, [esp + 0x64]
push ecx
push str.__s__r_n
push edx
call ebp
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x64]
mov dword [esp + 0x10], 0
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0x6c]
push eax
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x46a6cb
mov eax, dword [edi + 0x3c4]
inc esi
cmp esi, eax
jl 0x46a645
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x264
ret 4
mov ecx, dword [edi + 0xc4]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.00471600
add esp, 8
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x264
ret 4