joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448da0
Capabilities:
Get disk size

Disassembly:
mov eax, 0x102c
call sub.ntdll.dll__chkstk
mov eax, dword [0x4f8028]
xor eax, esp
mov dword [esp + 0x1024], eax
push ebx
push ebp
push esi
push edi
mov edi, edx
mov esi, ecx
mov eax, str.calc...
lea edx, [esi + 0x81c]
sub edx, eax
mov dword [esp + 0x14], edi
xor ebp, ebp
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bp
jne 0x448dd3
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x30]
push edx
push esi
mov dword [esi + 0x800], edi
mov dword [esi + 0x810], ebp
mov dword [esi + 0x814], ebp
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
sbb ecx, dword [esp + 0x1c]
mov dword [esi + 0x808], eax
mov eax, esi
mov dword [esi + 0x80c], ecx
lea edx, [eax + 2]
jmp 0x448e30
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x448e30
sub eax, edx
sar eax, 1
lea ebx, [esi + 0x400]
mov dword [esp + 0x18], eax
mov eax, ebx
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x448e50
sub eax, edx
lea edi, [esp + 0x830]
sar eax, 1
mov ecx, esi
sub edi, esi
lea ebx, [ebx]
movzx edx, word [ecx]
mov word [edi + ecx], dx
add ecx, 2
cmp dx, bp
jne 0x448e70
lea edi, [esp + 0x30]
mov ecx, ebx
sub edi, ebx
jmp 0x448e90
movzx edx, word [ecx]
mov word [edi + ecx], dx
add ecx, 2
cmp dx, bp
jne 0x448e90
mov edx, dword [esp + 0x18]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov word [esp + edx*2 + 0x82e], bp
mov word [esp + eax*2 + 0x2e], bp
call ebx
mov dword [esi + 0x818], eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x834]
push ecx
mov ecx, esi
call fcn.00449010
mov edi, eax
cmp edi, ebp
je 0x448ee5
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push 0x64
call eax
call ebx
mov ecx, eax
sub ecx, dword [esi + 0x818]
mov eax, 0x10624dd3
mul ecx
mov ecx, edx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
lea edx, [esp + 0x28]
shr ecx, 6
push edx
call fcn.004483f0
mov eax, 1
test byte [0x503544], al
jne 0x448f43
or dword [0x503544], eax
push 0x4732e0
mov dword [0x503520], 0x4e7bc8
mov dword [0x503524], 0xffffffff
call fcn.0046d920
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov esi, dword [0x503520]
push eax
push ecx
push edx
push 0x34
add esi, 8
call fcn.00448c50
add esp, 4
push eax
mov eax, dword [esi]
push str._s:_Copy_file_elapsed_time:___02d:_02d:_02d_
push 0x503520
call eax
mov ecx, dword [esp + 0x104c]
add esp, 0x18
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046d6fd
add esp, 0x102c
ret
Function at 0x448fa0
Capabilities:
Get file size

Disassembly:
sub esp, 0x10
push esi
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
xor eax, eax
cmp esi, 0xffffffff
je 0x448fe7
lea ecx, [esp + 8]
push ecx
push esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
push esi
jne 0x448fee
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
xor edx, edx
pop esi
add esp, 0x10
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
pop esi
add esp, 0x10
ret
Function at 0x449fd0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push esi
push 0
push 0x200
push eax
push ecx
call sub.ntdll.dll__allmul
push 0
mov dword [esp + 0x10], edx
lea edx, [esp + 0x10]
push edx
push eax
push edi
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x44a074
call fcn.00449f70
test eax, eax
jne 0x44a074
mov eax, 1
test byte [0x503544], al
jne 0x44a043
or dword [0x503544], eax
push 0x4732e0
mov dword [0x503520], 0x4e7bc8
mov dword [0x503524], 0xffffffff
call fcn.0046d920
add esp, 4
mov esi, dword [0x503520]
push 0x76
mov ecx, str.d:workDDCDDCIncludeDiskIO.h
add esi, 8
call fcn.00449ea0
add esp, 4
push eax
mov eax, dword [esi]
push str._s:_Failed_to_SetSectorPos_in_ReadSector.
push 0x503520
call eax
add esp, 0xc
xor eax, eax
pop esi
add esp, 0xc
ret
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x1c]
push ecx
mov edx, esi
shl edx, 9
push edx
push eax
push edi
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
or esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
je 0x44a0a7
test ecx, ecx
je 0x44a06d
test eax, eax
je 0x44a06d
test ecx, 0x1ff
jne 0x44a06d
mov eax, 1
pop esi
add esp, 0xc
ret
Function at 0x44a1a0
Capabilities:
Get volume information via ioctl

Disassembly:
sub esp, 0x6c
test byte [0x50354c], 1
push ebx
push ebp
push esi
push edi
jne 0x44a1c1
or dword [0x50354c], 1
mov dword [0x503548], 0x4e7844
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
push 0x80000000
push eax
mov eax, dword [0x503548]
push ecx
push edx
mov edx, dword [eax + 0x68]
mov ecx, 0x503548
call edx
mov esi, eax
test esi, esi
jne 0x44a250
test byte [0x503544], 1
jne 0x44a21d
or dword [0x503544], 1
push 0x4732e0
mov dword [0x503520], 0x4e7bc8
mov dword [0x503524], 0xffffffff
call fcn.0046d920
add esp, 4
mov esi, dword [0x503520]
push 0x3b
mov ecx, str.._ntfsstd.cpp
add esi, 8
call fcn.00449ea0
push eax
mov eax, dword [esi]
push str._s:_Failed_to_open_volume_by_ZwCreateFile.
push 0x503520
call eax
add esp, 0x10
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
push 0
lea ecx, [esp + 0x14]
push ecx
push 0x60
lea edx, [esp + 0x24]
push edx
push 0
push 0
push 0x90064
push esi
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x44a2b5
call fcn.004205a0
mov edi, eax
mov esi, dword [edi]
push 0x4f
mov ecx, str.._ntfsstd.cpp
add esi, 8
call fcn.00449ea0
push eax
mov eax, dword [esi]
push str._s:_Send_FSCTL_GET_NTFS_VOLUME_DATA_Control_Code_failed.
push edi
call eax
add esp, 0x10
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
mov ecx, dword [esp + 0x94]
mov edi, dword [esp + 0x28]
sub edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
sbb ebx, dword [esp + 0x34]
mov dword [ecx], 1
movzx ecx, word [esp + 0x90]
mov eax, ecx
cdq
mov dword [esp + 0x10], eax
mov eax, ecx
shl eax, 6
sub eax, ecx
mov dword [esp + 0x14], edx
mov ecx, edx
cdq
mov esi, edx
mov edx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x14]
mov ebp, eax
mov eax, dword [esp + 0x2c]
add ebp, dword [esp + 0x8c]
push eax
adc esi, dword [esp + 0x94]
push ecx
push edx
call sub.ntdll.dll__allmul
cmp edx, esi
jb 0x44a32d
ja 0x44a320
cmp eax, ebp
jbe 0x44a32d
mov eax, dword [esp + 0x94]
mov dword [eax], 0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ebx
push edi
push ecx
push edx
call sub.ntdll.dll__allmul
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
Function at 0x44b670
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push esi
push 0
push 0x200
push eax
push ecx
call sub.ntdll.dll__allmul
push 0
mov dword [esp + 0x10], edx
lea edx, [esp + 0x10]
push edx
push eax
push edi
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x44b714
call fcn.0044b610
test eax, eax
jne 0x44b714
mov eax, 1
test byte [0x503544], al
jne 0x44b6e3
or dword [0x503544], eax
push 0x4732e0
mov dword [0x503520], 0x4e7bc8
mov dword [0x503524], 0xffffffff
call fcn.0046d920
add esp, 4
mov esi, dword [0x503520]
push 0x76
mov ecx, str.d:workDDCDDCIncludeDiskIO.h
add esi, 8
call fcn.0044b540
add esp, 4
push eax
mov eax, dword [esi]
push str._s:_Failed_to_SetSectorPos_in_ReadSector.
push 0x503520
call eax
add esp, 0xc
xor eax, eax
pop esi
add esp, 0xc
ret
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x1c]
push ecx
mov edx, esi
shl edx, 9
push edx
push eax
push edi
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
or esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
je 0x44b747
test ecx, ecx
je 0x44b70d
test eax, eax
je 0x44b70d
test ecx, 0x1ff
jne 0x44b70d
mov eax, 1
pop esi
add esp, 0xc
ret

Function at 0x44bc80
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push esi
push 0
push 0x200
push eax
push ecx
call sub.ntdll.dll__allmul
push 0
mov dword [esp + 0x10], edx
lea edx, [esp + 0x10]
push edx
push eax
push edi
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x44bd24
call fcn.0044bc20
test eax, eax
jne 0x44bd24
mov eax, 1
test byte [0x503544], al
jne 0x44bcf3
or dword [0x503544], eax
push 0x4732e0
mov dword [0x503520], 0x4e7bc8
mov dword [0x503524], 0xffffffff
call fcn.0046d920
add esp, 4
mov esi, dword [0x503520]
push 0x76
mov ecx, str.d:workDDCDDCIncludeDiskIO.h
add esi, 8
call fcn.0044bb50
add esp, 4
push eax
mov eax, dword [esi]
push str._s:_Failed_to_SetSectorPos_in_ReadSector.
push 0x503520
call eax
add esp, 0xc
xor eax, eax
pop esi
add esp, 0xc
ret
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x1c]
push ecx
mov edx, esi
shl edx, 9
push edx
push eax
push edi
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
or esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
je 0x44bd57
test ecx, ecx
je 0x44bd1d
test eax, eax
je 0x44bd1d
test ecx, 0x1ff
jne 0x44bd1d
mov eax, 1
pop esi
add esp, 0xc
ret
Function at 0x44bd70
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
mov ecx, dword [esp + 0x14]
push esi
push 0
mov esi, eax
mov eax, dword [esp + 0x20]
push 0x200
push eax
push ecx
call sub.ntdll.dll__allmul
push 0
mov dword [esp + 0x10], edx
lea edx, [esp + 0x10]
push edx
push eax
push esi
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x44be19
call fcn.0044bc20
test eax, eax
jne 0x44be19
mov eax, 1
test byte [0x503544], al
jne 0x44bde5
or dword [0x503544], eax
push 0x4732e0
mov dword [0x503520], 0x4e7bc8
mov dword [0x503524], 0xffffffff
call fcn.0046d920
add esp, 4
mov esi, dword [0x503520]
push 0x8e
mov ecx, str.d:workDDCDDCIncludeDiskIO.h
add esi, 8
call fcn.0044bb50
add esp, 4
push eax
mov eax, dword [esi]
push str._s:_Failed_to_SetSectorPos_in_WriteSector.
push 0x503520
call eax
add esp, 0xc
xor eax, eax
pop esi
add esp, 0xc
ret
mov edx, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0x400
push edx
push esi
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x44be12
test eax, eax
je 0x44be12
test ecx, 0x1ff
jne 0x44be12
mov eax, 1
pop esi
add esp, 0xc
ret

Function at 0x44d480
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push esi
push 0
push 0x200
push eax
push ecx
call sub.ntdll.dll__allmul
push 0
mov dword [esp + 0x10], edx
lea edx, [esp + 0x10]
push edx
push eax
push edi
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x44d524
call fcn.0044d420
test eax, eax
jne 0x44d524
mov eax, 1
test byte [0x503544], al
jne 0x44d4f3
or dword [0x503544], eax
push 0x4732e0
mov dword [0x503520], 0x4e7bc8
mov dword [0x503524], 0xffffffff
call fcn.0046d920
add esp, 4
mov esi, dword [0x503520]
push 0x76
mov ecx, str.d:workDDCDDCIncludeDiskIO.h
add esi, 8
call fcn.0044d350
add esp, 4
push eax
mov eax, dword [esi]
push str._s:_Failed_to_SetSectorPos_in_ReadSector.
push 0x503520
call eax
add esp, 0xc
xor eax, eax
pop esi
add esp, 0xc
ret
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x1c]
push ecx
mov edx, esi
shl edx, 9
push edx
push eax
push edi
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
or esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
je 0x44d557
test ecx, ecx
je 0x44d51d
test eax, eax
je 0x44d51d
test ecx, 0x1ff
jne 0x44d51d
mov eax, 1
pop esi
add esp, 0xc
ret
Function at 0x44d570
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push esi
push 0
push 0x200
push eax
push ecx
call sub.ntdll.dll__allmul
push 0
mov dword [esp + 0x10], edx
lea edx, [esp + 0x10]
push edx
push eax
push edi
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x44d617
call fcn.0044d420
test eax, eax
jne 0x44d617
mov eax, 1
test byte [0x503544], al
jne 0x44d5e3
or dword [0x503544], eax
push 0x4732e0
mov dword [0x503520], 0x4e7bc8
mov dword [0x503524], 0xffffffff
call fcn.0046d920
add esp, 4
mov esi, dword [0x503520]
push 0x8e
mov ecx, str.d:workDDCDDCIncludeDiskIO.h
add esi, 8
call fcn.0044d350
add esp, 4
push eax
mov eax, dword [esi]
push str._s:_Failed_to_SetSectorPos_in_WriteSector.
push 0x503520
call eax
add esp, 0xc
xor eax, eax
pop esi
add esp, 0xc
ret
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x1c]
push ecx
mov edx, esi
shl edx, 9
push edx
push eax
push edi
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
or esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
je 0x44d64a
test ecx, ecx
je 0x44d610
test eax, eax
je 0x44d610
test ecx, 0x1ff
jne 0x44d610
mov eax, 1
pop esi
add esp, 0xc
ret
Function at 0x44f6e0
Capabilities:
Check os version

Disassembly:
sub esp, 0x158
mov eax, dword [0x4f8028]
xor eax, esp
mov dword [esp + 0x154], eax
push esi
lea eax, [esp + 4]
push eax
mov dword [esp + 8], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 8], 6
jb 0x44f7af
mov eax, 1
test byte [0x503528], al
jne 0x44f744
or dword [0x503528], eax
mov dword [0x5032ec], 0x4e8ab4
mov dword [0x5032f0], 0
mov dword [0x5032f4], 0
mov edx, dword [0x5032ec]
mov eax, dword [edx + 0xc]
push edi
mov ecx, 0x5032ec
call eax
mov esi, eax
test esi, esi
jge 0x44f774
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x154]
xor ecx, esp
call fcn.0046d6fd
add esp, 0x158
ret
call fcn.0042cc20
test eax, eax
push edi
push esi
je 0x44f797
lea ecx, [esp + 0x120]
push 0x4e7bd4
push ecx
call dword [sym.imp.MSVCR80.dll__swprintf]
add esp, 0x10
jmp 0x44f7e1
lea edx, [esp + 0x120]
push str..ddcwrtDR_dDISK_d
push edx
call dword [sym.imp.MSVCR80.dll__swprintf]
add esp, 0x10
jmp 0x44f7e1
push 0x3e
lea ecx, [esp + 0x11e]
push 0
push ecx
mov word [esp + 0x124], 0
call sub.ntdll.dll_memset
push edi
lea edx, [esp + 0x128]
push str..PhysicalDrive_d
push edx
call dword [sym.imp.MSVCR80.dll__swprintf]
add esp, 0x18
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
lea eax, [esp + 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [esp + 0x158]
pop esi
xor ecx, esp
call fcn.0046d6fd
add esp, 0x158
ret

Function at 0x44f880
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push esi
push 0
push 0x200
push eax
push ecx
call sub.ntdll.dll__allmul
push 0
mov dword [esp + 0x10], edx
lea edx, [esp + 0x10]
push edx
push eax
push edi
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x44f924
call fcn.0044f820
test eax, eax
jne 0x44f924
mov eax, 1
test byte [0x503544], al
jne 0x44f8f3
or dword [0x503544], eax
push 0x4732e0
mov dword [0x503520], 0x4e7bc8
mov dword [0x503524], 0xffffffff
call fcn.0046d920
add esp, 4
mov esi, dword [0x503520]
push 0x76
mov ecx, str.d:workDDCDDCIncludeDiskIO.h
add esi, 8
call fcn.0044f610
add esp, 4
push eax
mov eax, dword [esi]
push str._s:_Failed_to_SetSectorPos_in_ReadSector.
push 0x503520
call eax
add esp, 0xc
xor eax, eax
pop esi
add esp, 0xc
ret
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x1c]
push ecx
mov edx, esi
shl edx, 9
push edx
push eax
push edi
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
or esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
je 0x44f957
test ecx, ecx
je 0x44f91d
test eax, eax
je 0x44f91d
test ecx, 0x1ff
jne 0x44f91d
mov eax, 1
pop esi
add esp, 0xc
ret
Function at 0x44f970
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push esi
push 0
push 0x200
push eax
push ecx
call sub.ntdll.dll__allmul
push 0
mov dword [esp + 0x10], edx
lea edx, [esp + 0x10]
push edx
push eax
push edi
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x44fa17
call fcn.0044f820
test eax, eax
jne 0x44fa17
mov eax, 1
test byte [0x503544], al
jne 0x44f9e3
or dword [0x503544], eax
push 0x4732e0
mov dword [0x503520], 0x4e7bc8
mov dword [0x503524], 0xffffffff
call fcn.0046d920
add esp, 4
mov esi, dword [0x503520]
push 0x8e
mov ecx, str.d:workDDCDDCIncludeDiskIO.h
add esi, 8
call fcn.0044f610
add esp, 4
push eax
mov eax, dword [esi]
push str._s:_Failed_to_SetSectorPos_in_WriteSector.
push 0x503520
call eax
add esp, 0xc
xor eax, eax
pop esi
add esp, 0xc
ret
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x1c]
push ecx
mov edx, esi
shl edx, 9
push edx
push eax
push edi
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
or esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
je 0x44fa4a
test ecx, ecx
je 0x44fa10
test eax, eax
je 0x44fa10
test ecx, 0x1ff
jne 0x44fa10
mov eax, 1
pop esi
add esp, 0xc
ret
Function at 0x4543d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x472b6e
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4f8028]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor edi, edi
mov dword [esi + 0x438], edi
mov dword [esi + 0x43c], edi
mov dword [esi + 0x440], edi
mov dword [esp + 0x14], edi
push 0x400
lea eax, [esi + 0x1c]
push edi
push eax
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x424], edi
mov dword [esi + 0x428], edi
mov dword [esi + 0x42c], edi
mov word [esi + 0x430], di
mov dword [esi + 0x420], edi
call sub.ntdll.dll_memset
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
add esp, 0xc
push edi
push edi
push ecx
push edx
mov eax, esi
mov dword [esi + 0x41c], edi
mov dword [esi + 0x450], edi
call fcn.00454690
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0xc

Function at 0x455960
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push esi
push 0
push 0x200
push eax
push ecx
call sub.ntdll.dll__allmul
push 0
mov dword [esp + 0x10], edx
lea edx, [esp + 0x10]
push edx
push eax
push edi
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x455a04
call fcn.00455900
test eax, eax
jne 0x455a04
mov eax, 1
test byte [0x503544], al
jne 0x4559d3
or dword [0x503544], eax
push 0x4732e0
mov dword [0x503520], 0x4e7bc8
mov dword [0x503524], 0xffffffff
call fcn.0046d920
add esp, 4
mov esi, dword [0x503520]
push 0x76
mov ecx, str.d:workDDCDDCIncludeDiskIO.h
add esi, 8
call fcn.00455830
add esp, 4
push eax
mov eax, dword [esi]
push str._s:_Failed_to_SetSectorPos_in_ReadSector.
push 0x503520
call eax
add esp, 0xc
xor eax, eax
pop esi
add esp, 0xc
ret
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x1c]
push ecx
mov edx, esi
shl edx, 9
push edx
push eax
push edi
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
or esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
je 0x455a37
test ecx, ecx
je 0x4559fd
test eax, eax
je 0x4559fd
test ecx, 0x1ff
jne 0x4559fd
mov eax, 1
pop esi
add esp, 0xc
ret
Function at 0x457410
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push esi
push 0
push 0x200
push eax
push ecx
call sub.ntdll.dll__allmul
push 0
mov dword [esp + 0x10], edx
lea edx, [esp + 0x10]
push edx
push eax
push edi
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x4574b4
call fcn.004573b0
test eax, eax
jne 0x4574b4
mov eax, 1
test byte [0x503544], al
jne 0x457483
or dword [0x503544], eax
push 0x4732e0
mov dword [0x503520], 0x4e7bc8
mov dword [0x503524], 0xffffffff
call fcn.0046d920
add esp, 4
mov esi, dword [0x503520]
push 0x76
mov ecx, str.d:workDDCDDCIncludeDiskIO.h
add esi, 8
call fcn.004572e0
add esp, 4
push eax
mov eax, dword [esi]
push str._s:_Failed_to_SetSectorPos_in_ReadSector.
push 0x503520
call eax
add esp, 0xc
xor eax, eax
pop esi
add esp, 0xc
ret
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x1c]
push ecx
mov edx, esi
shl edx, 9
push edx
push eax
push edi
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
or esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
je 0x4574e7
test ecx, ecx
je 0x4574ad
test eax, eax
je 0x4574ad
test ecx, 0x1ff
jne 0x4574ad
mov eax, 1
pop esi
add esp, 0xc
ret
Function at 0x459710
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x46e829
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4f8028]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [0x4f8028]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [esp + 0x34]
add eax, 0x38
push eax
lea ecx, [esp + 8]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
push str.WindowsGA_OF.dat
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
cmp dword [esp + 0x1c], 8
mov eax, dword [esp + 8]
jae 0x459776
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [esp + 4]
jne 0x459797
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor al, al
jmp 0x45979f
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov al, 1
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0046d6fd
add esp, 0x2c
ret 4