joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45a870
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x48698c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x41c
mov eax, dword [0x4ce19c]
push esi
mov esi, dword [esp + 0x438]
push edi
mov edi, dword [esp + 0x438]
push esi
push edi
add ecx, 8
push ecx
push str._s_s_s
mov dword [esp + 0x430], eax
lea eax, [esp + 0x20]
push 0x208
push eax
call fcn.00403fa3
push esi
mov esi, dword [esp + 0x450]
push edi
push str.Documents_and_Settings
push esi
push str._s_s_s_s
lea ecx, [esp + 0x244]
push 0x208
push ecx
call fcn.00403fa3
add esp, 0x34
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45a952
test esi, esi
je 0x45a952
mov eax, dword [esp + 0x440]
push eax
push 0
push 1
push 1
push ecx
lea edx, [esp + 0x22c]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov dword [esp + 0x448], 0
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
mov dword [esp + 0x444], 0xffffffff
call fcn.00459a10
add esp, 0x18
jmp 0x45a971
push 0
push ecx
lea edx, [esp + 0x220]
mov ecx, esp
mov dword [esp + 0x10], esp
push edx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
call fcn.0045c3b0
add esp, 8
mov ecx, dword [esp + 0x424]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x420]
call fcn.00475533
pop edi
pop esi
add esp, 0x428
ret 0x10

Function at 0x45a9a0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4869ac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x624
mov eax, dword [0x4ce19c]
push esi
mov esi, dword [esp + 0x63c]
mov dword [esp + 0x624], eax
mov eax, dword [ecx + 0x214]
push eax
push esi
lea ecx, [esp + 0x14]
push 0x208
push ecx
call fcn.00403fa3
push str.ProgramData
push esi
lea edx, [esp + 0x434]
push 0x208
push edx
call fcn.00403fa3
mov esi, dword [esp + 0x658]
lea eax, [esp + 0x43c]
push eax
push esi
push 0x48be08
lea ecx, [esp + 0x240]
push 0x208
push ecx
call fcn.00403fa3
add esp, 0x34
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45aa90
test esi, esi
je 0x45aa90
mov eax, dword [esp + 0x640]
push eax
push 0
push 1
push 1
push ecx
lea edx, [esp + 0x228]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov dword [esp + 0x64c], 0
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
mov dword [esp + 0x648], 0xffffffff
call fcn.00459a10
add esp, 0x18
jmp 0x45aaaf
push 0
push ecx
lea edx, [esp + 0x21c]
mov ecx, esp
mov dword [esp + 0xc], esp
push edx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
call fcn.0045c3b0
add esp, 8
mov ecx, dword [esp + 0x628]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x624]
call fcn.00475533
pop esi
add esp, 0x630
ret 0xc
Function at 0x45aae0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4869f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x250
mov eax, dword [0x4ce19c]
mov dword [esp + 0x24c], eax
mov eax, dword [esp + 0x268]
push eax
lea ecx, [esp + 0x270]
mov dword [esp + 0x25c], 0
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::GetBuffer]
push eax
push 0x48be08
lea ecx, [esp + 0x50]
push 0x208
push ecx
call fcn.00403fa3
lea edx, [esp + 0x58]
push edx
call fcn.004579e0
add esp, 0x18
test eax, eax
je 0x45ab9a
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x45ab9a
push ecx
lea edx, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.DeleteFile
mov byte [esp + 0x264], 1
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push 0
mov byte [esp + 0x264], 0
call fcn.00458010
add esp, 0xc
mov eax, dword [esp + 0x264]
push eax
lea ecx, [esp + 4]
call fcn.00414780
mov edx, dword [esp + 0x260]
push 0
push 0
push 0x20019
lea ecx, [esp + 0xc]
push ecx
push edx
lea ecx, [esp + 0x34]
mov byte [esp + 0x26c], 2
call fcn.0041a730
lea ecx, [esp]
mov byte [esp + 0x258], 4
call fcn.004034a5
lea ecx, [esp + 0x20]
call fcn.0041a280
test al, al
je 0x45ac28
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x10]
call fcn.00414780
push 0
push 1
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x264], 5
call fcn.0041aa70
lea ecx, [esp + 0xc]
mov byte [esp + 0x258], 4
call fcn.004034a5
lea ecx, [esp + 0x20]
mov byte [esp + 0x258], 0
call fcn.0041a860
lea ecx, [esp + 0x26c]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x250]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x24c]
mov al, 1
call fcn.00475533
add esp, 0x25c
ret 0x10
Function at 0x45b780
Capabilities:
Get disk information
Get disk information via ioctl

