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

Disassembly:
push 0xffffffffffffffff
push 0x4284b2
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x435028]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [esp + 0x3c]
mov dword [esp + 8], 0
mov eax, dword [sym.imp.MSVCP90.dll_unsigned_int_const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
mov ecx, dword [eax]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.MSVCP90.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_]
push eax
push esi
mov dword [esp + 0x38], 1
call fcn.004087d0
lea ecx, [esp + 0xc]
mov dword [esp + 8], 1
mov byte [esp + 0x30], 0
call dword [sym.imp.MSVCP90.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 8

Function at 0x4090b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x428a61
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x435028]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebp
push esi
mov eax, dword [0x435028]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x7c]
lea eax, [edi + 0x58]
push eax
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], 0
call fcn.00401580
lea edx, [edi + 4]
push edx
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x7c], 1
call fcn.00401580
mov byte [esp + 0x74], 2
cmp dword [esp + 0x44], 0
je 0x409132
cmp dword [esp + 0x60], 0
je 0x409132
push 0x5c
lea esi, [esp + 0x34]
call fcn.004057b0
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x18]
push edx
lea ecx, [edi + 0x74]
call fcn.004088a0
lea ecx, [esp + 0x4c]
push ecx
push ebp
mov ecx, eax
mov byte [esp + 0x7c], 3
call fcn.004088a0
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 1
mov byte [esp + 0x74], 2
call dword [sym.imp.MSVCP90.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 byte [esp + 0x74], 1
call dword [sym.imp.MSVCP90.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 + 0x30]
mov byte [esp + 0x74], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, ebp
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.00427762
add esp, 0x6c
ret 4
Function at 0x409c60
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x429c19
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x435028]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x6c], 0
mov eax, dword [ebp + 4]
mov edi, dword [ebx + 0xf4]
push eax
call dword [sym.imp.MSVCR90.dll__get_osfhandle]
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
jne 0x409cb8
mov eax, ebp
call fcn.00413210
mov ecx, edi
call fcn.004069f0
push 0
add eax, 0xb6109100
push 0x989680
adc edx, 2
push edx
push eax
call fcn.00427ef0
lea ecx, [esp + 0x18]
push ecx
push 0
mov dword [esp + 0x20], eax
push 0
mov eax, edx
push esi
sar eax, 0x1f
mov dword [esp + 0x2c], edx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
je 0x409d71
mov edx, dword [ebp]
mov edx, dword [edx + 0x24]
lea eax, [esp + 0x3c]
push eax
mov ecx, ebp
call edx
mov dword [esp + 0x60], 0
mov edi, dword [ebx + 0xf4]
mov ebx, 8
mov dword [esp + 0x6c], 1
cmp dword [eax + 0x18], ebx
jb 0x409d2a
mov esi, dword [eax + 4]
jmp 0x409d2d
lea esi, [eax + 4]
call fcn.00407cd0
mov ecx, esi
push 1
lea esi, [esp + 0x24]
mov edi, eax
call fcn.00413ad0
add esp, 4
cmp dword [eax + 0x18], ebx
jb 0x409d4e
mov eax, dword [eax + 4]
jmp 0x409d51
add eax, 4
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
lea ecx, [esp + 0x20]
setne bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov edi, 1
test bl, bl
jne 0x409d76
mov edi, 0xfffffffe
mov dword [esp + 0x60], 0xffffffff
test byte [esp + 0x6c], 1
je 0x409d8f
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [ebp]
mov edx, dword [eax + 4]
mov ecx, ebp
call edx
mov esi, dword [esp + 0x68]
push 0
call fcn.00409dd0
cmp edi, 1
je 0x409dab
mov eax, edi
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 8
Function at 0x40c580
Capabilities:
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x429876
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x435028]
xor eax, esp
mov dword [esp + 0xcc], eax
push ebx
push esi
push edi
mov eax, dword [0x435028]
xor eax, esp
push eax
lea eax, [esp + 0xe4]
mov dword fs:[0], eax
mov eax, dword [esp + 0xf4]
xor ebx, ebx
push eax
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call fcn.00408e10
lea esi, [esp + 0x30]
lea eax, [esp + 0x4c]
mov dword [esp + 0xec], ebx
call fcn.0040c560
mov byte [esp + 0xec], 1
mov eax, dword [esp + 0x34]
mov edi, 8
cmp dword [esp + 0x48], edi
jae 0x40c615
lea eax, [esp + 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x24]
push ecx
push eax
call esi
test eax, eax
jne 0x40c689
lea eax, [esp + 0x30]
call fcn.004058c0
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], edi
jae 0x40c648
lea eax, [esp + 0x34]
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push edx
push eax
call esi
test eax, eax
jne 0x40c689
lea ecx, [esp + 0x30]
mov byte [esp + 0xec], bl
call dword [sym.imp.MSVCP90.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 + 0xec], 0xffffffff
call fcn.00413980
xor eax, eax
xor edx, edx
jmp 0x40c6ba
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x30]
mov byte [esp + 0xec], bl
call dword [sym.imp.MSVCP90.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 + 0xec], 0xffffffff
call fcn.00413980
mov eax, esi
mov edx, edi
mov ecx, dword [esp + 0xe4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xcc]
xor ecx, esp
call fcn.00427762
add esp, 0xe0
ret

