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

Disassembly:
push 0xffffffffffffffff
push 0x1004c6db
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1007ff50]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x10]
or dword [esi + 0x30], 8
cmp eax, dword [sym.imp.K8Common.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const_google::protobuf::internal::kEmptyString]
jne 0x10005bc4
push 0x1c
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 8], eax
test eax, eax
mov dword [esp + 0x14], 0
je 0x10005bb7
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
jmp 0x10005bb9
xor eax, eax
mov dword [esp + 0x14], 0xffffffff
mov dword [esi + 0x10], eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esi + 0x10]
push edx
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 8

Function at 0x10005bf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1004c70b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1007ff50]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x10]
or dword [esi + 0x30], 8
cmp eax, dword [sym.imp.K8Common.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const_google::protobuf::internal::kEmptyString]
jne 0x10005c4c
push 0x1c
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 8], eax
test eax, eax
mov dword [esp + 0x14], 0
je 0x10005c47
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
jmp 0x10005c49
xor eax, eax
mov dword [esi + 0x10], eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x1000d680
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1004d6e5
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1007ff50]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
mov eax, dword [edi]
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov eax, dword [edi + 8]
test eax, eax
mov dword [esi + 8], eax
je 0x1000d6cd
add eax, 4
mov edx, 1
lock xadd dword [eax], edx
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
mov dword [esp + 0x1c], 0
call sym.K8DLUtils.dll_public:_void___thiscall_GameMgr::GMTaskCommand_StopOption::constructor_class_GameMgr::GMTaskCommand_StopOption_const__
lea ecx, [edi + 0x1c]
push ecx
lea ecx, [esi + 0x1c]
mov byte [esp + 0x1c], 1
call sym.K8DLUtils.dll_public:_void___thiscall_GameMgr::GMTaskCommandResult::constructor_class_GameMgr::GMTaskCommandResult_const__
lea edx, [edi + 0x30]
push edx
lea ecx, [esi + 0x30]
mov byte [esp + 0x1c], 2
call sym.K8DLUtils.dll_public:_void___thiscall_GameMgr::GMCommand_SessionSetting::constructor_class_GameMgr::GMCommand_SessionSetting_const__
lea eax, [edi + 0x50]
push eax
lea ecx, [esi + 0x50]
mov byte [esp + 0x1c], 3
call sym.K8DLUtils.dll_public:_void___thiscall_GameMgr::GMTaskParam::constructor_class_GameMgr::GMTaskParam_const__
lea ecx, [edi + 0x84]
push ecx
lea ecx, [esi + 0x84]
mov byte [esp + 0x1c], 4
call sym.K8DLUtils.dll_public:_void___thiscall_GameMgr::GMCommand_ClearTaskOption::constructor_class_GameMgr::GMCommand_ClearTaskOption_const__
add edi, 0x94
push edi
lea ecx, [esi + 0x94]
mov byte [esp + 0x1c], 5
call fcn.1000cfc0
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 0x1000d760
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1004d745
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1007ff50]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x20]
xor edi, edi
mov dword [esi], eax
mov dword [esi + 4], edi
mov dword [esi + 8], edi
lea ecx, [esi + 0xc]
mov dword [esp + 0x18], edi
call sym.K8DLUtils.dll_public:_void___thiscall_GameMgr::GMTaskCommand_StopOption::constructor_void_
lea ecx, [esi + 0x1c]
mov byte [esp + 0x18], 1
call sym.K8DLUtils.dll_public:_void___thiscall_GameMgr::GMTaskCommandResult::constructor_void_
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 2
call sym.K8DLUtils.dll_public:_void___thiscall_GameMgr::GMCommand_SessionSetting::constructor_void_
lea ecx, [esi + 0x50]
mov byte [esp + 0x18], 3
call sym.K8DLUtils.dll_public:_void___thiscall_GameMgr::GMTaskParam::constructor_void_
lea ecx, [esi + 0x84]
mov byte [esp + 0x18], 4
call sym.K8DLUtils.dll_public:_void___thiscall_GameMgr::GMCommand_ClearTaskOption::constructor_void_
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa0], edi
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 0x1000d810
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1004d7a5
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1007ff50]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
lea ecx, [esi + 0x94]
mov dword [esp + 0x14], 5
call fcn.1000ce50
lea ecx, [esi + 0x84]
mov byte [esp + 0x14], 4
call sym.K8DLUtils.dll_public_virtual:_void___thiscall_GameMgr::GMCommand_ClearTaskOption::destructor_void_
lea ecx, [esi + 0x50]
mov byte [esp + 0x14], 3
call sym.K8DLUtils.dll_public_virtual:_void___thiscall_GameMgr::GMTaskParam::destructor_void_
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 2
call sym.K8DLUtils.dll_public_virtual:_void___thiscall_GameMgr::GMCommand_SessionSetting::destructor_void_
lea ecx, [esi + 0x1c]
mov byte [esp + 0x14], 1
call sym.K8DLUtils.dll_public_virtual:_void___thiscall_GameMgr::GMTaskCommandResult::destructor_void_
lea ecx, [esi + 0xc]
mov byte [esp + 0x14], 0
call sym.K8DLUtils.dll_public_virtual:_void___thiscall_GameMgr::GMTaskCommand_StopOption::destructor_void_
mov esi, dword [esi + 8]
test esi, esi
mov dword [esp + 0x14], 0xffffffff
je 0x1000d8c8
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1000d8c8
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1000d8c8
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x1000f7c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1004dc17
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x1007ff50]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
lea ecx, [esi + 0x14]
mov dword [esi], vtable.GameMgr::GMDownloadSingleFile.0
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov byte [esi + 0x10], bl
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_void_]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push 0x3c
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], ecx
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebx
mov byte [esp + 0x18], 1
je 0x1000f84d
push 1
push esi
mov ecx, eax
call sym.K8DLUtils.dll_public:_void___thiscall_GameMgr::GMDownloadManager::constructor_class_GameMgr::GMDownloadMessage___unsigned_int_
mov dword [esi + 4], eax
jmp 0x1000f850
mov dword [esi + 4], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret 8
Function at 0x1001ad90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1004f239
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x1007ff50]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x1c]
mov dword [esi + 0xc], ecx
push edx
lea ecx, [esi + 0x10]
mov dword [esp + 0x14], 0
mov dword [esi], vtable.GameMgr::GMBTManager::GMSeedTask.0
mov dword [esi + 4], 1
mov dword [esi + 8], eax
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__]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], eax
mov dword [esp + 0x10], 0xffffffff
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 eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 0x28

Function at 0x1001cec0
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1004f638
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x1007ff50]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMTaskList::constructor_void_]
xor ebx, ebx
lea ecx, [esi + 0x30]
mov dword [esp + 0x18], ebx
mov dword [esi], vtable.GameMgr::GMBTManager.0
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMMutex::constructor_void_]
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
lea ecx, [esi + 0x48]
mov byte [esp + 0x18], 2
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_void_]
lea ecx, [esi + 0x6c]
mov byte [esp + 0x18], 3
mov dword [esi + 0x64], 2
mov byte [esi + 0x68], bl
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMSharedLibrary::constructor_void_]
lea ecx, [esi + 0x70]
mov byte [esp + 0x18], 4
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMXmlProfile::constructor_void_]
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x1001dee0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1004f770
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1007ff50]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMTaskList::constructor_class_GameMgr::GMTaskList_const__]
mov dword [esi], vtable.GameMgr::GMBTManager.0
mov eax, dword [edi + 0x30]
mov dword [esp + 0x18], 0
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0x34]
lea edx, [edi + 0x38]
mov dword [esi + 0x34], ecx
push edx
lea ecx, [esi + 0x38]
mov byte [esp + 0x1c], 1
call fcn.1001d7a0
lea eax, [edi + 0x48]
push eax
lea ecx, [esi + 0x48]
mov byte [esp + 0x1c], 2
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__]
mov ecx, dword [edi + 0x64]
mov dword [esi + 0x64], ecx
mov dl, byte [edi + 0x68]
mov byte [esi + 0x68], dl
mov eax, dword [edi + 0x6c]
mov dword [esi + 0x6c], eax
mov ecx, dword [edi + 0x70]
mov dword [esi + 0x70], ecx
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 0x10036340
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x100527a4
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1007ff50]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
xor eax, eax
mov dword [esi], vtable.GameMgr::GMTaskParam.0
mov dword [esp + 0x14], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x2c], eax
mov edx, dword [sym.imp.K8Common.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const_google::protobuf::internal::kEmptyString]
mov dword [esi + 4], edx
mov edx, dword [sym.imp.K8Common.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const_google::protobuf::internal::kEmptyString]
mov dword [esi + 8], edx
mov edx, dword [sym.imp.K8Common.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const_google::protobuf::internal::kEmptyString]
mov cl, 1
mov dword [esi + 0xc], edx
mov edx, dword [sym.imp.K8Common.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const_google::protobuf::internal::kEmptyString]
mov byte [esi + 0x24], cl
mov byte [esi + 0x25], al
mov byte [esi + 0x26], cl
mov dword [esi + 0x28], eax
mov dword [esi + 0x10], edx
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x14], cl
push eax
mov ecx, esi
call sym.K8DLUtils.dll_public:_void___thiscall_GameMgr::GMTaskParam::MergeFrom_class_GameMgr::GMTaskParam_const__
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x10037960
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x100529ba
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1007ff50]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
xor eax, eax
mov dword [esi], vtable.GameMgr::GMTorrentInfo.0
mov dword [esp + 0x14], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x44], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov ecx, dword [sym.imp.K8Common.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const_google::protobuf::internal::kEmptyString]
mov dword [esi + 0x3c], ecx
mov edx, dword [sym.imp.K8Common.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const_google::protobuf::internal::kEmptyString]
mov dword [esi + 0x40], edx
mov dword [esi + 0x4c], eax
mov eax, dword [esp + 0x1c]
push eax
mov ecx, esi
mov byte [esp + 0x18], 3
call sym.K8DLUtils.dll_public:_void___thiscall_GameMgr::GMTorrentInfo::MergeFrom_class_GameMgr::GMTorrentInfo_const__
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4

