Function at 0x4240f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4afcd1
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4e437c]
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 esi, dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], 0
call fcn.00425390
add esp, 4
xor eax, eax
mov dword [ebp - 4], 1
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 0x18]
add eax, 0xc
mov dword [ebp - 0x30], 0
push eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x60], 2
call fcn.00403020
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
push eax
call fcn.00402d90
push 0xc
push str.ksolite.dll
lea ecx, [ebp - 0x40]
call fcn.00402d90
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
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
mov byte [ebp - 4], 0
setne al
mov byte [ebp - 0x59], al
cmp edx, 8
jb 0x4241e8
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4241db
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4244af
push edx
push ecx
call fcn.0046e36f
mov al, byte [ebp - 0x59]
add esp, 8
test al, al
je 0x424222
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi], eax
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x20]
mov dword [esi + 8], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x10], ecx
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x14], ecx
jmp 0x42444b
lea eax, [ebp - 0x58]
push 0x80000001
push eax
call fcn.00424e80
push str.office6
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
call fcn.00401760
mov edi, eax
add esp, 0x14
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x4242d7
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x42428d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x424283
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4244b4
push edx
push ecx
call fcn.0046e36f
add esp, 8
mov dword [ebp - 0x18], 0
xor eax, eax
mov word [ebp - 0x28], ax
mov dword [ebp - 0x14], 7
mov eax, dword [edi]
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
lea ecx, [ebp - 0x40]
call fcn.00402420
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.00402420
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call ebx
test eax, eax
je 0x424333
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x14], eax
jmp 0x42444b
lea eax, [ebp - 0x40]
push 0x80000002
push eax
call fcn.00424e80
push str.office6
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push eax
call fcn.00401760
mov edi, eax
add esp, 0x14
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x4243e8
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x42439e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x424394
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4244b9
push edx
push ecx
call fcn.0046e36f
add esp, 8
mov dword [ebp - 0x18], 0
xor eax, eax
mov word [ebp - 0x28], ax
mov dword [ebp - 0x14], 7
mov eax, dword [edi]
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
lea ecx, [ebp - 0x58]
call fcn.00402420
lea ecx, [ebp - 0x40]
call fcn.00402420
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call ebx
test eax, eax
je 0x42446b
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.004071a0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x42444b
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x424441
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4244aa
push edx
push ecx
call fcn.0046e36f
add esp, 8
mov eax, esi
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.0046e5dc
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0x14]
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
cmp edx, 8
jb 0x42444b
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x424441
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x424441
call fcn.0048f279
call fcn.0048f279
call fcn.0048f279
call fcn.0048f279
int3