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

Disassembly:
push 0xffffffffffffffff
push 0x60148ab3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, dword [esp + 0x34]
mov ecx, dword [esi]
push edi
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0xc], SysStringLen
call fcn.60104660
mov edi, dword [esp + 0x3c]
push edi
push eax
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x3c], 0
call fcn.6010bbc0
add esp, 0xc
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push esi
mov ecx, edi
call fcn.6010ce00
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x6010bf00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x60148ac6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, dword [esp + 0x34]
mov ecx, dword [esi]
push edi
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0xc], SysStringLen
call fcn.60104690
mov edi, dword [esp + 0x3c]
push edi
push eax
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x3c], 0
call fcn.6010ba20
add esp, 0xc
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push esi
mov ecx, edi
call fcn.6010ce00
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x6010bf80
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x60148ad8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
push edi
lea ecx, [esp + 8]
call fcn.60109210
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
lea eax, [esp + 8]
push eax
push edi
push esi
call fcn.6010bd00
mov esi, dword [esi]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push esi
push eax
push ecx
lea ecx, [esp + 0x3c]
push ecx
call fcn.6010cdb0
add esp, 0x1c
mov ecx, edi
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea ecx, [esp + 8]
mov dword [esp + 0x1c], 0xffffffff
call fcn.6010a1a0
mov edx, dword [esp + 0xc]
push edx
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esp + 0x18]
add esp, 4
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x6010c060
Capabilities:
Access peb ldr_data
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x60148af3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push 0x6015b464
lea ecx, [esp + 0xc]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push 0x6014df50
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0
call dword [0x6014d28c]
mov esi, dword [esp + 0x34]
push esi
lea ecx, [esp + 0xc]
call dword [sym.imp.MSVCP71.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__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x3c], SysStringLen
call fcn.6010bf80
add esp, 8
push 0x6015b42c
lea ecx, [esp + 0xc]
call dword [0x6014d294]
push 0x6014df50
lea ecx, [esp + 0xc]
call dword [0x6014d28c]
push esi
lea ecx, [esp + 0xc]
call dword [sym.imp.MSVCP71.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__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x3c], SysStringLen
call fcn.6010bf80
add esp, 8
push 0x6015b448
lea ecx, [esp + 0xc]
call dword [0x6014d294]
mov dword [esp + 4], 0
mov ecx, 0x6015b448
mov byte [esp + 0x2c], 1
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
lea ecx, [esp + 0x34]
push ecx
push 0x2001f
push 0
push eax
push SysStringLen
mov dword [esp + 0x48], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6010c17b
push edi
mov edi, dword [esp + 0x38]
mov ecx, esi
mov dword [esp + 8], edi
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test edi, edi
je 0x6010c17a
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x24]
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
Function at 0x6010c5d0
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
push esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x6010c631
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x6010c613
cmp eax, 2
jne 0x6010c623
test esi, esi
mov eax, dword [esp + 0x14]
je 0x6010c62d
mov cl, byte [eax + esi - 1]
test cl, cl
je 0x6010c62d
pop edi
mov eax, 0xd
pop esi
ret 0xc
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
ret 0xc

