Function at 0x48afc0
Capabilities:
Get file attributes
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4fe6f8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x2c]
push 0x5c
push eax
call fcn.004e5c9d
mov ecx, dword [esp + 0x34]
add esp, 8
test eax, eax
je 0x48b010
sub eax, ecx
sar eax, 1
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x48b020
mov dword [esp + 0x24], 0xffffffff
lea eax, [ecx - 0x10]
jmp 0x48b239
push 0
push 0
push 3
push 0
push 3
push SHChangeNotifyDeregister
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x48b0c6
xor edi, edi
push edi
lea ecx, [esp + 0x18]
push ecx
push 2
lea edx, [esp + 0x24]
push edx
push esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x48b07b
cmp dword [esp + 0x14], 2
jne 0x48b07b
mov eax, 0x4b50
cmp word [esp + 0x18], ax
jne 0x48b07b
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x48b0c6
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48b0ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret
lea ecx, [ebx + 1]
lea esi, [esp + 0x10]
lea edx, [esp + 0x2c]
call fcn.0041cdf0
mov ecx, dword [esp + 0x2c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov ebx, eax
test ebx, ebx
je 0x48b20a
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48b0f0
sub eax, edx
sar eax, 1
cmp eax, 4
jb 0x48b20a
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x48b13e
lea ecx, [esp + 0x10]
call fcn.004016f0
lea ecx, [esp + 0x2c]
call fcn.004016f0
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret
push str..zip
push ebx
call fcn.004e4707
add esp, 8
test eax, eax
je 0x48b1e0
push str..001
push ebx
call fcn.004e4707
mov esi, dword [esp + 0x18]
add esp, 8
test eax, eax
jne 0x48b198
mov edi, dword [esi - 0xc]
test edi, edi
jge 0x48b176
or eax, 0xffffffff
jmp 0x48b191
push str..zip.001
push esi
call fcn.004e4d6c
add esp, 8
test eax, eax
jne 0x48b18d
or eax, 0xffffffff
jmp 0x48b191
sub eax, esi
sar eax, 1
add edi, 0xfffffff8
cmp edi, eax
je 0x48b1e0
push str..z01
push ebx
call fcn.004e4707
add esp, 8
test eax, eax
jne 0x48b117
mov edi, dword [esi - 0xc]
test edi, edi
jge 0x48b1ba
or eax, 0xffffffff
jmp 0x48b1d5
push str..z01
push esi
call fcn.004e4d6c
add esp, 8
test eax, eax
jne 0x48b1d1
or eax, 0xffffffff
jmp 0x48b1d5
sub eax, esi
sar eax, 1
add edi, 0xfffffffc
cmp edi, eax
jne 0x48b117
lea ecx, [esp + 0x10]
call fcn.004016f0
lea ecx, [esp + 0x2c]
call fcn.004016f0
mov eax, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48b22a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48b252
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret