Function at 0x424c30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49cded
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x4cc3d0]
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.004264e0
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 0x425048
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 0x424cf4
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x424cd3
mov esi, 0x7ffffffe
jmp 0x424cdd
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.004738a0
mov eax, dword [0x4a7210]
xor ecx, ecx
mov dword [esi + ebx], eax
add esp, 0xc
mov eax, dword [0x4a7214]
mov dword [esi + ebx + 4], eax
mov eax, dword [0x4a7218]
mov dword [esi + ebx + 8], eax
mov eax, dword [0x4a721c]
mov dword [esi + ebx + 0xc], eax
mov eax, dword [0x4a7220]
mov dword [esi + ebx + 0x10], eax
mov eax, dword [0x4a7224]
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 0x424da1
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x424d94
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42504d
push edx
push ecx
call fcn.00471e9b
mov al, byte [ebp - 0x59]
add esp, 8
test al, al
je 0x424de1
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 0x424f01
lea eax, [ebp - 0x58]
push 0x80000001
push eax
call fcn.00425a70
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 0x424e96
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x424e4c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x424e42
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425052
push edx
push ecx
call fcn.00471e9b
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 0x424f21
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.004016d0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x424f01
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x424ef7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425043
push edx
push ecx
call fcn.00471e9b
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.00472108
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x40]
push 0x80000002
push eax
call fcn.00425a70
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 0x424fd6
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x424f8c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x424f82
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425057
push edx
push ecx
call fcn.00471e9b
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 0x424ebc
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 0x424f01
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x424ef7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x424ef7
call fcn.0047d41e
call fcn.004029f0
call fcn.0047d41e
call fcn.0047d41e
call fcn.0047d41e
int3