Function at 0x436970
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f21ac
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
mov eax, dword [0x528c24]
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 dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov edx, dword [0x52b83c]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x1a8], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x52b83c
mov dword [ebp - 0x1a0], ebx
mov dword [ebp - 0x198], esi
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x194], edi
push ebx
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x436a3a
test esi, esi
je 0x436a0e
lea ecx, [ebp - 0x194]
push str._t_driver_decompression__ZipFile_Not_Exist
push ecx
call fcn.0040c440
mov edi, dword [ebp - 0x194]
push edi
push 0
push esi
call fcn.00419fb0
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 0x436e40
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x436e40
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 1
call fcn.004d18b0
push 0
push 3
push ebx
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 2
call fcn.004c8340
test al, al
jne 0x436aaf
push ebx
push str._driver_decompression____s__ZipArchive_Open_failed.
call fcn.00482580
add esp, 8
test esi, esi
je 0x436a84
push ebx
push str._t_driver_decompression____s__ZipArchive_Open_failed
push 0
push esi
call fcn.00419fb0
add esp, 0x10
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 1
call fcn.004d1030
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 0x436a25
xor edi, edi
mov dword [ebp - 0x19c], edi
xor esi, esi
lea esp, [esp]
mov ecx, dword [ebp - 0xb4]
test ecx, ecx
jne 0x436ace
xor eax, eax
jmp 0x436ad7
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
sar eax, 2
movzx ecx, ax
cmp esi, ecx
jge 0x436afa
push esi
lea ecx, [ebp - 0x190]
call fcn.004c56c0
test eax, eax
je 0x436af7
add edi, dword [eax + 0x18]
mov dword [ebp - 0x19c], edi
inc esi
jmp 0x436ac0
push ebx
call fcn.00436830
add esp, 4
cmp dword [ebp - 0x198], 0
mov ebx, eax
mov edi, edx
je 0x436bb6
push edi
lea edx, [ebp - 0x1ac]
push ebx
push edx
call fcn.0043a890
add esp, 0xc
mov esi, eax
mov eax, dword [ebp - 0x19c]
push 0
push eax
lea ecx, [ebp - 0x1a4]
push ecx
mov byte [ebp - 4], 3
call fcn.0043a890
add esp, 0xc
mov edx, dword [esi]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x1a0]
push edx
mov edx, dword [ebp - 0x198]
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.00419fb0
mov eax, dword [ebp - 0x1a4]
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 0x436b90
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1ac]
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 0x436bb6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
cmp edi, eax
ja 0x436c65
jb 0x436bce
cmp ebx, dword [ebp - 0x19c]
jae 0x436c65
push 0
push 0
lea ecx, [ebp - 0x1c8]
push ecx
lea ecx, [ebp - 0x190]
call fcn.004d1230
cmp dword [ebp - 0x1b0], 8
jb 0x436bfc
mov edx, dword [ebp - 0x1c4]
push edx
call fcn.0048d108
add esp, 4
mov eax, dword [ebp - 0x19c]
mov esi, dword [ebp - 0x1a0]
push eax
push edi
push ebx
push esi
push str._driver_decompression____s__DiskFreeSpace_Not_Enough_f:_I64u_bytes_t:_I64u_bytes_.
call fcn.00482580
mov eax, dword [ebp - 0x198]
add esp, 0x14
test eax, eax
je 0x436c34
push esi
push str._t_driver_decompression____s__DiskFreeSpace_Not_Enough.
push 0
push eax
call fcn.00419fb0
add esp, 0x10
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 1
call fcn.004d1030
mov eax, dword [ebp - 0x194]
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 0x436a25
mov edi, dword [ebp - 0x1a8]
xor esi, esi
lea ecx, [ecx]
mov ecx, dword [ebp - 0xb4]
test ecx, ecx
jne 0x436c7e
xor eax, eax
jmp 0x436c87
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
sar eax, 2
movzx ecx, ax
cmp esi, ecx
jge 0x436d21
push 0x10000
push 1
push 0
push 1
push edi
push esi
lea ecx, [ebp - 0x190]
call fcn.004cd900
test al, al
jne 0x436d1b
push 0
push 0
lea edx, [ebp - 0x1c8]
push edx
lea ecx, [ebp - 0x190]
call fcn.004d1230
cmp dword [ebp - 0x1b0], 8
jb 0x436cdc
mov eax, dword [ebp - 0x1c4]
push eax
call fcn.0048d108
add esp, 4
mov eax, dword [ebp - 0x198]
test eax, eax
je 0x436cfe
mov ecx, dword [ebp - 0x1a0]
push esi
push ecx
push str._t_driver_decompression____s__ZipArchive_ExtractFile_index:_d__failed.
push 0
push eax
call fcn.00419fb0
add esp, 0x14
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 1
call fcn.004d1030
mov eax, dword [ebp - 0x194]
add eax, 0xfffffff0
jmp 0x436a11
inc esi
jmp 0x436c70
push 0
push 0
lea ecx, [ebp - 0x1c8]
push ecx
lea ecx, [ebp - 0x190]
call fcn.004d1230
cmp dword [ebp - 0x1b0], 8
jb 0x436d4f
mov edx, dword [ebp - 0x1c4]
push edx
call fcn.0048d108
add esp, 4
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 1
call fcn.004d1030
mov eax, dword [ebp - 0x194]
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 0x436d87
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x436e42
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 - 0x14]
xor ecx, ebp
call fcn.0048d9be
mov esp, ebp
pop ebp
ret