Function at 0x409d00
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x180]
sub esp, 0x180
push 0xffffffffffffffff
push 0x45ee70
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x476cd4]
xor eax, ebp
mov dword [ebp + 0x17c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x18c]
mov edx, dword [0x479678]
mov ebx, dword [ebp + 0x188]
mov esi, dword [ebp + 0x190]
mov dword [ebp - 0x28], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x479678
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], esi
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x14], edi
push ebx
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x409dcc
test esi, esi
je 0x409da0
lea ecx, [ebp - 0x14]
push str._t_driver_decompression__ZipFile_Not_Exist
push ecx
call fcn.00409280
mov edi, dword [ebp - 0x14]
push edi
push 0
push esi
call fcn.0041d880
add esp, 0x14
lea eax, [edi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40a13d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40a13d
lea ecx, [ebp]
mov byte [ebp - 4], 1
call fcn.0042c1e0
push 0
push 3
push ebx
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.00427710
test al, al
jne 0x409e35
push ebx
push str._driver_decompression____s__ZipArchive_Open_failed.
call fcn.00420f70
add esp, 8
test esi, esi
je 0x409e10
push ebx
push str._t_driver_decompression____s__ZipArchive_Open_failed
push 0
push esi
call fcn.0041d880
add esp, 0x10
lea ecx, [ebp]
mov byte [ebp - 4], 1
call fcn.0042bd90
lea eax, [edi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x409db7
xor edi, edi
mov dword [ebp - 0x1c], edi
xor esi, esi
lea esp, [esp]
mov ecx, dword [ebp + 0xdc]
test ecx, ecx
jne 0x409e4e
xor eax, eax
jmp 0x409e57
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
sar eax, 2
movzx ecx, ax
cmp esi, ecx
jge 0x409e74
push esi
lea ecx, [ebp]
call fcn.00426c00
test eax, eax
je 0x409e71
add edi, dword [eax + 0x18]
mov dword [ebp - 0x1c], edi
inc esi
jmp 0x409e40
push ebx
call fcn.00409ba0
add esp, 4
cmp dword [ebp - 0x18], 0
mov ebx, eax
mov edi, edx
je 0x409f18
push edi
lea edx, [ebp - 0x2c]
push ebx
push edx
call fcn.00415130
add esp, 0xc
mov esi, eax
mov eax, dword [ebp - 0x1c]
push 0
push eax
lea ecx, [ebp - 0x24]
push ecx
mov byte [ebp - 4], 3
call fcn.00415130
add esp, 0xc
mov edx, dword [esi]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
push edx
mov edx, dword [ebp - 0x18]
push eax
push ecx
push str._t_driver_decompression____s__UnzipTotalSize:__s_DiskFreeSize:__s
push 0
push edx
mov byte [ebp - 4], 4
call fcn.0041d880
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
add esp, 0x18
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409ef5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409f18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
cmp edi, eax
ja 0x409fa5
jb 0x409f29
cmp ebx, dword [ebp - 0x1c]
jae 0x409fa5
push 0
push 0
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp]
call fcn.0042bf90
cmp dword [ebp - 0x30], 8
jb 0x409f4b
mov edx, dword [ebp - 0x44]
push edx
call fcn.0043e711
add esp, 4
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
push eax
push edi
push ebx
push esi
push str._driver_decompression____s__DiskFreeSpace_Not_Enough_f:_I64u_bytes_t:_I64u_bytes_.
call fcn.00420f70
mov eax, dword [ebp - 0x18]
add esp, 0x14
test eax, eax
je 0x409f7a
push esi
push str._t_driver_decompression____s__DiskFreeSpace_Not_Enough.
push 0
push eax
call fcn.0041d880
add esp, 0x10
lea ecx, [ebp]
mov byte [ebp - 4], 1
call fcn.0042bd90
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x409db7
mov edi, dword [ebp - 0x28]
xor esi, esi
lea ebx, [ebx]
mov ecx, dword [ebp + 0xdc]
test ecx, ecx
jne 0x409fbe
xor eax, eax
jmp 0x409fc7
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
sar eax, 2
movzx ecx, ax
cmp esi, ecx
jge 0x40a042
push 0x10000
push 1
push 0
push 1
push edi
push esi
lea ecx, [ebp]
call fcn.0042a310
test al, al
jne 0x40a03c
push 0
push 0
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp]
call fcn.0042bf90
cmp dword [ebp - 0x30], 8
jb 0x40a009
mov eax, dword [ebp - 0x44]
push eax
call fcn.0043e711
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40a025
mov ecx, dword [ebp - 0x20]
push esi
push ecx
push str._t_driver_decompression____s__ZipArchive_ExtractFile_index:_d__failed.
push 0
push eax
call fcn.0041d880
add esp, 0x14
lea ecx, [ebp]
mov byte [ebp - 4], 1
call fcn.0042bd90
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
jmp 0x409da3
inc esi
jmp 0x409fb0
push 0
push 0
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp]
call fcn.0042bf90
cmp dword [ebp - 0x30], 8
jb 0x40a064
mov edx, dword [ebp - 0x44]
push edx
call fcn.0043e711
add esp, 4
lea ecx, [ebp]
mov byte [ebp - 4], 1
call fcn.0042bd90
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a096
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x40a13f
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x17c]
xor ecx, ebp
call fcn.0043f03d
add ebp, 0x180
mov esp, ebp
pop ebp
ret