Function at 0x46141b
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4adaf0
call fcn.004ab348
sub esp, 0x5f0
push ebx
push esi
push edi
and dword [ebp - 4], 0
push 0x4c1e44
lea eax, [ebp - 0x1c]
push eax
call fcn.00405de8
and dword [ebp - 0x14], 0
push 1
push str.SOFTWAREwinzips_setup
push SysReAllocString
lea esi, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00406047
lea eax, [ebp - 0x1c]
push eax
push str.installlanguage
mov ebx, esi
call fcn.0040612f
xor ebx, ebx
push 0x208
lea eax, [ebp - 0x5fa]
push ebx
push eax
mov word [ebp - 0x5fc], bx
call fcn.0048e7e0
add esp, 0xc
lea eax, [ebp - 0x5fc]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00405de8
mov eax, dword [ebp + 8]
add eax, 0xc
mov byte [ebp - 4], 3
mov ecx, dword [eax]
cmp dword [ecx - 0xc], ebx
jne 0x461559
mov esi, 0x104
push esi
lea eax, [ebp - 0x5fc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x46150c
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00405b78
cmp dword [ebp - 0x14], ebx
je 0x4614e0
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov dword [ebp - 0x14], ebx
call fcn.00405b78
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.00405b78
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
lea eax, [ebp - 0x5fc]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00406003
push esi
lea esi, [ebp - 0x18]
call fcn.00405ca9
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
cmp dword [ebp - 0x18], ebx
jne 0x461535
xor eax, eax
jmp 0x46153e
push dword [ebp - 0x18]
call fcn.0048f085
pop ecx
lea edx, [ebp - 0x18]
call fcn.00405c70
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], ebx
je 0x4614ca
push str.datalanguage_
jmp 0x461566
lea edi, [ebp - 0x18]
call fcn.00405107
push 0x4bcd1c
lea eax, [ebp - 0x18]
push eax
call fcn.00406430
mov esi, dword [ebp + 0xc]
push dword [esi - 0xc]
lea eax, [ebp - 0x18]
push esi
call fcn.00406a1e
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4615ba
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00405b78
cmp dword [ebp - 0x14], ebx
je 0x4615a4
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov dword [ebp - 0x14], ebx
call fcn.00405b78
lea eax, [esi - 0x10]
jmp 0x4614f4
lea eax, [ebp - 0x15c]
push eax
call fcn.0040177e
push ebx
mov byte [ebp - 4], 4
push dword [ebp - 0x18]
lea eax, [ebp - 0xe0]
mov dword [ebp - 0xe4], eax
lea eax, [ebp - 0xe4]
push eax
call fcn.00406f27
mov byte [ebp - 4], 5
push dword [ebp - 0xe4]
lea ecx, [ebp - 0x15c]
call fcn.004017d6
test al, al
jne 0x46162d
lea eax, [ebp - 0xe0]
cmp dword [ebp - 0xe4], eax
je 0x461619
push dword [ebp - 0xe4]
call fcn.0048e490
pop ecx
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 3
call fcn.00402d90
jmp 0x46158b
lea eax, [ebp - 0x15c]
call fcn.00402b09
cmp eax, ebx
jne 0x46169e
lea eax, [ebp - 0xe0]
cmp dword [ebp - 0xe4], eax
je 0x461656
push dword [ebp - 0xe4]
call fcn.0048e490
pop ecx
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 3
call fcn.00402d90
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00405b78
cmp dword [ebp - 0x14], ebx
je 0x46167e
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
mov eax, dword [ebp - 0x1c]
and dword [ebp - 0x14], 0
add eax, 0xfffffff0
call fcn.00405b78
lea eax, [esi - 0x10]
call fcn.00405b78
mov al, bl
jmp 0x4614fb
push 0x4c1e3c
call fcn.00402ad4
mov edi, eax
cmp edi, ebx
je 0x4617ef
push 0x4c1e8c
mov eax, edi
call fcn.004013ca
push dword [ebp - 0x1c]
lea esi, [ebp - 0x1e0]
mov ebx, eax
call fcn.00406efb
push dword [eax]
mov eax, edi
call fcn.004013ca
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1dc]
cmp dword [ebp - 0x1e0], eax
je 0x4616f4
push dword [ebp - 0x1e0]
call fcn.0048e490
pop ecx
test ebx, ebx
je 0x4617d4
cmp dword [ebp - 0x20], 0
je 0x4617d4
lea eax, [ebp - 0x3e4]
mov esi, 0xfde9
push esi
mov dword [ebp - 0x3e8], eax
push ebx
lea eax, [ebp - 0x3e8]
push eax
call fcn.0042a558
mov byte [ebp - 4], 6
push dword [ebp - 0x3e8]
lea eax, [ebp - 0x3c]
call fcn.00408d6c
lea eax, [ebp - 0x3e4]
mov byte [ebp - 4], 8
cmp dword [ebp - 0x3e8], eax
je 0x461755
push dword [ebp - 0x3e8]
call fcn.0048e490
pop ecx
push esi
push dword [ebp - 0x20]
lea eax, [ebp - 0x2e0]
mov dword [ebp - 0x2e4], eax
lea eax, [ebp - 0x2e4]
push eax
call fcn.0042a558
mov byte [ebp - 4], 9
push dword [ebp - 0x2e4]
lea eax, [ebp - 0x58]
call fcn.00408d6c
lea eax, [ebp - 0x2e0]
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x2e4], eax
je 0x4617a1
push dword [ebp - 0x2e4]
call fcn.0048e490
pop ecx
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 8]
call fcn.004652d2
push 0xffffffffffffffff
push eax
xor ebx, ebx
lea eax, [ebp - 0x58]
call fcn.00408ecd
push ebx
push 1
lea esi, [ebp - 0x58]
call fcn.004067e5
push ebx
push 1
lea esi, [ebp - 0x3c]
mov byte [ebp - 4], 5
call fcn.004067e5
push 0x4c1e3c
mov eax, edi
call fcn.00402a84
mov edi, eax
test edi, edi
jne 0x4616b2
mov esi, dword [ebp + 0xc]
xor ebx, ebx
lea eax, [ebp - 0xe0]
cmp dword [ebp - 0xe4], eax
je 0x461809
push dword [ebp - 0xe4]
call fcn.0048e490
pop ecx
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 3
call fcn.00402d90
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00405b78
cmp dword [ebp - 0x14], ebx
je 0x461831
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
jmp 0x461680