Function at 0x6010c7b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x60148be2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x38]
push esi
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov esi, dword [esp + 0x34]
lea ecx, [esp + 8]
push ecx
lea ecx, [esi + 4]
mov dword [esp + 0x30], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 8]
mov dword [esp + 4], 1
mov byte [esp + 0x2c], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x6010cdb0
Capabilities:
Delete registry key

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x10]
cmp esi, ebx
je 0x6010cdee
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push edi
mov edi, dword [esp + 0x20]
lea ebx, [ebx]
lea ecx, [esi + 8]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push edi
call ebp
mov esi, dword [esi]
cmp esi, ebx
jne 0x6010cdd0
mov eax, dword [esp + 0x14]
mov dword [eax], edi
pop edi
pop ebp
pop esi
pop ebx
ret
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
pop esi
mov dword [eax], ecx
pop ebx
ret
Function at 0x6010d520
Capabilities:
Check if file exists
Create directory
Get file attributes
Set file attributes

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x108
push esi
push 0x104
push eax
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 0x5c
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_StrChrA]
mov esi, eax
test esi, esi
jne 0x6010d559
xor al, al
pop esi
add esp, 0x108
ret
mov al, byte [esp + 0x114]
test al, al
je 0x6010d57a
push 0x5c
push 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_StrRChrA]
test eax, eax
je 0x6010d57a
mov byte [eax], 0
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x6010d598
shr eax, 4
and eax, 1
pop esi
add esp, 0x108
ret
push ebp
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebp, dword [esp + 0x11c]
lea eax, [esp + eax + 0xc]
push ebx
mov dword [esp + 0xc], eax
push edi
push 0x5c
inc esi
push esi
call dword [sym.imp.SHLWAPI.dll_StrChrA]
mov edi, eax
test edi, edi
setne bl
test bl, bl
jne 0x6010d5dd
cmp esi, dword [esp + 0x10]
jb 0x6010d5e0
pop edi
pop ebx
pop ebp
mov al, 1
pop esi
add esp, 0x108
ret
mov byte [edi], 0
push 0
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x6010d5fe
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x6010d62b
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x6010d620
test ebp, eax
jne 0x6010d620
or eax, ebp
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test bl, bl
je 0x6010d5d0
mov byte [edi], 0x5c
mov esi, edi
jmp 0x6010d5b5
pop edi
pop ebx
pop ebp
xor al, al
pop esi
add esp, 0x108
ret

Function at 0x6010e220
Capabilities:
Check if file exists
Delete directory
Delete file
Set file attributes

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
mov bl, 1
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x6010e264
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x6010e264
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x6010e25f
cmp eax, 3
je 0x6010e25f
pop esi
xor al, al
pop ebx
ret
pop esi
mov al, 1
pop ebx
ret
pop esi
mov al, bl
pop ebx
ret
Function at 0x6010e580
Capabilities:
Check if file exists
Delete directory
Delete file
Set file attributes

Disassembly:
mov eax, dword [sym.scnkrnl.dll_class_CAVLog__g_pLog]
test eax, eax
push ebx
push esi
push edi
mov ebx, ecx
je 0x6010e5a3
push str.CAVQuarantine::DeleteFileA_started
push 1
push 0x80
push eax
call sym.scnkrnl.dll_public:_void___cdecl_CAVLog::AddLogEntry_unsigned_long_int__unsigned_int__char_const__
add esp, 0x10
mov esi, dword [esp + 0x10]
push 0x80
push esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x6010e5e5
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x6010e5e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x6010e5e5
cmp eax, 3
je 0x6010e5e5
mov eax, dword [ebx]
push esi
mov ecx, ebx
call dword [eax + 0x24]
mov edi, eax
mov eax, dword [sym.scnkrnl.dll_class_CAVLog__g_pLog]
test eax, eax
je 0x6010e603
push str.CAVQuarantine::DeleteFileA_finished
push 1
push 0x80
push eax
call sym.scnkrnl.dll_public:_void___cdecl_CAVLog::AddLogEntry_unsigned_long_int__unsigned_int__char_const__
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
ret 4

Function at 0x6010e860
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
lea eax, [esi + 4]
push edi
mov dword [esp + 0x10], eax
mov al, byte [esp + 0x28]
test al, al
mov edi, ecx
lea ecx, [esi + 8]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ecx
je 0x6010e8ad
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
push edx
dec ebx
push esi
mov ecx, edi
call dword [edi + ebx*4 + 0x78]
push ebx
push esi
mov ecx, edi
call fcn.6010e2f0
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0xc
ret 0x10
mov edi, dword [esp + 0x24]
mov ebx, dword [sym.imp.MSVCR71.dll_fwrite]
xor ebp, ebp
lea esp, [esp]
mov esi, dword [esp + ebp*4 + 0x10]
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
push edi
push 1
lea edx, [esp + 0x30]
push 4
push edx
mov dword [esp + 0x38], ecx
call ebx
add esp, 0x10
cmp eax, 1
jne 0x6010e916
mov eax, dword [esp + 0x28]
mov esi, dword [esi]
push edi
push eax
push 1
push esi
call ebx
mov ecx, dword [esp + 0x38]
add esp, 0x10
cmp eax, ecx
jne 0x6010e916
inc ebp
cmp ebp, 3
jb 0x6010e8c0
mov ecx, dword [esp + 0x20]
push edi
push 1
add ecx, 0xc
push 0x14
push ecx
call ebx
add esp, 0x10
cmp eax, 1
je 0x6010e8a1
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xc
ret 0x10
Function at 0x6010ec20
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
push ebx
push ebp
mov ebp, dword [esp + 0x20]
lea edx, [eax + 4]
mov dword [esp + 0x10], eax
add eax, 8
xor ebx, ebx
push esi
add ecx, 0x84
push edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ecx
lea ecx, [ecx]
push ebp
push 1
lea eax, [esp + 0x30]
push 4
push eax
call dword [sym.imp.MSVCR71.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x6010ed3f
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
push ecx
call dword [edx]
add esp, 4
test al, al
je 0x6010ed3f
mov esi, dword [esp + ebx*4 + 0x14]
mov eax, dword [esi]
mov edi, dword [eax - 4]
mov ecx, dword [esp + 0x28]
sub eax, 0x10
mov eax, dword [eax + 8]
inc ecx
mov edx, 1
sub edx, edi
sub eax, ecx
or edx, eax
jge 0x6010ecab
push ecx
mov ecx, esi
call fcn.601042f0
mov ecx, dword [esp + 0x28]
mov edi, dword [esi]
push ebp
push ecx
push 1
push edi
call dword [sym.imp.MSVCR71.dll_fread]
mov ecx, dword [esp + 0x38]
add esp, 0x10
cmp eax, ecx
jne 0x6010ed3f
mov byte [edi + ecx], 0
mov ecx, dword [esi]
test ecx, ecx
jne 0x6010ecd5
xor eax, eax
jmp 0x6010eceb
mov eax, ecx
lea edi, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x6010ece0
sub eax, edi
js 0x6010ed35
cmp eax, dword [ecx - 8]
jg 0x6010ed35
mov dword [ecx - 0xc], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esi]
inc ebx
add ecx, 4
cmp ebx, 3
mov byte [eax + edx], 0
mov dword [esp + 0x10], ecx
jb 0x6010ec50
mov eax, dword [esp + 0x24]
push ebp
push 1
add eax, 0xc
push 0xc
push eax
call dword [sym.imp.MSVCR71.dll_fread]
add esp, 0x10
dec eax
pop edi
neg eax
pop esi
sbb al, al
pop ebp
inc al
pop ebx
add esp, 0x10
ret 8
push 0x80070057
call fcn.601040a0
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x10
ret 8
Function at 0x6010f8a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x60148e82
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov ecx, dword [esp + 0x24]
push ebx
push ebp
push esi
push edi
push 2
lea eax, [esp + 0x14]
push eax
call fcn.601144e0
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x3c]
lea eax, [ecx - 0x10]
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], eax
jmp 0x6010f8f0
mov ecx, dword [esp + 0x10]
lea esp, [esp]
mov ebx, dword [esp + 0x38]
mov esi, dword [ebx]
sub esi, 0x10
cmp eax, esi
je 0x6010f945
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x6010f939
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x6010f939
push eax
call fcn.60109070
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x6010f92c
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov eax, dword [esp + 0x38]
add ebx, 0x10
mov dword [eax], ebx
mov ebx, eax
jmp 0x6010f945
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, ebx
call fcn.60104370
lea ecx, [esp + 0x18]
push 6
push ecx
call sym.scnkrnl.dll_char____cdecl_GetRandomString_char___int_
add esp, 8
test eax, eax
jne 0x6010f95c
xor ecx, ecx
jmp 0x6010f96a
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x6010f961
sub ecx, esi
push ecx
push eax
mov ecx, ebx
call fcn.601044e0
mov edx, dword [esp + 0x30]
mov ecx, dword [edx]
mov esi, dword [ebp]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x6010f9cd
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x6010f9c1
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x6010f9c1
push eax
call fcn.60109070
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x6010f9b5
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebx, 0x10
mov dword [ebp], ebx
mov ebx, dword [esp + 0x38]
jmp 0x6010f9cd
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, ebp
call fcn.60104370
mov eax, dword [ebx]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, ebp
call fcn.601044e0
mov eax, dword [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
mov eax, dword [esp + 0x14]
jne 0x6010f8e5
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
pop ebp
pop ebx
jg 0x6010fa15
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x60113490
Capabilities:
Get disk information

Disassembly:
sub esp, 0x114
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x20]
push eax
mov esi, ecx
push 0x104
mov dword [esp + 0x24], esi
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
add esi, 0x50
mov ebx, eax
mov eax, dword [esi + 4]
xor ebp, ebp
shr ebx, 2
cmp eax, ebp
je 0x601134ca
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp ebx, ebp
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
lea edi, [esp + 0x20]
je 0x60113581
mov ebp, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [esp + 0x14], ebx
mov ebx, dword [sym.imp.MSVCR71.dll__mbslwr]
nop
mov cl, byte [edi]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0x5c3a78
push edx
mov byte [esp + 0x1c], cl
call ebp
cmp eax, 3
jne 0x6011356d
push edi
call ebx
mov eax, dword [esi + 4]
add esp, 4
test eax, eax
jne 0x6011351b
xor edx, edx
jmp 0x60113520
mov edx, dword [esi + 8]
sub edx, eax
test eax, eax
je 0x6011353a
mov ecx, dword [esi + 0xc]
sub ecx, eax
cmp edx, ecx
jae 0x6011353a
mov eax, dword [esi + 8]
mov cl, byte [edi]
mov byte [eax], cl
inc eax
mov dword [esi + 8], eax
jmp 0x60113548
mov eax, dword [esi + 8]
push edi
push 1
push eax
mov ecx, esi
call fcn.60114770
movsx edx, byte [edi]
push edx
call dword [sym.imp.MSVCR71.dll_tolower]
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x17], al
add esp, 4
lea eax, [esp + 0x13]
push eax
add ecx, 0x94
call fcn.60117530
mov eax, dword [esp + 0x14]
add edi, 4
dec eax
mov dword [esp + 0x14], eax
jne 0x601134f0
xor ebp, ebp
mov ecx, dword [esi + 4]
cmp ecx, ebp
jne 0x60113595
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x114
ret
mov eax, dword [esi + 8]
pop edi
pop esi
pop ebp
sub eax, ecx
pop ebx
add esp, 0x114
ret

