joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10029190
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, ebx
cmp dword [ebx + 0x14], 0x10
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0xc], eax
jb 0x100291b2
mov esi, dword [ebx]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x100291d1
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x100291c0
mov edi, dword [ebp - 4]
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0xc]
and eax, edx
mov edi, dword [edi + 4]
mov dword [ebp - 0x10], edi
mov esi, dword [ecx + eax*8]
add eax, eax
mov edx, dword [ecx + eax*4]
inc eax
mov dword [ebp - 0x14], edx
lea eax, [ecx + eax*4]
mov dword [ebp - 0x18], eax
cmp edx, edi
jne 0x100291fc
mov eax, edi
jmp 0x10029200
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x10029282
cmp dword [ebx + 0x14], 0x10
mov edx, ebx
jb 0x1002920e
mov edx, dword [ebx]
mov edi, dword [esi + 0x1c]
lea ecx, [esi + 8]
mov dword [ebp - 0x1c], edi
cmp edi, 0x10
mov edi, dword [ebp - 0x10]
jb 0x10029222
mov ecx, dword [esi + 8]
push dword [ebx + 0x10]
mov eax, dword [esi + 0x18]
push edx
mov edx, eax
mov dword [ebp - 8], eax
call fcn.1000f180
add esp, 8
test al, al
jne 0x10029244
mov esi, dword [esi]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
jmp 0x100291f4
cmp dword [ebp - 0x1c], 0x10
lea eax, [esi + 8]
jb 0x1002924f
mov eax, dword [eax]
cmp dword [ebx + 0x14], 0x10
mov ecx, ebx
jb 0x10029259
mov ecx, dword [ebx]
push dword [ebp - 8]
mov edx, dword [ebx + 0x10]
push eax
call fcn.1000f180
add esp, 8
test al, al
jne 0x10029275
test al, al
mov ecx, edi
cmovne edi, esi
jmp 0x10029284
mov ecx, dword [ebp - 4]
test al, al
cmovne edi, esi
mov ecx, dword [ecx + 4]
jmp 0x10029284
mov ecx, edi
mov eax, edi
cmp edi, ecx
jne 0x100292e9
mov esi, dword [ecx]
lea eax, [ebp - 8]
push ecx
push eax
push ecx
mov edi, dword [esi + 4]
push edi
push esi
mov dword [ebp - 8], ebx
call fcn.1002ae40
mov ebx, dword [ebp - 4]
mov ecx, eax
mov eax, 0x6666665
mov edx, dword [ebx + 8]
sub eax, edx
cmp eax, 1
jae 0x100292be
push str.list_T__too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [edx + 1]
mov dword [ebx + 8], eax
mov dword [esi + 4], ecx
mov esi, dword [ebp - 0xc]
mov dword [edi], ecx
mov ecx, ebx
mov edx, dword [ebx + 4]
mov edx, dword [edx]
push edx
add edx, 8
push edx
push esi
call fcn.1002a370
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov eax, ecx
mov byte [ecx + 4], 0
mov esp, ebp
pop ebp
ret 8
Function at 0x10029300
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, ebx
cmp dword [ebx + 0x14], 0x10
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0xc], eax
jb 0x10029322
mov esi, dword [ebx]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x10029341
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x10029330
mov edi, dword [ebp - 4]
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0xc]
and eax, edx
mov edi, dword [edi + 4]
mov dword [ebp - 0x10], edi
mov esi, dword [ecx + eax*8]
add eax, eax
mov edx, dword [ecx + eax*4]
inc eax
mov dword [ebp - 0x14], edx
lea eax, [ecx + eax*4]
mov dword [ebp - 0x18], eax
cmp edx, edi
jne 0x1002936c
mov eax, edi
jmp 0x10029370
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x100293f2
cmp dword [ebx + 0x14], 0x10
mov edx, ebx
jb 0x1002937e
mov edx, dword [ebx]
mov edi, dword [esi + 0x1c]
lea ecx, [esi + 8]
mov dword [ebp - 0x1c], edi
cmp edi, 0x10
mov edi, dword [ebp - 0x10]
jb 0x10029392
mov ecx, dword [esi + 8]
push dword [ebx + 0x10]
mov eax, dword [esi + 0x18]
push edx
mov edx, eax
mov dword [ebp - 8], eax
call fcn.1000f180
add esp, 8
test al, al
jne 0x100293b4
mov esi, dword [esi]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
jmp 0x10029364
cmp dword [ebp - 0x1c], 0x10
lea eax, [esi + 8]
jb 0x100293bf
mov eax, dword [eax]
cmp dword [ebx + 0x14], 0x10
mov ecx, ebx
jb 0x100293c9
mov ecx, dword [ebx]
push dword [ebp - 8]
mov edx, dword [ebx + 0x10]
push eax
call fcn.1000f180
add esp, 8
test al, al
jne 0x100293e5
test al, al
mov ecx, edi
cmovne edi, esi
jmp 0x100293f4
mov ecx, dword [ebp - 4]
test al, al
cmovne edi, esi
mov ecx, dword [ecx + 4]
jmp 0x100293f4
mov ecx, edi
mov eax, edi
cmp edi, ecx
jne 0x10029459
mov esi, dword [ecx]
lea eax, [ebp - 8]
push ecx
push eax
push ecx
mov edi, dword [esi + 4]
push edi
push esi
mov dword [ebp - 8], ebx
call fcn.1002aea0
mov ebx, dword [ebp - 4]
mov ecx, eax
mov eax, 0x6666665
mov edx, dword [ebx + 8]
sub eax, edx
cmp eax, 1
jae 0x1002942e
push str.list_T__too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [edx + 1]
mov dword [ebx + 8], eax
mov dword [esi + 4], ecx
mov esi, dword [ebp - 0xc]
mov dword [edi], ecx
mov ecx, ebx
mov edx, dword [ebx + 4]
mov edx, dword [edx]
push edx
add edx, 8
push edx
push esi
call fcn.1002a370
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov eax, ecx
mov byte [ecx + 4], 0
mov esp, ebp
pop ebp
ret 8
Function at 0x10029c20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006cf11
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x100c400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x11c]
push 0x10c
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x114], 0
add esp, 0xc
mov dword [ebp - method.fmt::v6::basic_memory_buffer_char__500__class_std::allocator_char__.virtual_0], vtable.fmt::v6::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x110], 0xfa
mov dword [ebp - 4], 0
lea edx, [ebp - 0x11c]
mov ecx, dword [edi + 8]
push edx
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x114]
add dword [edi + 0x5c], esi
mov eax, dword [edi + 0x5c]
cmp eax, dword [edi + 0x54]
jbe 0x10029cca
mov ecx, edi
call fcn.1002aa00
mov esi, dword [ebp - 0x114]
mov dword [edi + 0x5c], esi
push dword [edi + 0x6c]
push esi
push 1
push dword [ebp - 0x118]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp eax, esi
jne 0x10029d4a
mov ecx, dword [ebp - 0x118]
lea eax, [ebp - 0x10c]
mov dword [ebp - method.fmt::v6::basic_memory_buffer_char__500__class_std::allocator_char__.virtual_0], vtable.fmt::v6::basic_memory_buffer_char__250__class_std::allocator_char__.0
cmp ecx, eax
je 0x10029d2d
mov edx, dword [ebp - 0x110]
mov eax, ecx
cmp edx, 0x1000
jb 0x10029d23
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10029d23
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100696b3
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10069076
mov esp, ebp
pop ebp
ret 4
lea edx, [edi + 0x70]
lea ecx, [ebp - 0x158]
call fcn.1001d950
push eax
mov edx, str.Failed_writing_to_file
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x170]
call fcn.10023c20
add esp, 4
mov esi, eax
mov byte [ebp - 4], 2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
lea ecx, [ebp - 0x140]
push dword [eax]
push esi
call fcn.1001d610
push 0x100c1b80
lea eax, [ebp - 0x140]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x1002a5f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
push ebx
push esi
mov ebx, dword [eax]
mov esi, ecx
mov eax, ebx
mov dword [ebp - 0xc], esi
shr eax, 8
movzx ecx, al
mov edx, dword [esi + 0xc]
movzx eax, bl
xor eax, 0x811c9dc5
imul eax, eax, 0x1000193
push edi
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x10
movzx eax, al
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0x18]
mov esi, dword [esi + 4]
and ecx, eax
mov eax, dword [edx + ecx*8]
add ecx, ecx
mov edi, dword [edx + ecx*4]
lea edx, [edx + ecx*4]
cmp edi, esi
jne 0x1002a65f
mov ecx, esi
jmp 0x1002a664
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x1002a675
cmp dword [eax + 8], ebx
je 0x1002a671
mov eax, dword [eax]
jmp 0x1002a657
cmp eax, esi
jne 0x1002a6cd
mov eax, dword [ebp - 8]
mov esi, dword [esi]
push ecx
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
mov edi, dword [esi + 4]
push ecx
push edi
push esi
call fcn.1002b530
mov ebx, dword [ebp - 0xc]
mov edx, eax
mov ecx, 0xffffffe
mov eax, dword [ebx + 8]
sub ecx, eax
cmp ecx, 1
jae 0x1002a6ac
push str.list_T__too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
inc eax
mov ecx, ebx
mov dword [ebx + 8], eax
mov dword [esi + 4], edx
mov dword [edi], edx
mov eax, dword [ebx + 4]
mov eax, dword [eax]
push eax
add eax, 8
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.1002b0e0
mov eax, dword [ebp - 0x10]
pop edi
pop esi
add eax, 0xc
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x1002a6e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp dword [edi + 0x1c], 0x10
lea esi, [edi + 8]
mov ebx, dword [edi + 0x18]
jb 0x1002a704
mov esi, dword [edi + 8]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x1002a721
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x1002a710
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
lea edx, [eax*8]
mov eax, dword [ecx + edx]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x1002a75a
cmp eax, edi
jne 0x1002a752
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x1002a762
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x1002a762
cmp eax, edi
jne 0x1002a762
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
lea ecx, [edi + 8]
mov esi, dword [edi]
mov dword [eax], esi
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
dec dword [ebx + 8]
call fcn.100075b0
push 0x28
push edi
call fcn.100696b3
mov eax, dword [ebp - 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1002b560
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov ebx, dword [eax + 8]
mov edi, ecx
movzx edx, bl
mov ecx, ebx
xor edx, 0x811c9dc5
shr ecx, 8
imul edx, edx, 0x1000193
movzx ecx, cl
xor edx, ecx
mov ecx, ebx
imul edx, edx, 0x1000193
shr ecx, 0x10
movzx ecx, cl
shr ebx, 0x18
xor edx, ecx
imul ecx, edx, 0x1000193
mov edx, dword [edi + 0x18]
xor ecx, ebx
imul ecx, ecx, 0x1000193
and edx, ecx
lea esi, [edx*8]
mov edx, dword [edi + 0xc]
add edx, esi
mov ecx, dword [edx]
cmp dword [edx + 4], eax
jne 0x1002b5e4
cmp ecx, eax
jne 0x1002b5dc
mov ecx, dword [edi + 4]
mov dword [edx], ecx
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov dword [edx + esi + 4], ecx
jmp 0x1002b5ec
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
jmp 0x1002b5ec
cmp ecx, eax
jne 0x1002b5ec
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov esi, dword [eax]
push 0x10
push eax
mov dword [ecx], esi
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
dec dword [edi + 8]
call fcn.100696b3
mov eax, dword [ebp - 4]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1002d310
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006d790
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100c400c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
lea esi, [ebx + 0xc]
mov dword [ebx], vtable.CZipArchive.0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10031c50
mov dword [esi], eax
lea edi, [ebx + 0x20]
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], edi
mov dword [edi], vtable.CZipStorage.0
mov dword [edi + 0x28], vtable.CZipAutoBuffer.0
mov dword [edi + 0x30], 0
mov dword [edi + 0x2c], 0
lea ecx, [edi + 0x68]
mov dword [edi + 0x60], 0
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
mov dword [edi + 0x80], vtable.CZipFile.0
mov dword [edi + 0x98], eax
mov dword [edi + 0x9c], 7
mov word [edi + 0x88], ax
mov dword [edi + 0x84], 0xffffffff
mov byte [ebp - 4], 3
mov dword [edi + 0x64], eax
mov dword [edi + 0x58], eax
mov dword [edi + 0x5c], eax
mov dword [edi + 0x50], 0x10000
mov dword [edi + 8], eax
mov dword [edi + 0x54], 0x8000
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], eax
mov dword [edi + 0x40], 0xffffffff
call fcn.1002b6f0
mov dword [edi + 0xa0], 0
mov dword [edi + 0xa4], 0
mov byte [edi + 0xa8], 0
mov dword [edi + 0x60], 0
mov dword [ebx + 0xd0], vtable.CZipCentralDir.0
mov dword [ebx + 0xf4], 0
mov dword [ebx + 0xec], 0
mov dword [ebx + 0xf0], 0
mov dword [ebx + 0xd4], 0
mov dword [ebx + 0xdc], 0
mov dword [ebx + 0xd8], 0x300
mov dword [ebx + 0xe0], 0
mov dword [ebx + 0xe4], 0
mov dword [ebx + 0xe8], 1
xor eax, eax
mov dword [ebx + 0x114], 0
mov dword [ebx + 0x118], 7
mov word [ebx + 0x104], ax
mov dword [ebx + 0x12c], eax
mov dword [ebx + 0x130], 7
mov word [ebx + 0x11c], ax
mov dword [ebx + method.CZipAutoBuffer.virtual_0], vtable.CZipAutoBuffer.0
mov dword [ebx + 0x140], eax
mov dword [ebx + 0x13c], eax
mov dword [ebx + method.CZipAutoBuffer.virtual_0], vtable.CZipAutoBuffer.0
mov dword [ebx + 0x15c], eax
mov dword [ebx + 0x158], eax
mov byte [ebp - 4], 9
lea esi, [ebx + 0x164]
mov dword [ebp - 0x14], esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.10031c50
mov dword [esi], eax
mov byte [ebx + 8], 1
mov eax, 8
mov byte [ebx + 0xfc], 0
mov word [ebx + 0x150], ax
mov eax, ebx
mov dword [ebx + 0x100], 1
mov dword [ebx + 0xf8], 0
mov word [ebx + 0x14], 0
mov dword [ebx + 0x18], fcn.10035ad0
mov dword [ebx + 0x14c], 0
mov dword [ebx + 0x144], 0
mov dword [ebx + 0x148], 0
mov dword [ebx + 0x160], 0x10000
mov dword [ebx + 0xe0], ebx
mov dword [ebx + 0xe4], edi
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 0x10034ee0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006e0fb
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x100c400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0xa8]
movlpd qword [ebp - 0xc0], xmm0
movlpd qword [ebp - 0xb8], xmm0
movlpd qword [ebp - 0xb0], xmm0
call fcn.1002c380
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 8
lea ecx, [ebp - 0x28]
push dword [ebp - 0x4c]
cmovae eax, dword [ebp - 0x5c]
push eax
call fcn.100199c0
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
cmovae eax, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0xb8]
push ecx
lea ecx, [ebp - 0xc0]
push ecx
push eax
call esi
test eax, eax
jne 0x10034fe3
lea ecx, [ebp - 0x28]
call fcn.1002c420
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0xb0]
push ecx
lea ecx, [ebp - 0xb8]
push ecx
lea ecx, [ebp - 0xc0]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call esi
test eax, eax
jne 0x10034fe3
xorps xmm0, xmm0
movlpd qword [ebp - 0xc8], xmm0
mov esi, dword [ebp - 0xc4]
mov edi, dword [ebp - 0xc8]
jmp 0x10034fef
mov edi, dword [ebp - 0xb0]
mov esi, dword [ebp - 0xac]
lea ecx, [ebp - 0x28]
call fcn.10008ff0
lea ecx, [ebp - 0x44]
mov dword [ebp - 0xa8], vtable.CZipPathComponent.0
call fcn.10008ff0
lea ecx, [ebp - 0x5c]
call fcn.10008ff0
lea ecx, [ebp - 0x74]
call fcn.10008ff0
lea ecx, [ebp - 0x8c]
call fcn.10008ff0
lea ecx, [ebp - 0xa4]
call fcn.10008ff0
mov eax, edi
mov edx, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10069076
mov esp, ebp
pop ebp
ret
Function at 0x10035420
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x100c400c]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
push edi
mov edi, edx
mov edx, ecx
push 1
lea ecx, [esp + 0x10]
call fcn.100346a0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x10035450
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [esp + 0xc]
mov esi, eax
call fcn.10008ff0
cmp esi, 0xffffffff
jne 0x1003547a
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.10069076
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x24]
mov al, 1
mov dword [edi], esi
pop edi
pop esi
xor ecx, esp
call fcn.10069076
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x100c400c]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
mov edx, ecx
lea ecx, [esp + 4]
push 1
call fcn.100346a0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x1003568d
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [esp + 4]
mov ebx, eax
call fcn.10008ff0
cmp ebx, 0xffffffff
jne 0x100356b6
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.10069076
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1c]
test bl, 0x10
mov eax, 0
sete al
pop ebx
xor ecx, esp
lea eax, [eax*2 - 1]
call fcn.10069076
mov esp, ebp
pop ebp
ret