Disassembly:
push 0xffffffffffffffff
push 0x486adb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov eax, dword [0x4ce19c]
push ebx
push ebp
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x54]
push esi
push edi
mov dword [eax], 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
push 0x4a3e7c
lea ecx, [esp + 0x30]
mov ebx, eax
push 8
push ecx
shr ebx, 2
mov edi, 2
call fcn.00458a50
push str.._:
lea edx, [esp + 0x44]
push 0xe
push edx
call fcn.00458a50
add esp, 0x18
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_5]
test ebx, ebx
mov dword [esp + 0x50], 0
je 0x45b95a
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileW]
test bl, 1
je 0x45b94f
lea eax, [edi + 0x41]
mov word [esp + 0x2c], ax
mov word [esp + 0x3c], ax
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x45b94f
push 0
push 0x80
push eax
push 0
push eax
push 0x20000
lea ecx, [esp + 0x4c]
push ecx
call ebp
mov esi, eax
cmp esi, 0xffffffff
je 0x45b90c
push 0
lea edx, [esp + 0x20]
push edx
push 0xc
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push 0x2d1080
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x45b89f
mov ecx, dword [esp + 0x58]
cmp dword [esp + 0x24], ecx
jne 0x45b903
mov eax, dword [esp + 0x5c]
mov ecx, edi
mov edx, 1
shl edx, cl
mov ecx, dword [eax]
push esi
or ecx, edx
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x45b94f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 1
je 0x45b903
mov edx, dword [esp + 0x58]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x30]
push ecx
push edx
lea eax, [esp + 0x1c]
push str.listPartitionsOnDrive_d__s__s
push eax
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
add esp, 0x10
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_4]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IOCTL_STORAGE_GET_DEVICE_NUMBER
mov byte [esp + 0x5c], 1
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push 0
mov byte [esp + 0x5c], 0
call fcn.00458010
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x45b94f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 1
je 0x45b94f
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.listPartitionsOnDrive
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.CreateFile
mov byte [esp + 0x5c], 2
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push 0
mov byte [esp + 0x5c], 0
call fcn.00458010
add esp, 0xc
shr ebx, 1
inc edi
test ebx, ebx
jne 0x45b804
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x44]
xor eax, eax
call fcn.00475533
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
Function at 0x45ba10
Capabilities:
Get disk information via ioctl

Disassembly:
sub esp, 0x20
mov eax, dword [0x4ce19c]
push esi
push edi
push str.._:
mov dword [esp + 0x28], eax
lea eax, [esp + 0x18]
push 0xe
push eax
call fcn.00458a50
mov edi, dword [esp + 0x3c]
mov si, word [esp + 0x38]
add esp, 0xc
test edi, edi
mov word [esp + 0x1c], si
je 0x45ba4a
mov dword [edi], 0xffffffff
call fcn.00457af0
test eax, eax
je 0x45ba70
mov ecx, dword [0x4e3150]
cmp si, word [ecx]
jne 0x45ba70
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x1c]
call fcn.00475533
add esp, 0x20
ret
push 0
push 0x80
push 3
push 0
push 3
push 0x20000
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x45bb20
push 0
lea eax, [esp + 0x30]
push eax
push 0xc
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 0x2d1080
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x45baea
test edi, edi
je 0x45bac4
mov edx, dword [esp + 0xc]
mov dword [edi], edx
mov eax, dword [esp + 0x34]
test eax, eax
je 0x45bb08
mov ecx, dword [esp + 0x10]
push esi
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x1c]
call fcn.00475533
add esp, 0x20
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x18]
push edx
push str.getPartitionAssignment___DeviceIoControl___on__s_failed._Error__d
push 0x48ae58
call fcn.004572b0
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x1c]
call fcn.00475533
add esp, 0x20
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x18]
push eax
push str.getPartitionAssignment___CreateFile___on__s_failed._Error__d
push 0x48ae58
call fcn.004572b0
mov ecx, dword [esp + 0x34]
add esp, 0x10
pop edi
xor eax, eax
pop esi
call fcn.00475533
add esp, 0x20
ret
Function at 0x45bbd0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x486b08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x214
mov eax, dword [0x4ce19c]
push ebp
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x218], eax
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_5]
mov eax, dword [esp + 0x234]
mov edi, dword [esp + 0x230]
test edi, edi
mov ebp, dword [esp + 0x238]
mov dword [eax], 0
mov dword [esp + 0x224], 0
mov dword [ebp], 0
jne 0x45bc43
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
jmp 0x45bd3b
push esi
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_5]
mov ecx, dword [esp + 0x230]
push ecx
lea edx, [esp + 0x10]
push str..PHYSICALDRIVE_d
push edx
mov byte [esp + 0x234], 1
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
mov eax, dword [esp + 0x18]
add esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0x20000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x45bd26
mov eax, dword [edi]
mov ecx, dword [edi + 4]
push ebx
push 0
lea edx, [esp + 0x1c]
push edx
push eax
push esi
mov dword [esp + 0x28], ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea ecx, [esp + 0x20]
push ecx
push 0x200
lea edx, [esp + 0x2c]
push edx
push esi
call ebx
movzx eax, byte [esp + 0x2d]
mov dword [ebp], eax
mov ax, word [esp + 0x50]
cmp ax, 0xffff
je 0x45bd1e
cmp ax, word [esp + 0x2e]
jae 0x45bd1e
xor edi, edi
test ax, ax
jbe 0x45bd0e
lea ebx, [ebx]
push 0
lea ecx, [esp + 0x20]
push ecx
push 0x200
lea edx, [esp + 0x2c]
push edx
push esi
call ebx
movzx eax, word [esp + 0x50]
inc edi
cmp edi, eax
jl 0x45bcf0
mov ecx, dword [esp + 0x208]
mov edx, dword [esp + 0x23c]
mov dword [edx], ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
pop esi
mov ecx, dword [esp + 0x21c]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x214]
xor eax, eax
pop ebp
call fcn.00475533
add esp, 0x220
ret
Function at 0x45c270
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x486b69
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov eax, dword [0x4ce19c]
push ebx
push esi
push edi
push 0x7e00
mov dword [esp + 0x44], eax
call dword [sym.imp.MSVCR71.dll_malloc]
mov esi, eax
add esp, 4
xor eax, eax
test esi, esi
je 0x45c38d
mov ecx, 0x1f80
mov edi, esi
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x54]
push eax
push str..PHYSICALDRIVE_d
lea ecx, [esp + 0x20]
push 0x28
push ecx
call fcn.00403fa3
add esp, 0x10
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x45c343
push 0
lea eax, [esp + 0x18]
push eax
push 0x7e00
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x58]
push 0x48a744
push ecx
call dword [sym.imp.MSVCR71.dll__wfopen]
mov edi, eax
add esp, 8
test edi, edi
je 0x45c33a
push edi
push 1
push 0x7e00
push esi
call dword [sym.imp.MSVCR71.dll_fwrite]
push edi
call dword [sym.imp.MSVCR71.dll_fclose]
add esp, 0x14
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x45c381
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push 0x48b000
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.storeBootTrack
mov dword [esp + 0x58], 0
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push 0
mov dword [esp + 0x58], 0xffffffff
call fcn.00458010
add esp, 0xc
push esi
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x40]
call fcn.00475533
pop edi
pop esi
pop ebx
add esp, 0x44
ret
Function at 0x45d090
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x486cb9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push 0
lea eax, [esp + 0xc]
push eax
mov esi, 1
push esi
push 0
mov ecx, 0x4e313c
xor bl, bl
call fcn.0046ccb0
lea ecx, [esp + 0x1c]
call fcn.00414090
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0
call fcn.00414090
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_5]
cmp dword [esp + 8], esi
mov byte [esp + 0x30], 2
jb 0x45d14b
push 0
lea ecx, [esp + 0x20]
push ecx
push esi
push 0xc
mov ecx, 0x4e313c
call fcn.0046c880
push 0
lea edx, [esp + 0x14]
push edx
push esi
push 0xd
mov ecx, 0x4e313c
call fcn.0046c880
mov eax, dword [esp + 0x20]
push eax
call fcn.00457a70
add esp, 4
test al, al
jne 0x45d149
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00457a70
add esp, 4
test al, al
jne 0x45d149
mov eax, dword [esp + 8]
inc esi
cmp esi, eax
jbe 0x45d0f4
jmp 0x45d14b
mov bl, 1
call fcn.00457af0
test eax, eax
je 0x45d16a
movzx edx, bl
push edx
push str.hasNewSP_returning__d
push 0x48ae58
call fcn.004572b0
add esp, 0xc
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 0
call fcn.004034a5
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0xffffffff
call fcn.004034a5
mov ecx, dword [esp + 0x28]
pop esi
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x45d1b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x486ce9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push 0
lea eax, [esp + 0xc]
push eax
mov esi, 1
push esi
push 0
mov ecx, 0x4e313c
xor bl, bl
call fcn.0046ccb0
lea ecx, [esp + 0x10]
call fcn.00414090
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0
call fcn.00414090
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_5]
cmp dword [esp + 8], esi
mov byte [esp + 0x30], 2
jb 0x45d246
push 0
lea ecx, [esp + 0x14]
push ecx
push esi
push 0xc
mov ecx, 0x4e313c
call fcn.0046c880
mov edx, dword [esp + 0x14]
push edx
call fcn.00457ac0
add esp, 4
test al, al
jne 0x45d244
mov eax, dword [esp + 8]
inc esi
cmp esi, eax
jbe 0x45d214
jmp 0x45d246
mov bl, 1
call fcn.00457af0
test eax, eax
je 0x45d265
movzx eax, bl
push eax
push str.hasNewSP_returning__d
push 0x48ae58
call fcn.004572b0
add esp, 0xc
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 0
call fcn.004034a5
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call fcn.004034a5
mov ecx, dword [esp + 0x28]
pop esi
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x45d660
Capabilities:
Get disk information

Disassembly:
sub esp, 0x2d4
mov eax, dword [0x4ce19c]
push ebx
push esi
push edi
push 0x4a3e7c
mov dword [esp + 0x2e0], eax
push 0x64
lea eax, [esp + 0x14]
push eax
mov ebx, ecx
call fcn.0040120a
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov esi, 0x43
lea ecx, [esp + 0xc]
push ecx
mov word [esp + 0x10], si
call edi
cmp eax, 5
jne 0x45d6da
push esi
call fcn.004598f0
push eax
movzx edx, si
push edx
push str._c:_s
lea eax, [esp + 0xe4]
push 0x208
push eax
call fcn.00403fa3
lea ecx, [esp + 0xec]
push ecx
call fcn.004579e0
add esp, 0x1c
test eax, eax
jne 0x45d6f9
inc esi
cmp si, 0x5a
jbe 0x45d693
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x2d0]
call fcn.00475533
add esp, 0x2d4
ret
lea edx, [esp + 0xd4]
push edx
push 0x104
add ebx, 4
push ebx
call fcn.0040120a
mov ecx, dword [esp + 0x2dc]
pop edi
pop esi
mov al, 1
pop ebx
call fcn.00475533
add esp, 0x2d4
ret

Function at 0x4605e0
Capabilities:
Check if file exists
Delete file

