Function at 0x10008730
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10020817
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push edi
mov edi, ecx
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x70]
xor ebx, ebx
push eax
mov dword [esp + 0x28], edi
mov dword [esp + 0xc], ebx
call sym.WCUtil.dll_public:_class_CZipString___thiscall_CZipFileHeader::GetFileName_void_
mov edx, dword [edi + 0x48]
lea ecx, [edi + 0x44]
cmp edx, ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x20], ecx
jne 0x1000877c
mov dword [esp + 0x18], ebx
jmp 0x10008788
mov eax, dword [ecx + 8]
sub eax, edx
sar eax, 3
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
jle 0x100088d7
jmp 0x100087a6
mov edi, dword [esp + 0x2c]
xor ebx, ebx
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x3c]
lea eax, [ecx + edx]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
cmp esi, ebx
mov dword [esp + 0x1c], ecx
jne 0x100087c9
mov esi, 0x10021220
mov eax, dword [edi + 0x48]
and ecx, 0xffff
lea edx, [esp + 0x48]
mov ecx, dword [eax + ecx*8]
push edx
call sym.WCUtil.dll_public:_class_CZipString___thiscall_CZipFileHeader::GetFileName_void_
mov ecx, dword [esp + 0x10]
mov edx, eax
or ecx, 1
mov dword [esp + 0x10], ecx
cmp esi, ebx
je 0x10008802
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x24], ecx
jmp 0x10008806
mov dword [esp + 0x24], ebx
mov edi, dword [edx + 4]
cmp edi, ebx
mov ebx, 0x10021220
je 0x10008814
mov ebx, edi
mov ebp, dword [edx + 8]
test edi, edi
jne 0x10008820
mov edi, 0x10021220
lea ecx, [esp + 0x30]
call fcn.10008960
mov ecx, dword [esp + 0x24]
add ebx, ebp
add ecx, esi
mov dword [esp + 0x70], 2
push ecx
push esi
push ebx
push edi
push 1
push 0
push eax
call fcn.10006980
add esp, 0xc
mov ecx, eax
call fcn.10008d20
lea ecx, [esp + 0x30]
mov esi, eax
call fcn.10004850
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x70], 1
test bl, 2
je 0x1000887f
and ebx, 0xfffffffd
push 1
lea ecx, [esp + 0x5c]
mov dword [esp + 0x14], ebx
call fcn.10002400
test bl, 1
mov dword [esp + 0x70], 0
je 0x1000889e
and ebx, 0xfffffffe
push 1
lea ecx, [esp + 0x4c]
mov dword [esp + 0x14], ebx
call fcn.10002400
test esi, esi
jle 0x100088ac
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x18], edx
jmp 0x100088b7
jge 0x100088c9
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
cmp eax, ecx
jl 0x100087a0
jmp 0x100088d1
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x28]
xor ebx, ebx
mov eax, dword [esp + 0x7c]
pop esi
and eax, 0xffff
pop ebp
cmp eax, 0xffffffff
jne 0x100088eb
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x70]
mov word [esp + 0x2c], ax
mov eax, dword [ecx + 4]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0xc]
cmp edx, ebx
je 0x10008906
lea eax, [eax + edx*8]
lea edx, [esp + 0x28]
push edx
push 1
push eax
call fcn.10008d90
mov ecx, dword [esp + 0x34]
pop edi
cmp ecx, ebx
pop ebx
je 0x10008948
mov al, byte [ecx - 1]
test al, al
je 0x1000893e
cmp al, 0xff
je 0x1000893e
dec al
mov byte [ecx - 1], al
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret 8
dec ecx
push ecx
call fcn.10013576
add esp, 4
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret 8