Function at 0x40c6f0
Capabilities:
Set file attributes

Disassembly:
sub esp, 0x20
push ebx
push esi
push 1
lea esi, [esp + 0x10]
call fcn.00413ad0
add esp, 4
cmp dword [eax + 0x18], 8
jb 0x40c70e
mov eax, dword [eax + 4]
jmp 0x40c711
add eax, 4
mov ecx, dword [esp + 0x2c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
lea ecx, [esp + 0xc]
setne bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
pop esi
mov al, bl
pop ebx
add esp, 0x20
ret
Function at 0x40c740
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x1c
push ebx
push esi
push 1
lea esi, [esp + 0xc]
call fcn.00413ad0
add esp, 4
cmp dword [eax + 0x18], 8
jb 0x40c75e
mov eax, dword [eax + 4]
jmp 0x40c761
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [esp + 8]
mov ebx, eax
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp ebx, 0xffffffff
jne 0x40c781
xor eax, eax
pop esi
pop ebx
add esp, 0x1c
ret
test bl, 0x10
mov eax, 0
sete al
pop esi
pop ebx
lea eax, [eax + eax - 1]
add esp, 0x1c
ret

Function at 0x40c7a0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x42982b
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x435028]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
mov eax, dword [0x435028]
xor eax, esp
push eax
lea eax, [esp + 0xc4]
mov dword fs:[0], eax
mov eax, dword [esp + 0xd4]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00408e10
lea esi, [esp + 0x10]
lea eax, [esp + 0x2c]
mov dword [esp + 0xcc], 0
call fcn.0040c560
cmp dword [eax + 0x18], 8
jb 0x40c80e
mov eax, dword [eax + 4]
jmp 0x40c811
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
lea ecx, [esp + 0x10]
sete bl
call dword [sym.imp.MSVCP90.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 + 0x2c]
mov dword [esp + 0xcc], 0xffffffff
call fcn.00413980
mov al, bl
mov ecx, dword [esp + 0xc4]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.00427762
add esp, 0xc4
ret

Function at 0x40c9a0
Capabilities:
Delete file

Disassembly:
sub esp, 0x24
mov eax, dword [0x435028]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push 0
mov ecx, edi
lea esi, [esp + 0xc]
call fcn.00413ad0
add esp, 4
cmp dword [eax + 0x18], 8
jb 0x40c9ca
mov eax, dword [eax + 4]
jmp 0x40c9cd
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 8]
mov esi, eax
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
test esi, esi
je 0x40c9f6
mov al, 1
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00427762
add esp, 0x24
ret
cmp byte [esp + 0x2c], 0
je 0x40ca09
push 0xd9
mov ecx, edi
call fcn.00405910
mov ecx, dword [esp + 0x24]
pop esi
xor ecx, esp
xor al, al
call fcn.00427762
add esp, 0x24
ret
Function at 0x40ca20
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x4293e8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x435028]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x5c]
push 0
lea esi, [esp + 0x34]
call fcn.00413ad0
add esp, 4
mov edi, eax
push 0
mov ecx, ebp
lea esi, [esp + 0x18]
mov dword [esp + 0x58], 0
call fcn.00413ad0
mov ecx, 8
add esp, 4
cmp dword [edi + 0x18], ecx
jb 0x40ca82
mov edi, dword [edi + 4]
jmp 0x40ca85
add edi, 4
cmp dword [eax + 0x18], ecx
jb 0x40ca8f
mov eax, dword [eax + 4]
jmp 0x40ca92
add eax, 4
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
lea ecx, [esp + 0x14]
sete bl
call dword [sym.imp.MSVCP90.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 + 0x30]
mov dword [esp + 0x54], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
test bl, bl
je 0x40cacb
push 0xda
mov ecx, ebp
call fcn.00405910
mov al, 1
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret

Function at 0x40caf0
Capabilities:
Create directory

Disassembly:
sub esp, 0x1c
push ebx
push esi
push 1
lea esi, [esp + 0xc]
call fcn.00413ad0
add esp, 4
cmp dword [eax + 0x18], 8
jb 0x40cb0e
mov eax, dword [eax + 4]
jmp 0x40cb11
add eax, 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
lea ecx, [esp + 8]
setne bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
pop esi
mov al, bl
pop ebx
add esp, 0x1c
ret
Function at 0x40cd30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42846c
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebp
push esi
push edi
mov eax, dword [0x435028]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x40]
mov ecx, esi
call dword [sym.imp.MSVCR90.dll_public:_void___thiscall_std::exception::constructor_void_]
lea ebp, [esi + 0xc]
mov dword [esp + 0x38], 0
mov ecx, ebp
mov dword [esi], vtable.CZipException.0
call dword [sym.imp.MSVCP90.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 + 0x44]
mov byte [esp + 0x38], 1
mov dword [esi + 0x28], eax
test edi, edi
je 0x40cdb8
lea ecx, [esp + 0x14]
push ecx
call fcn.004056e0
lea edx, [esp + 0x14]
push edx
mov ecx, ebp
mov byte [esp + 0x3c], 2
call dword [sym.imp.MSVCP90.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_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 1
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x2c], eax
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x2c
ret 8

Function at 0x40dd50
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x428e11
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x435028]
xor eax, esp
mov dword [esp + 0x2c], eax
push esi
mov eax, dword [0x435028]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov dword [esp + 0xc], 0
mov esi, ecx
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x14], edi
call eax
mov dword [esp + 0x40], 1
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
lea edx, [esp + 0x34]
push edx
push ecx
call fcn.00401580
push 0
push 0
push 0
call fcn.0040e740
mov eax, dword [esi + 0x64]
add eax, 4
push eax
push edi
call fcn.00401580
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], 1
mov byte [esp + 0x40], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, edi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00427762
add esp, 0x3c
ret
Function at 0x40de10
Capabilities:
Check if file exists
Get file attributes
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4295a2
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov eax, dword [0x435028]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x50], ebx
mov edi, ecx
mov dword [esp + 0x28], ebx
mov eax, dword [edi + 0x40]
mov esi, edx
xor ecx, ecx
mov dword [esp + 0x1c], esi
cmp eax, dword [edi + 0x10]
jne 0x40de5d
mov byte [esp + 0x18], 1
cmp ecx, dword [edi + 0x14]
je 0x40de61
mov byte [esp + 0x18], cl
mov eax, dword [esp + 0x18]
push eax
mov eax, edi
call fcn.0040d480
mov dword [esp + 0x50], ebx
mov dword [esp + 0x28], 1
cmp dword [edi + 0x64], ebx
je 0x40df58
mov dword [esp + 0x20], ebx
cmp byte [esp + 0x18], 0
je 0x40de95
or ebp, 0xffffffff
or ebx, 0xffffffff
jmp 0x40de97
xor ebp, ebp
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x40], esp
mov ecx, esi
mov dword [esp + 0x40], esi
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov dword [esp + 0x6c], 1
mov ecx, dword [esp + 0x38]
push ecx
mov ecx, esi
call dword [sym.imp.MSVCP90.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__::assign_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov edx, dword [esp + 0x3c]
push edx
push ebx
push ebp
mov esi, edi
mov byte [esp + 0x78], 0
call fcn.0040e740
mov eax, dword [edi + 0x64]
add eax, 4
mov ebx, 8
cmp dword [eax + 0x18], ebx
jb 0x40dee9
mov eax, dword [eax + 4]
jmp 0x40deec
add eax, 4
push 1
mov ecx, eax
lea esi, [esp + 0x30]
call fcn.00413ad0
add esp, 4
cmp dword [eax + 0x18], ebx
jb 0x40df06
mov eax, dword [eax + 4]
jmp 0x40df09
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [esp + 0x2c]
mov ebx, eax
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp ebx, 0xffffffff
je 0x40df34
test bl, 0x10
mov eax, 0
sete al
lea eax, [eax + eax - 1]
test eax, eax
jne 0x40df43
mov dword [esp + 0x20], 5
xor ebx, ebx
jmp 0x40de86
mov eax, dword [edi + 0x64]
mov ecx, dword [esp + 0x1c]
add eax, 4
push eax
call dword [sym.imp.MSVCP90.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_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov esi, dword [esp + 0x1c]
mov edi, dword [edi + 8]
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
mov eax, esi
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
Function at 0x4118f0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x428b98
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x435028]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [edi + 0x14]
mov ebx, dword [eax + 0x40]
mov eax, dword [eax + 0x60]
shr eax, 4
test al, 1
je 0x411964
mov esi, dword [edi + 0x14]
mov ecx, dword [esi + 0x60]
and ecx, 0x70
push 0
cmp cl, 0x70
jne 0x411940
push 1
call fcn.0040eaa0
xor ebx, ebx
jmp 0x411964
push 0x38
call fcn.0040eaa0
mov edx, dword [edi + 0x14]
mov eax, dword [edx + 0x40]
cmp ebx, eax
je 0x411964
mov ebx, eax
mov eax, dword [edi + 0x24]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
push 0x38
mov dword [esp + 0x10], vtable.CZipAutoBuffer.0
call sub.mfc90u.dll_new
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], 0x38
mov dword [esp + 0x20], 0
mov eax, dword [0x435d9c]
mov dword [esi], eax
xor ecx, ecx
mov eax, 0x2c
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov ecx, 0x2d
mov word [esi + 0xc], cx
mov edx, ecx
mov word [esi + 0xe], dx
mov eax, dword [edi + 0x24]
mov dword [eax + 0x30], ebx
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx + 0x30]
mov dword [esi + 0x10], eax
mov edx, dword [edi + 0x14]
push edx
call fcn.00405a40
mov ecx, dword [edi + 0x24]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, dword [edi + 0x24]
mov eax, dword [eax + 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x24]
mov ecx, dword [eax + 0x10]
mov dword [esi + 0x18], ecx
mov edx, dword [eax + 0x14]
add eax, 0x10
mov dword [esi + 0x1c], edx
mov eax, dword [edi + 0x24]
mov ecx, dword [eax + 0x18]
mov dword [esi + 0x20], ecx
mov edx, dword [eax + 0x1c]
add eax, 0x18
mov dword [esi + 0x24], edx
mov eax, dword [edi + 0x24]
mov ecx, dword [eax + 0x20]
add eax, 0x20
mov dword [esi + 0x28], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x2c], edx
mov eax, dword [edi + 0x24]
mov ecx, dword [eax + 0x28]
add eax, 0x28
mov dword [esi + 0x30], ecx
mov edx, dword [eax + 4]
push 1
push 0x38
mov dword [esi + 0x34], edx
mov eax, dword [edi + 0x14]
push esi
push eax
call fcn.0040eb00
push esi
call sub.mfc90u.dll_delete
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret
Function at 0x415660
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x428838
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x435028]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esi + 8], eax
xor eax, eax
mov dword [esi + 0xc], vtable.CZipAutoBuffer.0
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x18], 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
lea ecx, [esi + 0x3c]
mov dword [esp + 0x10], eax
push ecx
mov dword [esi], vtable.ZipArchiveLib::CBaseLibCompressor.0
call fcn.00416290
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 8