Function at 0x424a20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4988dd
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x4c63ac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x64], edi
call fcn.004262e0
add esp, 4
mov ecx, dword [ebp - 0x18]
mov eax, 0x7ffffffe
sub eax, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x68], ecx
cmp eax, 0xc
jb 0x424e38
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov esi, 7
mov dword [ebp - 0x40], 0
cmovae eax, dword [ebp - 0x28]
lea ebx, [ebp - 0x40]
mov dword [ebp - 0x64], eax
lea eax, [ecx + 0xc]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x60], eax
cmp eax, esi
jbe 0x424ae4
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x424ac3
mov esi, 0x7ffffffe
jmp 0x424acd
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x40]
call fcn.00402bd0
mov ecx, dword [ebp - 0x68]
mov ebx, eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x2c], esi
lea esi, [ecx + ecx]
push esi
push dword [ebp - 0x64]
mov dword [ebp - 0x30], eax
push ebx
call fcn.0046f400
mov eax, dword [str.ksolite.dll]
xor ecx, ecx
mov dword [esi + ebx], eax
add esp, 0xc
mov eax, dword [0x4a2234]
mov dword [esi + ebx + 4], eax
mov eax, dword [0x4a2238]
mov dword [esi + ebx + 8], eax
mov eax, dword [0x4a223c]
mov dword [esi + ebx + 0xc], eax
mov eax, dword [0x4a2240]
mov dword [esi + ebx + 0x10], eax
mov eax, dword [0x4a2244]
mov dword [esi + ebx + 0x14], eax
mov eax, dword [ebp - 0x60]
mov word [ebx + eax*2], cx
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x40]
push eax
call ebx
mov edx, dword [ebp - 0x2c]
test eax, eax
setne al
mov byte [ebp - 0x59], al
cmp edx, 8
jb 0x424b91
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x424b84
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424e3d
push edx
push ecx
call fcn.0046d9fd
mov al, byte [ebp - 0x59]
add esp, 8
test al, al
je 0x424bd1
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi], eax
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0x20]
mov dword [edi + 8], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [edi + 0xc], ecx
mov ecx, dword [ebp - 0x18]
mov dword [edi + 0x10], ecx
mov ecx, dword [ebp - 0x14]
mov dword [edi + 0x14], ecx
jmp 0x424cf1
lea eax, [ebp - 0x58]
push 0x80000001
push eax
call fcn.00425870
push str.office6
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
call fcn.00403130
mov esi, eax
add esp, 0x14
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x424c86
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x424c3c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x424c32
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424e42
push edx
push ecx
call fcn.0046d9fd
add esp, 8
mov dword [ebp - 0x18], 0
xor eax, eax
mov word [ebp - 0x28], ax
mov dword [ebp - 0x14], 7
mov eax, dword [esi]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x40]
call fcn.004022a0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.004022a0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call ebx
test eax, eax
je 0x424d11
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.004016d0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x424cf1
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x424ce7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424e33
push edx
push ecx
call fcn.0046d9fd
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046dc6a
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x40]
push 0x80000002
push eax
call fcn.00425870
push str.office6
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
call fcn.00403130
mov esi, eax
add esp, 0x14
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x424dc6
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x424d7c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x424d72
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424e47
push edx
push ecx
call fcn.0046d9fd
add esp, 8
mov dword [ebp - 0x18], 0
xor eax, eax
mov word [ebp - 0x28], ax
mov dword [ebp - 0x14], 7
mov eax, dword [esi]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x58]
call fcn.004022a0
lea ecx, [ebp - 0x40]
call fcn.004022a0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call ebx
test eax, eax
jne 0x424cac
mov edx, dword [ebp - 0x14]
mov dword [edi], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
cmp edx, 8
jb 0x424cf1
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x424ce7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x424ce7
call fcn.00478f8e
call fcn.004029f0
call fcn.00478f8e
call fcn.00478f8e
call fcn.00478f8e
int3