Function at 0x100380f0
Capabilities:
Get system information on windows

Disassembly:
mov eax, dword [0x10080318]
sub esp, 0x24
test eax, eax
jne 0x1003811d
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 4]
test eax, eax
mov dword [0x10080318], eax
jg 0x1003811d
mov eax, 0x1000
mov dword [0x10080318], eax
add esp, 0x24
ret
Function at 0x10040500
Capabilities:
Delete directory
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x100538bb
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x1007ff50]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1007ff50]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x80]
mov esi, dword [esp + 0x7c]
mov dword [ebx], 0
call fcn.1004b610
lea ecx, [esp + 0x4c]
mov dword [ebx + 4], eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov eax, dword [esi + 0x14]
lea ebp, [eax - 1]
cmp ebp, eax
mov dword [esp + 0x74], 0
jbe 0x1004056d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [esi + 0x18], 0x10
lea edi, [esi + 4]
jb 0x1004057a
mov eax, dword [edi]
jmp 0x1004057c
mov eax, edi
cmp byte [eax + ebp], 0x2f
je 0x100405ad
mov eax, dword [esi + 0x14]
lea ebp, [eax - 1]
cmp ebp, eax
jbe 0x10040592
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [esi + 0x18], 0x10
jb 0x1004059a
mov edi, dword [edi]
cmp byte [edi + ebp], 0x5c
je 0x100405ad
push esi
lea ecx, [esp + 0x50]
call dword [0x1005548c]
jmp 0x100405e2
mov eax, dword [esi + 0x14]
add eax, 0xffffffff
push eax
push 0
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x78], 1
call dword [0x1005548c]
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x34]
push edx
call fcn.1003cd70
add esp, 8
mov eax, dword [esp + 0x34]
mov esi, 8
cmp dword [esp + 0x48], esi
mov byte [esp + 0x74], 2
jae 0x1004060c
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1004064b
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 5
jne 0x1004063d
cmp dword [esp + 0x48], esi
mov eax, dword [esp + 0x34]
jae 0x10040632
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1004064b
call fcn.1004b610
mov esi, eax
call edi
mov dword [ebx], eax
mov dword [ebx + 4], esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x74], 0
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_]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x74], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.1004a1cc
add esp, 0x64
ret
Function at 0x100408f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10053953
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x1007ff50]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
add ecx, 0x30
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 0
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_wchar_t_const__]
mov esi, dword [esp + 0x38]
lea eax, [esp + 0xc]
push eax
push esi
mov dword [esp + 0x38], 1
call fcn.1003cea0
add esp, 8
lea ecx, [esp + 0xc]
mov dword [esp + 8], 1
mov byte [esp + 0x30], 0
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 eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret 4

Function at 0x10040aa3
Capabilities:
Get disk size

Disassembly:
sub esp, 0x2c
push esi
mov esi, ecx
cmp dword [esi + 0x28], 0
jne 0x10040b31
push edi
push 0
lea edi, [esi + 8]
push 0x5c
mov ecx, edi
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_first_of_wchar_t__unsigned_int_const]
add eax, 1
push eax
push 0
lea eax, [esp + 0x20]
push eax
mov ecx, edi
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__::substr_unsigned_int__unsigned_int_]
cmp dword [eax + 0x18], 8
jb 0x10040ade
mov eax, dword [eax + 4]
jmp 0x10040ae1
add eax, 4
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
lea ecx, [esp + 0x18]
mov edi, eax
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_]
test edi, edi
pop edi
je 0x10040b23
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
imul ecx, eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ecx
pop esi
add esp, 0x2c
ret
mov dword [esi + 0x28], 0x200
mov dword [esi + 0x2c], 0x1000
mov eax, dword [esi + 0x28]
pop esi
add esp, 0x2c
ret