joyce8/EMBER2024-capa huggingface dataset:
Function at 0x497660
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
lea ebp, [esp - 0x804]
sub esp, 0x804
push 0xffffffffffffffff
push 0x4f1140
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x53fa2c]
xor eax, ebp
mov dword [ebp + 0x800], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor edi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], 0x10
mov dword [ebp - 4], edi
lea eax, [ebp - 0x14]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4976e9
cmp dword [ebp - 0x14], edi
je 0x4976e9
lea ecx, [ebp - 0x20]
push ecx
push str.SeDebugPrivilege
push edi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x497710
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x4976e9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.004e0148
add ebp, 0x804
mov esp, ebp
pop ebp
ret
mov ebx, 1
mov dword [ebp - 0x40], ebx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edi
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x30]
push edx
push 0x10
lea eax, [ebp - 0x40]
push eax
push edi
mov ecx, dword [ebp - 0x14]
push ecx
mov esi, dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call esi
test eax, eax
je 0x4976db
mov dword [ebp - 0x30], ebx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
or dword [ebp - 0x24], 2
push edi
push edi
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x30]
push edx
push edi
mov eax, dword [ebp - 0x14]
push eax
call esi
test eax, eax
je 0x4976db
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x497787
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x4976eb

Function at 0x4979e0
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x10
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x497a59
push 0
push 0x497920
push eax
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov eax, dword [0x10dca7c]
test eax, eax
je 0x497a59
push esi
lea ecx, [esp + 4]
push ecx
push eax
mov dword [esp + 0x14], 0
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, 1
cmp dword [esp + 0xc], esi
jle 0x497a58
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, 0x64
jge 0x497a57
mov eax, dword [0x10dca7c]
movzx edx, si
shl edx, 0x10
or edx, 1
push edx
push 0
push 0x200
push eax
call edi
inc esi
cmp esi, dword [esp + 0x10]
jl 0x497a32
pop edi
pop esi
add esp, 0x10
ret
Function at 0x4984a0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4f1274
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov dword [esp + 0x1c], 0
lea ecx, [esp + 8]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [esp + 0x1c], 1
lea eax, [esp + 0x10]
push eax
call fcn.00465390
mov byte [esp + 0x20], 2
mov ecx, dword [eax]
mov esi, dword [sym.imp.mfc90.dll_Ordinal_2539]
push 0x4ff784
push ecx
lea edx, [esp + 0x18]
push str._sLog_s.reg
push edx
call esi
add esp, 0x14
mov byte [esp + 0x1c], 1
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea eax, [esp + 0x10]
push eax
call fcn.00465390
mov byte [esp + 0x20], 3
mov ecx, dword [eax]
push str.TrueCut
push ecx
lea edx, [esp + 0x14]
push str._sLog_s.reg
push edx
call esi
add esp, 0x14
mov byte [esp + 0x1c], 1
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call esi
mov ecx, dword [esp + 8]
push ecx
call esi
mov byte [esp + 0x1c], 0
lea ecx, [esp + 8]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x18
ret

Function at 0x4985a0
Capabilities:
Get disk size

Disassembly:
sub esp, 0x80
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x7c], eax
push 0x64
lea eax, [esp + 0x1c]
push 0
push eax
call sub.MSVCR90.dll_memset
movsx ecx, byte [esp + 0x90]
push ecx
lea edx, [esp + 0x28]
push str._c:_
push edx
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0x18
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
jne 0x49860b
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.004e0148
add esp, 0x80
ret
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push 0
push 0x64
push ecx
push edx
call fcn.004e0460
mov ecx, dword [esp + 4]
push ecx
mov ecx, dword [esp + 4]
push ecx
push edx
push eax
call fcn.004e03f0
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.004e0148
add esp, 0x80
ret

Function at 0x498650
Capabilities:
Get disk size

Disassembly:
sub esp, 0x80
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x7c], eax
push 0x64
lea eax, [esp + 0x1c]
push 0
push eax
call sub.MSVCR90.dll_memset
movsx ecx, byte [esp + 0x90]
push ecx
lea edx, [esp + 0x28]
push str._c:_
push edx
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0x18
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
jne 0x4986bb
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.004e0148
add esp, 0x80
ret
mov eax, dword [esp]
mov ecx, dword [esp + 4]
shrd eax, ecx, 0x1e
shr ecx, 0x1e
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.004e0148
add esp, 0x80
ret
Function at 0x4986e0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3c
push 0x3c
lea eax, [esp + 4]
push 0
push eax
call sub.MSVCR90.dll_memset
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x28], eax
add esp, 0xc
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x4c]
lea eax, [esp]
push eax
mov dword [esp + 4], 0x3c
mov dword [esp + 8], 0x8540
mov dword [esp + 0x24], 0
mov dword [esp + 0x10], str.runas
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov ecx, dword [esp + 0x38]
push 0x36ee80
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x20]
add esp, 0x3c
ret
Function at 0x498a30
Capabilities:
Set file attributes
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f12ba
mov eax, dword fs:[0]
push eax
mov eax, 0x140c
call fcn.004e03c0
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x1408], eax
push esi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x1414]
mov dword fs:[0], eax
mov dword [esp + 0x141c], 1
push 0x13ff
lea eax, [esp + 0x15]
push 0
push eax
mov byte [esp + 0x1c], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x103ad80
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov byte [esp + 0x141c], 2
mov ecx, dword [esp + 8]
push ecx
lea edx, [esp + 0x14]
push str._sI0N1D2E3X4.TC_BK.sys
push edx
call dword [sym.imp.MSVCR90.dll_sprintf]
lea eax, [esp + 0x1c]
push 0
push eax
call dword [sym.imp.MSVCR90.dll__access]
add esp, 0x14
test eax, eax
jne 0x498adc
push 0x504ff8
lea ecx, [esp + 0x14]
push ecx
jmp 0x498ae6
push 0x504ff4
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.MSVCR90.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
jne 0x498b3b
mov byte [esp + 0x141c], 1
lea ecx, [esp + 8]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x141c], 0
lea ecx, [esp + 0x1424]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov dword [esp + 0x141c], 0xffffffff
lea ecx, [esp + 0x1428]
call dword [sym.imp.mfc90.dll_Ordinal_601]
xor al, al
jmp 0x498bf2
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [esp + 0x141c], 3
mov eax, dword [esp + 0x1428]
mov ecx, dword [esp + 0x1424]
push eax
push ecx
lea edx, [esp + 0x14]
push str._s_s_r_n
push edx
call dword [sym.imp.mfc90.dll_Ordinal_2539]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 0xc]
push esi
push 1
push ecx
push eax
call dword [sym.imp.MSVCR90.dll_fwrite]
push esi
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 0x24
cmp byte [0x103a972], 0
je 0x498b9f
push 2
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov byte [esp + 0x141c], 2
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x141c], 1
lea ecx, [esp + 8]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x141c], 0
lea ecx, [esp + 0x1424]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov dword [esp + 0x141c], 0xffffffff
lea ecx, [esp + 0x1428]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov al, 1
mov ecx, dword [esp + 0x1414]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1408]
xor ecx, esp
call fcn.004e0148
add esp, 0x1418
ret
Function at 0x498cb0
Capabilities:
Get disk size

Disassembly:
sub esp, 0x80
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebx
push esi
mov esi, dword [esp + 0x8c]
push 0
mov ecx, 0x103ad10
call dword [sym.imp.mfc90.dll_Ordinal_899]
push 0x64
mov bl, al
lea eax, [esp + 0x24]
push 0
push eax
call sub.MSVCR90.dll_memset
movsx ecx, bl
push ecx
lea edx, [esp + 0x30]
push str._c:_
push edx
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0x18
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
jne 0x498d32
pop esi
xor edx, edx
pop ebx
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.004e0148
add esp, 0x80
ret
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 8]
mov dword [esi], ecx
mov ecx, dword [esp + 0x84]
mov dword [esi + 4], edx
mov edx, dword [esp + 0xc]
pop esi
pop ebx
xor ecx, esp
call fcn.004e0148
add esp, 0x80
ret
Function at 0x498d60
Capabilities:
Set file attributes
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f1332
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebp
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x220]
mov dword fs:[0], eax
mov dword [esp + 0x228], 1
lea eax, [esp + 0x18]
push eax
call fcn.00465390
mov byte [esp + 0x22c], 2
mov ecx, dword [esp + 0x238]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x28]
push str._sLog_s.log
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0x14
mov byte [esp + 0x228], 1
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x1c]
push 0
push ecx
call dword [sym.imp.MSVCR90.dll__access]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
add esp, 8
test eax, eax
jne 0x498e1e
lea edx, [esp + 0x1c]
push 0x504ff8
push edx
call dword [sym.imp.MSVCR90.dll_fopen]
add esp, 8
mov esi, eax
jmp 0x498e4d
lea eax, [esp + 0x1c]
push 0x504ff4
push eax
call dword [sym.imp.MSVCR90.dll_fopen]
add esp, 8
cmp byte [0x103a972], 0
mov esi, eax
je 0x498e4d
push 1
call edi
push 2
lea ecx, [esp + 0x20]
push ecx
call ebp
push 1
call edi
test esi, esi
je 0x498f0d
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [esp + 0x228], 3
push ecx
lea edx, [esp + 0x234]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov byte [esp + 0x22c], 4
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x230], 3
call fcn.0048ecd0
mov byte [esp + 0x230], 5
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push 0x518fec
push edx
call dword [sym.imp.mfc90.dll_Ordinal_2539]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax - 0xc]
push esi
push 1
push ecx
push eax
call dword [sym.imp.MSVCR90.dll_fwrite]
push esi
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 0x28
cmp byte [0x103a972], 0
je 0x498ee9
push 1
call edi
push 2
lea eax, [esp + 0x20]
push eax
call ebp
push 1
call edi
mov byte [esp + 0x228], 3
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x228], 1
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x228], 0
lea ecx, [esp + 0x230]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov dword [esp + 0x228], 0xffffffff
lea ecx, [esp + 0x234]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [esp + 0x220]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004e0148
add esp, 0x21c
ret
Function at 0x49a1e0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x108
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x10]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebp, eax
lea esi, [esp + 0x10]
lea ebx, [ebx]
cmp byte [esi], 0
je 0x49a282
lea ecx, [esp + ebp + 0x10]
cmp esi, ecx
jae 0x49a282
push esi
call edi
cmp eax, 4
jne 0x49a243
push esi
call ebx
test al, 1
jne 0x49a26c
mov ecx, 0x10de384
jmp 0x49a265
cmp eax, 3
jne 0x49a26c
mov edx, dword [0x10dd2b0]
cmp dword [edx - 0xc], 0
jne 0x49a260
push esi
mov ecx, 0x10dd2b0
call dword [sym.imp.mfc90.dll_Ordinal_820]
mov ecx, 0x10de368
push esi
call dword [sym.imp.mfc90.dll_Ordinal_820]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x49a271
sub eax, edx
lea esi, [esi + eax + 1]
test esi, esi
jne 0x49a220
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004e0148
add esp, 0x108
ret
Function at 0x49a2a0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f15c1
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x16c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x184]
mov dword fs:[0], eax
mov dword [esp + 0x18c], 0
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [esp + 0x18c], 1
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [esp + 0x18c], 2
mov eax, dword [esp + 0x194]
push eax
lea ecx, [esp + 0x18]
push str._s.
push ecx
call dword [sym.imp.mfc90.dll_Ordinal_2539]
add esp, 0xc
push 0x4ff418
push 0x502d68
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_5924]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x40]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x49a440
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIA]
xor eax, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov edx, dword [esp + 0x194]
lea ecx, [esp + 0x6c]
push ecx
push edx
lea eax, [esp + 0x20]
push 0x5027d8
push eax
call dword [sym.imp.mfc90.dll_Ordinal_2539]
add esp, 0x10
test byte [esp + 0x40], 0x10
jne 0x49a425
mov edx, dword [esp + 0x18]
xor eax, eax
lea ecx, [esp + 0x1c]
push ecx
push eax
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
call ebp
mov eax, dword [esp + 0x3c]
mov esi, eax
cmp eax, dword [0x10d7bfc]
jne 0x49a402
push str..doc
lea eax, [esp + 0x70]
push eax
call ebx
test eax, eax
jne 0x49a41a
cmp esi, dword [0x10d7c00]
jne 0x49a425
push str..jpg
lea ecx, [esp + 0x70]
push ecx
call ebx
test eax, eax
je 0x49a425
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esp + 0x40]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x49a38a
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [esp + 0x18c], 1
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x18c], 0
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov dword [esp + 0x18c], 0xffffffff
lea ecx, [esp + 0x194]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [esp + 0x184]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x16c]
xor ecx, esp
call fcn.004e0148
add esp, 0x17c
ret
Function at 0x49a4b0
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4f1579
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov dword [esp + 0x30], 0
mov ecx, dword [esp + 0x38]
lea eax, [esp + 4]
push eax
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
test eax, eax
je 0x49a508
mov eax, dword [esp + 4]
test al, 2
jne 0x49a508
mov edx, dword [esp + 0x38]
or eax, 2
push eax
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x38]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
add esp, 0x30
ret

Function at 0x49a530
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x404
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x400], eax
mov eax, dword [0x10dd2b0]
cmp dword [eax - 0xc], 0
push esi
mov esi, dword [sym.imp.MSVCR90.dll_sprintf]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
je 0x49a5a4
cmp byte [0x1038608], 0
je 0x49a5a4
push 0x103860a
push eax
lea eax, [esp + 0x10]
push 0x508fd8
push eax
call esi
add esp, 0x10
lea ecx, [esp + 8]
push ecx
call edi
mov edx, dword [0x10dd2b0]
push 0x103861e
push edx
lea eax, [esp + 0x10]
push 0x508fd8
push eax
call esi
add esp, 0x10
lea ecx, [esp + 8]
push ecx
call edi
mov eax, dword [0x10de368]
cmp dword [eax - 0xc], 0
je 0x49a5fa
cmp byte [0x1038608], 0
je 0x49a6af
push 0x103860a
push eax
lea edx, [esp + 0x10]
push 0x508fd8
push edx
call esi
add esp, 0x10
lea eax, [esp + 8]
push eax
call edi
mov ecx, dword [0x10de368]
push 0x103861e
push ecx
lea edx, [esp + 0x10]
push 0x508fd8
push edx
call esi
add esp, 0x10
lea eax, [esp + 8]
push eax
call edi
cmp byte [0x1038608], 0
je 0x49a6af
mov ecx, dword [0x10dd39c]
push 0x103860a
push ecx
lea edx, [esp + 0x10]
push 0x5027d8
push edx
call esi
add esp, 0x10
lea eax, [esp + 8]
push eax
call edi
mov ecx, dword [0x10dd39c]
push 0x103861e
push ecx
lea edx, [esp + 0x10]
push 0x5027d8
push edx
call esi
add esp, 0x10
lea eax, [esp + 8]
push eax
call edi
lea ecx, [esp + 0x208]
push ecx
push 0
push 0
push 0x25
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
push 0x103860a
lea edx, [esp + 0x20c]
push edx
lea eax, [esp + 0x10]
push 0x508fd8
push eax
mov byte [esp + 0x21b], 0
call esi
add esp, 0x10
lea ecx, [esp + 8]
push ecx
call edi
push 0x103861e
lea edx, [esp + 0x20c]
push edx
lea eax, [esp + 0x10]
push 0x508fd8
push eax
call esi
add esp, 0x10
lea ecx, [esp + 8]
push ecx
call edi
mov ecx, dword [esp + 0x408]
pop edi
pop esi
xor ecx, esp
call fcn.004e0148
add esp, 0x404
ret
Function at 0x49a6d0
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x404
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x400], eax
mov eax, dword [0x10dd2b0]
cmp dword [eax - 0xc], 0
push esi
mov esi, dword [sym.imp.MSVCR90.dll_sprintf]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
je 0x49a744
cmp byte [0x101ebdc], 0
je 0x49a744
push 0x101ebde
push eax
lea eax, [esp + 0x10]
push str._s_s.doc
push eax
call esi
add esp, 0x10
lea ecx, [esp + 8]
push ecx
call edi
mov edx, dword [0x10dd2b0]
push 0x101ebde
push edx
lea eax, [esp + 0x10]
push str._s_s.jpg
push eax
call esi
add esp, 0x10
lea ecx, [esp + 8]
push ecx
call edi
mov eax, dword [0x10de368]
cmp dword [eax - 0xc], 0
je 0x49a79a
cmp byte [0x101ebdc], 0
je 0x49a84f
push 0x101ebde
push eax
lea edx, [esp + 0x10]
push str._s_s.doc
push edx
call esi
add esp, 0x10
lea eax, [esp + 8]
push eax
call edi
mov ecx, dword [0x10de368]
push 0x101ebde
push ecx
lea edx, [esp + 0x10]
push str._s_s.jpg
push edx
call esi
add esp, 0x10
lea eax, [esp + 8]
push eax
call edi
cmp byte [0x101ebdc], 0
je 0x49a84f
mov ecx, dword [0x10dd39c]
push 0x101ebde
push ecx
lea edx, [esp + 0x10]
push 0x5199b4
push edx
call esi
add esp, 0x10
lea eax, [esp + 8]
push eax
call edi
mov ecx, dword [0x10dd39c]
push 0x101ebde
push ecx
lea edx, [esp + 0x10]
push 0x5199a8
push edx
call esi
add esp, 0x10
lea eax, [esp + 8]
push eax
call edi
lea ecx, [esp + 0x208]
push ecx
push 0
push 0
push 0x25
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
push 0x101ebde
lea edx, [esp + 0x20c]
push edx
lea eax, [esp + 0x10]
push str._s_s.doc
push eax
mov byte [esp + 0x21b], 0
call esi
add esp, 0x10
lea ecx, [esp + 8]
push ecx
call edi
push 0x101ebde
lea edx, [esp + 0x20c]
push edx
lea eax, [esp + 0x10]
push str._s_s.jpg
push eax
call esi
add esp, 0x10
lea ecx, [esp + 8]
push ecx
call edi
mov ecx, dword [esp + 0x408]
pop edi
pop esi
xor ecx, esp
call fcn.004e0148
add esp, 0x404
ret
Function at 0x49e090
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4f1d66
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x214]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.CTrojanCutDlg.0
mov dword [esp + 0x21c], 0xb
mov eax, dword [esi + 0x88]
test eax, eax
je 0x49e1d3
mov ecx, dword [0x10dd2b0]
cmp dword [ecx - 0xc], 0
je 0x49e106
push 0x10dd2b0
lea ecx, [eax + 0x74]
call fcn.00408640
mov edx, dword [0x10de368]
mov eax, dword [edx - 0xc]
test eax, eax
je 0x49e126
mov ecx, dword [esi + 0x88]
push 0x10de368
add ecx, 0x74
call fcn.00408640
mov eax, dword [0x10de384]
cmp dword [eax - 0xc], 0
je 0x49e144
mov ecx, dword [esi + 0x88]
push 0x10de384
add ecx, 0x74
call fcn.00408640
mov ecx, dword [0x10dd39c]
cmp dword [ecx - 0xc], 0
je 0x49e1b7
mov ecx, dword [esi + 0x88]
push 0x10dd39c
add ecx, 0x74
call fcn.00408640
lea edx, [esp + 0x10]
push edx
push 0
push 0
push 0x25
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x17], 0
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x21c], 0xc
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esi + 0x88]
add ecx, 0x74
call fcn.00408640
mov byte [esp + 0x21c], 0xb
lea ecx, [esp + 8]
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 0x50bd94
call fcn.004670f0
add esp, 4
cmp eax, 1
jg 0x49e1d3
call fcn.0049a530
call fcn.0049a6d0
mov byte [esp + 0x21c], 0xa
lea ecx, [esi + 0x324f4]
call sub.mfc90.dll_Ordinal_781
mov byte [esp + 0x21c], 9
lea ecx, [esi + 0x32450]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x21c], 8
lea ecx, [esi + 0x3221c]
call fcn.004630a0
mov byte [esp + 0x21c], 7
lea ecx, [esi + 0x321fc]
call sub.mfc90.dll_Ordinal_782
mov byte [esp + 0x21c], 6
lea ecx, [esi + 0x180]
call fcn.0044a050
mov byte [esp + 0x21c], 5
lea ecx, [esi + 0xf4]
call fcn.004625b0
mov byte [esp + 0x21c], 4
lea ecx, [esi + 0xec]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x21c], 3
lea ecx, [esi + 0xe8]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x21c], 2
lea ecx, [esi + 0xe4]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x21c], 1
lea ecx, [esi + 0xa4]
mov dword [ecx], vtable.CMenu.0
call sub.mfc90.dll_Ordinal_2130
mov byte [esp + 0x21c], 0
lea ecx, [esi + 0x90]
call fcn.004105d0
mov dword [esp + 0x21c], 0xffffffff
mov ecx, esi
call sub.mfc90.dll_Ordinal_639
mov ecx, dword [esp + 0x214]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.004e0148
add esp, 0x218
ret