Function at 0x60114a50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x60148df8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
push edi
xor edi, edi
mov dword [esp + 8], edi
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
mov ecx, dword [esi]
mov esi, dword [ecx - 0xc]
push edx
push eax
push esi
push ecx
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x28], edi
call fcn.601149b0
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.60109070
mov edi, dword [esp + 0x34]
add eax, 0x10
mov dword [edi], eax
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x60114ae2
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x60117ba0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x60149313
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x34]
push esi
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, eax
mov dword [esp + 0x30], 1
call dword [0x6014d28c]
mov esi, dword [esp + 0x34]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 8]
mov dword [esp + 4], 1
mov byte [esp + 0x2c], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x60117d60
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x6014933d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
xor esi, esi
mov dword [esp + 8], esi
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], esi
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x60117df2
call fcn.601180b0
test eax, eax
jl 0x60117deb
lea eax, [esp + 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [esp + 8], eax
jne 0x60117dd5
call fcn.601180b0
test eax, eax
jl 0x60117deb
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test ecx, ecx
ja 0x60117de2
cmp eax, 0x10
jbe 0x60117deb
cmp eax, 0xffffffff
jne 0x60117df6
test ecx, ecx
jne 0x60117df6
mov eax, 0x80004005
jmp 0x60117e5e
mov esi, eax
jmp 0x60117db3
push 2
lea ecx, [esp + 0x10]
push ecx
push 0xfffffffffffffff0
push esi
mov dword [esp + 0x18], 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x60117e24
call fcn.601180b0
test eax, eax
jl 0x60117e60
mov eax, dword [esp + 0x24]
push 0
lea edx, [esp + 0x24]
push edx
push 0x10
push eax
push esi
mov dword [esp + 0x34], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x60117e4c
call fcn.601180b0
jmp 0x60117e5e
mov ebx, dword [esp + 0x20]
xor eax, eax
cmp ebx, 0x10
sete al
dec eax
and eax, 0x80070026
test eax, eax
setge bl
test esi, esi
je 0x60117e6e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x10]
pop esi
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 8