Function at 0x4906c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f121d
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x70f200]
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 eax, ecx
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0x18], ecx
mov ecx, eax
mov dword [ebp - 0x40], ebx
call fcn.0043e530
test al, al
je 0x4909af
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
call esi
test eax, eax
je 0x4909af
push ebx
call esi
test eax, eax
jne 0x490736
mov eax, 0xfffffffe
jmp 0x4909b2
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push edi
lea ecx, [ebp - 0x24]
movq qword [ebp - 0x24], xmm0
mov esi, eax
call fcn.005dc570
push 1
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x3c]
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
push edi
movq qword [ebp - 0x3c], xmm0
call fcn.005dc570
push 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
push edi
movq qword [ebp - 0x30], xmm0
call fcn.005dc570
push 1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.005dbf40
mov ecx, edi
test esi, esi
je 0x4907b3
call fcn.005e53c0
jmp 0x4907b8
call fcn.005e0e70
mov ecx, eax
call fcn.005e9d20
mov edx, 2
movsd qword [ebp - 0x5c], xmm0
mov ecx, 0x400
call fcn.00404860
mulsd xmm0, qword [0x6edb30]
movsd xmm1, qword [ebp - 0x5c]
comisd xmm1, xmm0
jbe 0x4907f0
mov esi, 0xfffffffd
jmp 0x490993
mov ecx, dword [ebp - 0x44]
push dword [ebp - 0x48]
mov ecx, dword [ecx + 0x14e4]
call fcn.005c5730
sub esp, 0xc
lea ecx, [ebp - 0x24]
mov esi, eax
mov dword [ebp - 0x4c], esi
call fcn.005dc190
push eax
mov ecx, esi
call fcn.005c9e40
mov ebx, eax
mov eax, dword [ebp - 0x18]
push 0
test eax, eax
je 0x49082f
mov edx, eax
mov ecx, edi
call fcn.0059f1d0
jmp 0x49083a
mov edx, dword [ebp - 0x40]
push ecx
mov ecx, edi
call fcn.0059ed80
test al, al
jne 0x490848
mov esi, 0xfffffffc
jmp 0x490993
cmp ebx, 0xffffffff
jne 0x490869
push 0
push ebx
lea ecx, [ebp - 0x24]
call fcn.005dc190
push eax
mov edx, 0x2710
mov ecx, esi
call fcn.005caa40
mov esi, eax
jmp 0x49086b
mov esi, ebx
mov ecx, dword [ebp - 0x40]
call fcn.005e0e70
mov ecx, edx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x50], ecx
cmp ecx, dword [ebp + 0x1c]
jg 0x490963
jl 0x49088f
cmp eax, dword [ebp + 0x18]
ja 0x490963
test esi, esi
js 0x490963
cmp esi, ebx
je 0x4908ed
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0
push edi
push 0x800
lea ecx, [ebp - 0x30]
call fcn.005db9a0
mov ebx, dword [ebp - 0x44]
push eax
push dword [ebx]
call dword [sym.imp.SHELL32.dll_ExtractAssociatedIconW]
push eax
lea ecx, [ebp - 0x40]
call fcn.005c6590
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x4908e3
mov ecx, dword [ebx + 0x14e4]
push eax
push eax
push esi
push dword [ebp - 0x48]
call fcn.005bab80
lea ecx, [ebp - 0x40]
call fcn.005c6580
jmp 0x4908f0
mov ebx, dword [ebp - 0x44]
push 0
lea ecx, [ebp - 0x3c]
call fcn.005dbed0
mov ecx, eax
call fcn.005dc190
mov ecx, dword [ebp - 0x4c]
mov edx, esi
push eax
push 1
call fcn.005ca650
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x49095c
sub esp, 0xc
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.Current_zip_file_size:
push ecx
push 0
push dword [ebp - 0x50]
lea ecx, [ebp - 0x30]
push dword [ebp - 0x58]
call fcn.005daea0
mov ecx, eax
call fcn.005da510
push 0
lea ecx, [ebp - 0x30]
call fcn.005dc190
mov ecx, dword [ebx + 0x14e4]
push eax
push esi
call fcn.005bcd30
ret
adc al, byte [eax]
mov esi, 1
jmp 0x490993
lea ecx, [ebp - 0x24]
call fcn.005dc190
mov edx, dword [ebp - 0x40]
mov ecx, eax
call fcn.0059e910
test al, al
je 0x49098e
test esi, esi
js 0x49098e
push 0
push ebx
push 0x1008
push dword [ebp - 0x4c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, 0xfffffffb
lea ecx, [ebp - 0x30]
call fcn.005dc430
lea ecx, [ebp - 0x3c]
call fcn.005dc430
lea ecx, [ebp - 0x24]
call fcn.005dc430
mov eax, esi
jmp 0x4909b2
or eax, 0xffffffff
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.0041e1b5
mov esp, ebp
pop ebp
ret 0x1c