Function at 0x100356e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006e1c0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100c400c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov bl, dl
mov edi, ecx
push 0
mov edx, edi
lea ecx, [ebp - 0x2c]
call fcn.100346a0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x10035726
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.10008ff0
test esi, esi
je 0x1003573f
mov al, 1
jmp 0x10035745
test bl, bl
jne 0x10035761
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10069076
mov esp, ebp
pop ebp
ret
mov edx, edi
mov ecx, 0xda
call fcn.1002bdd0
int3
Function at 0x10035770
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006e1f8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x100c400c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0
lea ecx, [ebp - 0x44]
call fcn.100346a0
add esp, 4
mov esi, eax
push 0
mov edx, edi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.100346a0
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x100357c9
mov esi, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x100357d1
mov eax, dword [eax]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.10008ff0
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
call fcn.10008ff0
test esi, esi
je 0x10035813
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10069076
mov esp, ebp
pop ebp
ret
mov edx, edi
mov ecx, 0xdb
call fcn.1002bdd0
int3
Function at 0x10036d80
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006e348
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x100c400c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi + 0x14]
mov edx, dword [ecx + 0x60]
mov eax, edx
mov ebx, dword [ecx + 0x40]
shr eax, 4
test al, 1
je 0x10036df5
and edx, 0x70
push 0
cmp dl, 0x70
jne 0x10036dd1
push 1
call fcn.10033d40
xor ebx, ebx
jmp 0x10036df5
push 0x38
call fcn.10033d40
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0x40]
cmp ebx, eax
je 0x10036df5
mov ebx, eax
mov eax, dword [edi + 0x24]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
push 0
push 0x38
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], vtable.CZipAutoBuffer.0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
call fcn.1003bae0
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x20]
mov eax, dword [0x100cb410]
mov dword [ebp - 0x18], 0x2c
mov dword [ebp - 0x14], 0
movq xmm0, qword [ebp - 0x18]
mov dword [esi], eax
movq qword [esi + 4], xmm0
mov dword [esi + 0xc], 0x2d002d
mov eax, dword [edi + 0x24]
mov dword [eax + 0x30], ebx
mov eax, dword [edi + 0x24]
mov eax, dword [eax + 0x30]
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
call fcn.1002c9e0
mov ecx, dword [edi + 0x24]
push 1
push 0x38
push esi
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]
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x18], xmm0
mov eax, dword [edi + 0x24]
movq xmm0, qword [eax + 0x18]
movq qword [esi + 0x20], xmm0
mov eax, dword [edi + 0x24]
movq xmm0, qword [eax + 0x20]
movq qword [esi + 0x28], xmm0
mov eax, dword [edi + 0x24]
movq xmm0, qword [eax + 0x28]
movq qword [esi + 0x30], xmm0
mov ecx, dword [edi + 0x14]
call fcn.10033db0
push esi
call fcn.10069087
add esp, 4
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 0x100384b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
test esi, esi
jne 0x100384c6
pop edi
xor eax, eax
pop esi
pop ebp
ret 8
push ebx
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
push esi
push dword [ebp + 8]
mov dword [eax], 0
push dword [edi + 4]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
mov ebx, eax
add esp, 0xc
cmp ebx, esi
jge 0x100384f4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [eax], 0
jne 0x100384fd
mov eax, ebx
pop ebx
pop edi
pop esi
pop ebp
ret 8
mov ecx, edi
call fcn.10038140
int3