Disassembly:
sub esp, 0x414
mov eax, dword [0x4ce19c]
push ebx
push esi
push 0
mov dword [esp + 0x41c], eax
mov esi, ecx
mov bl, 1
call fcn.0045efc0
cmp dword [esi + 0x20c], 2
je 0x46069b
mov eax, dword [esp + 0x420]
push eax
mov ecx, esi
call fcn.0045f6f0
mov ecx, dword [esi + 0x210]
push ecx
push str.bt_d.dat
lea edx, [esp + 0x218]
push 0x208
push edx
mov bl, al
call fcn.00403fa3
lea eax, [esp + 0x220]
push eax
push str.common
lea ecx, [esi + 4]
push ecx
push str._s_s_s
lea edx, [esp + 0x28]
push 0x208
push edx
call fcn.00403fa3
add esp, 0x28
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x46069b
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 2
je 0x46069a
call edi
push eax
lea ecx, [esp + 0x10]
push ecx
push str.CRRBackup::removeLevel_____DeleteFile__s__failed.__Error__d
push 0x48ae58
call fcn.004572b0
add esp, 0x10
pop edi
mov ecx, esi
call fcn.0045e0c0
test al, al
je 0x4606c3
test bl, bl
je 0x4606c3
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x410]
call fcn.00475533
add esp, 0x414
ret 4
mov ecx, dword [esp + 0x418]
pop esi
xor al, al
pop ebx
call fcn.00475533
add esp, 0x414
ret 4
Function at 0x461740
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x487321
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x230
mov eax, dword [0x4ce19c]
mov dword [esp + 0x22c], eax
call fcn.00457af0
test eax, eax
jne 0x461799
push str.CommonFiles
push str.SOFTWARELenovoRescue_and_Recovery
call fcn.00459d90
push eax
push str._smsgbox.exe
lea eax, [esp + 0x34]
push 0x208
push eax
call fcn.00403fa3
add esp, 0x18
jmp 0x4617bc
mov ecx, dword [0x4e314c]
push str.preboot
push ecx
push str._s_sutilsmsgbox.exe
lea edx, [esp + 0x30]
push 0x208
push edx
call fcn.00403fa3
add esp, 0x14
push 0x48b000
lea ecx, [esp + 0x10]
call fcn.00414780
push 0x4a4dcc
lea ecx, [esp + 4]
mov dword [esp + 0x23c], 0
call fcn.00414780
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x23c], 1
call fcn.00414780
push 1
push 0x20
lea ecx, [esp + 0x14]
push ecx
push 0
push 5
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x254], 2
call fcn.0046ad20
add esp, 0x1c
lea ecx, [esp + 0x18]
mov byte [esp + 0x238], 1
call fcn.004034a5
lea ecx, [esp]
mov byte [esp + 0x238], 0
call fcn.004034a5
lea ecx, [esp + 0xc]
mov dword [esp + 0x238], 0xffffffff
call fcn.004034a5
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x22c]
call fcn.00475533
add esp, 0x23c
ret
Function at 0x462bb0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
mov eax, dword fs:[0]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
push 0x48748d
push eax
mov eax, dword [esp + 0x18]
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
push eax
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x462c0b
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x48b000
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
mov dword [esp + 0x28], esi
push str.FindResource
jmp 0x462d07
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x462c43
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x48b000
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
mov dword [esp + 0x28], 1
push 0x4a5238
jmp 0x462d07
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
push 0
jne 0x462ca1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x48affc
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Error_on_LockResource
mov dword [esp + 0x30], 2
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00457810
add esp, 0xc
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x462cd3
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x48b000
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
mov dword [esp + 0x28], 3
push str.GetModuleHandle
jmp 0x462d07
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
jne 0x462d32
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x48b000
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
mov dword [esp + 0x28], 4
push 0x4a51cc
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push 0
mov dword [esp + 0x2c], 0xffffffff
call fcn.00458010
add esp, 0xc
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov ebp, dword [esp + 0x28]
push 0x48a744
push ebp
call dword [sym.imp.MSVCR71.dll__wfopen]
mov edi, eax
add esp, 8
test edi, edi
jne 0x462d71
push ebp
push str.Error_writing__s
push 0x48ae58
call fcn.004572b0
add esp, 0xc
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
push edi
push esi
push 1
push ebx
call dword [sym.imp.MSVCR71.dll_fwrite]
add esp, 0x10
cmp eax, esi
je 0x462d98
push esi
push eax
push ebp
push str.Error_writing__s___d____d_
push 0x48ae58
call fcn.004572b0
add esp, 0x14
push edi
call dword [sym.imp.MSVCR71.dll_fclose]
mov ecx, dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret