joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10044c20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009a540
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
push 0x28
xor ebx, ebx
push str.Day_of_month_value_is_out_of_range_1..31
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.10047880
mov dword [esp + 0x34], ebx
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.10047820
mov byte [esp + 0x34], 2
cmp dword [esp + 0x28], 0x10
jb 0x10044c96
mov ecx, dword [esp + 0x14]
push ecx
call fcn.1004ad4f
add esp, 4
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
mov dword [esi], vtable.boost::gregorian::bad_day_of_month.0
mov dword [esp + 0x34], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x2c
ret

Function at 0x10044d60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009a6a3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov edi, dword [esp + 0x24]
push edi
call fcn.10045210
mov dword [esp + 0x1c], 0
mov dword [esi + 0x3c], vtable.boost::exception_detail::clone_base.0
mov byte [esp + 0x1c], 1
mov dword [esi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_month__.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_month__.0
mov dword [esi + 0x3c], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_month__.2.0
test edi, edi
je 0x10044dc5
lea ebx, [edi + 0x28]
jmp 0x10044dc7
xor ebx, ebx
mov ecx, dword [esi + 0x2c]
mov edi, dword [ebx + 4]
test ecx, ecx
je 0x10044dd8
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
mov dword [esi + 0x2c], edi
test edi, edi
je 0x10044de8
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
mov eax, dword [ebx + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [ebx + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [ebx + 0x10]
mov dword [esi + 0x38], edx
mov dword [esp + 0x1c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x10045360
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009a540
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
push 0x22
xor ebx, ebx
push str.Month_number_is_out_of_range_1..12
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.10047880
mov dword [esp + 0x34], ebx
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.10047820
mov byte [esp + 0x34], 2
cmp dword [esp + 0x28], 0x10
jb 0x100453d6
mov ecx, dword [esp + 0x14]
push ecx
call fcn.1004ad4f
add esp, 4
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
mov dword [esi], vtable.boost::gregorian::bad_month.0
mov dword [esp + 0x34], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x2c
ret

Function at 0x100454f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009a603
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov edi, dword [esp + 0x24]
push edi
call fcn.100459a0
mov dword [esp + 0x1c], 0
mov dword [esi + 0x3c], vtable.boost::exception_detail::clone_base.0
mov byte [esp + 0x1c], 1
mov dword [esi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_year__.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_year__.0
mov dword [esi + 0x3c], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_year__.2.0
test edi, edi
je 0x10045555
lea ebx, [edi + 0x28]
jmp 0x10045557
xor ebx, ebx
mov ecx, dword [esi + 0x2c]
mov edi, dword [ebx + 4]
test ecx, ecx
je 0x10045568
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
mov dword [esi + 0x2c], edi
test edi, edi
je 0x10045578
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
mov eax, dword [ebx + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [ebx + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [ebx + 0x10]
mov dword [esi + 0x38], edx
mov dword [esp + 0x1c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x10045af0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009a540
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
push 0x27
xor ebx, ebx
push str.Year_is_out_of_valid_range:_1400..10000
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.10047880
mov dword [esp + 0x34], ebx
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.10047820
mov byte [esp + 0x34], 2
cmp dword [esp + 0x28], 0x10
jb 0x10045b66
mov ecx, dword [esp + 0x14]
push ecx
call fcn.1004ad4f
add esp, 4
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
mov dword [esi], vtable.boost::gregorian::bad_year.0
mov dword [esp + 0x34], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x2c
ret

Function at 0x10045f40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10099db3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov edi, dword [esp + 0x24]
push edi
call fcn.10046450
mov dword [esp + 0x1c], 0
mov dword [esi + 0x3c], vtable.boost::exception_detail::clone_base.0
mov byte [esp + 0x1c], 1
mov dword [esi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_std::runtime_error__.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_std::runtime_error__.0
mov dword [esi + 0x3c], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_std::runtime_error__.2.0
test edi, edi
je 0x10045fa5
lea ebx, [edi + 0x28]
jmp 0x10045fa7
xor ebx, ebx
mov ecx, dword [esi + 0x2c]
mov edi, dword [ebx + 4]
test ecx, ecx
je 0x10045fb8
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
mov dword [esi + 0x2c], edi
test edi, edi
je 0x10045fc8
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
mov eax, dword [ebx + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [ebx + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [ebx + 0x10]
mov dword [esi + 0x38], edx
mov dword [esp + 0x1c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x10046fd0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x100a1136
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push edi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x18], 1
call fcn.10046ef0
mov ecx, dword [esp + 0x24]
mov dword [esi], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov dword [esi + 4], edx
push 0xffffffffffffffff
lea ecx, [esi + 0x10]
xor ebx, ebx
push ebx
lea eax, [esp + 0x30]
mov edi, 7
xor edx, edx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push eax
mov word [ecx + 4], dx
call fcn.10048b90
mov byte [esp + 0x18], 2
push 0xffffffffffffffff
lea ecx, [esi + 0x2c]
push ebx
lea eax, [esp + 0x4c]
xor edx, edx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push eax
mov word [ecx + 4], dx
call fcn.10048b90
mov byte [esp + 0x18], 3
mov ecx, dword [esp + 0x60]
mov dword [esi + 0x48], ecx
mov byte [esp + 0x18], bl
cmp dword [esp + 0x40], 8
jb 0x1004707f
mov edx, dword [esp + 0x2c]
push edx
call fcn.1004ad4f
add esp, 4
xor eax, eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], ax
mov dword [esp + 0x18], 0xffffffff
cmp dword [esp + 0x5c], 8
jb 0x100470aa
mov ecx, dword [esp + 0x48]
push ecx
call fcn.1004ad4f
add esp, 4
xor edx, edx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], dx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x10
ret 0x44
Function at 0x10049690
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009ff81
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 0
call fcn.100107f0
mov dword [esp + 0x20], 1
lea ecx, [esp + 0xc]
push ecx
push esi
mov esi, dword [esp + 0x30]
mov ecx, esi
call fcn.10010600
mov dword [esp + 8], 1
mov byte [esp + 0x20], 0
lea ecx, [esp + 0xc]
call fcn.10010780
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret 8

Function at 0x100498b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009f47f
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea ecx, [esi + 8]
call fcn.100129f0
xor edi, edi
mov dword [esp + 0x18], edi
lea ecx, [esi + 0xc]
call fcn.100129f0
mov byte [esp + 0x18], 1
lea ecx, [esi + 0x10]
call fcn.100129f0
mov byte [esp + 0x18], 2
lea ecx, [esi + 0x28]
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
call fcn.100129f0
mov byte [esp + 0x18], 3
lea ecx, [esi + 0x38]
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
call fcn.100129f0
mov byte [esp + 0x18], 4
lea ecx, [esi + 0x3c]
call fcn.100129f0
mov byte [esp + 0x18], 5
lea ecx, [esi + 0x48]
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
call fcn.100129f0
mov byte [esp + 0x18], 6
lea ecx, [esi + 0x4c]
call fcn.10011580
mov byte [esp + 0x18], 7
lea ecx, [esi + 0x68]
call fcn.10011580
mov byte [esp + 0x18], 8
lea ecx, [esi + 0x84]
call fcn.10011580
mov byte [esp + 0x18], 9
lea ecx, [esi + 0xa0]
call fcn.10011580
mov byte [esp + 0x18], 0xa
lea ecx, [esi + 0xbc]
call fcn.100129f0
mov byte [esp + 0x18], 0xb
lea ecx, [esi + 0xc0]
call fcn.100129f0
mov byte [esp + 0x18], 0xc
lea ecx, [esi + 0xc4]
call fcn.100129f0
mov byte [esp + 0x18], 0xd
lea ecx, [esi + 0xc8]
call fcn.100129f0
mov byte [esp + 0x18], 0xe
lea ecx, [esi + 0xdc]
call fcn.100129f0
mov byte [esp + 0x18], 0xf
lea ecx, [esi + 0xe0]
call fcn.100129f0
mov byte [esp + 0x18], 0x10
lea ecx, [esi + 0xe4]
call fcn.100129f0
mov byte [esp + 0x18], 0x11
mov dword [esi + 0xe8], edi
mov dword [esi + 0xec], edi
mov dword [esi + 0xf0], edi
mov dword [esi + 0xf4], edi
mov dword [esi + 0xf8], edi
mov dword [esi + 0xfc], 0xa
mov byte [esp + 0x18], 0x12
mov eax, dword [esp + 0x20]
push eax
mov ecx, esi
call fcn.100919b0
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x1004aff0
Capabilities:
Clear file content

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x1004b066
mov ecx, dword [esi]
mov edx, dword [ecx]
push 0
push eax
mov eax, dword [edx]
call eax
test al, al
je 0x1004b02e
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov edx, dword [esi + 8]
push 0x3d
push str..XmlBuilder.cpp
push edx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push eax
call fcn.1000d9a0
add esp, 0xc
jmp loc.100ec4d0
pop esi
ret

Function at 0x1004b0c0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [eax + 4]
cmp esi, 0x7fffffff
ja 0x1004b115
mov eax, dword [eax]
mov edx, dword [esp + 8]
push 0xde
push str..XmlBuilder.cpp
push 0
lea ecx, [esp + 0x18]
push ecx
push esi
push eax
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
call fcn.1000d9a0
add esp, 0xc
cmp dword [esp + 0xc], esi
je 0x1004b12b
push 0
push 0xdf
push str..XmlBuilder.cpp
push 0xe0e00000
call fcn.10002400
push 0
push 0x29f
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreincNVI2Defns.h
push 0x80070057
call fcn.10002400
pop esi
ret
Function at 0x1004c0d0
Capabilities:
Clear file content
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x10092e1b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 8], 0xffffffff
push 0
sete al
test al, al
jne 0x1004c116
push 0x1a
push str..XmlBuilder.cpp
push 0xe0e00000
call fcn.10002400
mov eax, dword [esp + 0x2c]
push 0x90000000
push 2
push 0
push 5
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x1004c172
cmp eax, 0xffffffff
je 0x1004c16f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x29
mov edi, eax
mov eax, dword [esi + 8]
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreincHandles.h
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call fcn.1000d9a0
add esp, 0xc
push edi
mov dword [esi + 8], 0xffffffff
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [esi + 8], ebx
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
jne 0x1004c183
push 0
push 0
call fcn.1004af90
push 0xde
push str..XmlBuilder.cpp
xor edi, edi
push edi
lea ecx, [esp + 0x34]
push ecx
push 0x27
push str.__xml_version_1.0__encoding_UTF_8____
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
call fcn.1000d9a0
add esp, 0xc
cmp dword [esp + 0x28], 0x27
sete al
test al, al
jne 0x1004c1cd
push edi
push 0xdf
push str..XmlBuilder.cpp
push 0xe0e00000
call fcn.10002400
push 0x78
call fcn.1004ad24
add esp, 4
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], edi
cmp eax, edi
je 0x1004c1f3
mov edx, dword [esp + 0x2c]
push edx
push edi
push edi
mov ecx, eax
call fcn.1004bf90
mov edi, eax
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esi + 8]
push 0x143
push str..XmlBuilder.cpp
push 1
xor edx, edx
lea ebx, [esp + 0x1c]
push ebx
xor ecx, ecx
push edx
push ecx
push eax
mov dword [esi], edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
push eax
call fcn.1000d9a0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
mov eax, dword [esi + 8]
mov ecx, dword [esi]
add esp, 0xc
mov dword [esi + 4], ecx
cmp eax, 0xffffffff
je 0x1004c27b
mov edx, dword [ecx]
push 0
push eax
mov eax, dword [edx]
call eax
test al, al
je 0x1004c27b
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov edx, dword [esi + 8]
push 0x3d
push str..XmlBuilder.cpp
push edx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push eax
call fcn.1000d9a0
add esp, 0xc
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 8

Function at 0x1004e840
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov ecx, dword [ecx + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1004e871
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x1004e86e
jmp loc.100e7840
xor al, al
ret
mov al, 1
ret
Function at 0x1004e880
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
mov ebx, ecx
test ebp, 0xffffced8
je 0x1004e8a6
push 0
push 0x511
push str..FilePath.cpp
push 0x80070057
call fcn.10002400
mov eax, dword [esp + 0x10]
push esi
mov esi, ebp
not esi
test eax, esi
je 0x1004e8c9
push 0
push 0x512
push str..FilePath.cpp
push 0x80070057
call fcn.10002400
mov eax, dword [ebx + 0x18]
push edi
push eax
mov edi, 0x80
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1004e8ed
push 0x225
push str..FilePath.cpp
call fcn.1004af90
cmp ebp, edi
je 0x1004e8f9
and esi, eax
or esi, dword [esp + 0x18]
mov edi, esi
cmp edi, eax
je 0x1004e91d
mov eax, dword [ebx + 0x18]
push 0x528
push str..FilePath.cpp
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push eax
call fcn.1000d9a0
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x1004ec50
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov ecx, dword [ecx + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1004ec6e
push 0x225
push str..FilePath.cpp
call fcn.1004af90
shr eax, 4
not eax
and eax, 1
ret

Function at 0x1004f060
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10093349
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov dword [esp + 8], 0
mov esi, dword [esp + 0x28]
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x1004f0cb
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
push ecx
mov ecx, esi
call fcn.100022c0
mov dword [esp + 0x18], 0
mov dword [esp + 8], 1
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
cmp dword [edx - 0xc], 0
jne 0x1004f106
push esi
mov esi, dword [esp + 0x24]
mov ecx, esi
call fcn.100022c0
mov dword [esp + 0x18], 0
mov dword [esp + 8], 1
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.1004ef00
add esp, 8
mov dword [esp + 0x18], 1
push 0x5c
lea ecx, [esp + 0x2c]
call fcn.1004a450
lea ecx, [esp + 0xc]
push esi
push ecx
call fcn.1004efb0
add esp, 8
mov byte [esp + 0x18], 2
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.1000d740
mov byte [esp + 0x18], 1
lea ecx, [esp + 0xc]
call fcn.10002320
mov esi, dword [esp + 0x20]
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call fcn.100022c0
mov dword [esp + 8], 1
mov byte [esp + 0x18], 0
lea ecx, [esp + 0x28]
call fcn.10002320
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x1004f2e0
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100933c0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100c6270]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
call fcn.1004eb30
mov dword [ebp - 4], 0xffffffff
jmp 0x1004f335
mov eax, dword [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1004f353
push 0x225
push str..FilePath.cpp
call fcn.1004af90
shr eax, 4
test al, 1
mov eax, dword [esi + 0x18]
push eax
je 0x1004f37c
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x1004f39a
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1004f39a
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esi + 0x18]
push 0x4fc
push str..FilePath.cpp
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push eax
call fcn.1000d9a0
add esp, 0xc
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1004f3d0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x100933f0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
push esi
mov dword [esp + 0x18], esi
mov byte [esp + 0x1c], bl
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x18], 1
mov dword [esp + 0x24], ebx
or edi, 0xffffffff
cmp dword [esi + 0x34], edi
jne 0x1004f46a
mov eax, dword [esi + 0x30]
push ebx
push 0x4000100
push 3
push ebx
push 7
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x10], eax
mov byte [esp + 0x24], 1
cmp eax, edi
jne 0x1004f463
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je fcn.1004f44d
jmp loc.100e4960
mov dword [esp + 0x10], edi
mov dword [esi + 0x34], eax

Function at 0x1004f530
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009fa41
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x3c]
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 0
call fcn.1004f4d0
mov dword [esp + 0x30], 1
lea ecx, [esp + 0xc]
push ecx
push esi
mov esi, dword [esp + 0x40]
mov ecx, esi
call fcn.1000e8e0
mov dword [esp + 8], 1
mov byte [esp + 0x30], 0
lea ecx, [esp + 0xc]
call fcn.100115e0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret 8