Function at 0x4505c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4a83b4
mov eax, dword fs:[0]
push eax
sub esp, 0xa28
mov eax, dword [0x4c76b8]
xor eax, esp
mov dword [esp + 0xa24], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c76b8]
xor eax, esp
push eax
lea eax, [esp + 0xa3c]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
mov dword [esp + 0x34], ecx
mov ebp, 7
push 0x4b09a8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
call fcn.00409b30
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x130]
push ecx
mov dword [esp + 0xa4c], ebx
call fcn.0043c2c0
add esp, 8
mov edi, 8
cmp dword [esp + 0x2c], edi
mov byte [esp + 0xa44], 2
jb 0x45065e
mov edx, dword [esp + 0x18]
push edx
call fcn.00471a59
add esp, 4
cmp dword [esp + 0x140], ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], bx
je 0x4506c5
lea ecx, [esp + 0xf4]
push ebx
push ecx
call fcn.0043c9c0
add esp, 8
cmp dword [esp + 0x108], ebx
mov byte [esp + 0xa44], 3
jne 0x4506df
cmp dword [esp + 0x10c], edi
jb 0x4506af
mov edx, dword [esp + 0xf8]
push edx
call fcn.00471a59
add esp, 4
mov dword [esp + 0x10c], ebp
mov dword [esp + 0x108], ebx
mov word [esp + 0xf8], bx
cmp dword [esp + 0x144], edi
jb 0x450a82
mov eax, dword [esp + 0x130]
push eax
jmp 0x450a7a
cmp dword [esp + 0x10c], edi
mov eax, dword [esp + 0xf8]
jae 0x4506f6
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + 0x1e4]
call fcn.00437ea0
lea ecx, [esp + 0xa30]
push ecx
lea ecx, [esp + 0x1e4]
mov byte [esp + 0xa48], 4
mov word [esp + 0xa34], bx
mov dword [esp + 0xa36], ebx
mov word [esp + 0xa3a], bx
call fcn.00437ab0
movzx esi, word [esp + 0xa34]
push 1
push 3
lea ecx, [esp + 0x74]
call fcn.00435300
push 0x4af774
push esi
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa4c], 5
call fcn.004349e0
push eax
call fcn.004347c0
add esp, 8
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x70]
call fcn.004329b0
mov esi, eax
push 0x4af774
lea eax, [esp + 0x130]
push eax
lea ecx, [esp + 0x58]
push ecx
mov byte [esp + 0xa50], 6
call fcn.0040a220
push esi
push eax
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0xa5c], 7
call fcn.004148b0
push str.InstallInfo.xml
push eax
lea eax, [esp + 0x130]
push eax
mov byte [esp + 0xa68], 8
call fcn.0040a220
add esp, 0x24
cmp dword [esp + 0x2c], edi
jb 0x4507df
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00471a59
add esp, 4
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], bx
cmp dword [esp + 0x68], edi
jb 0x4507ff
mov edx, dword [esp + 0x54]
push edx
call fcn.00471a59
add esp, 4
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], bx
cmp dword [esp + 0x4c], edi
jb 0x45081f
mov eax, dword [esp + 0x38]
push eax
call fcn.00471a59
add esp, 4
cmp dword [esp + 0x128], edi
mov ecx, dword [esp + 0x114]
jb 0x4508c9
cmp ecx, ebx
mov eax, ecx
je 0x450859
cmp word [eax], bx
je 0x450859
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x450852
test al, 0x10
je 0x4508d5
mov ecx, dword [esp + 0x114]
cmp dword [esp + 0x128], edi
jb 0x45086b
push ecx
call fcn.00471a59
add esp, 4
lea ecx, [esp + 0xc0]
mov dword [esp + 0x128], ebp
mov dword [esp + 0x124], ebx
mov word [esp + 0x114], bx
mov byte [esp + 0xa44], 4
call fcn.00431420
lea ecx, [esp + 0xc0]
push ecx
mov dword [esp + 0xc4], 0x4af4ec
call fcn.0048f0c3
add esp, 4
lea ecx, [esp + 0x1e0]
mov byte [esp + 0xa44], 3
call fcn.00437b20
jmp 0x450696
lea eax, [esp + 0x114]
jmp 0x450839
mov esi, 0xf
mov dword [esp + 0x160], esi
mov dword [esp + 0x15c], ebx
mov byte [esp + 0x14c], bl
lea ecx, [esp + 0x110]
push ecx
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0xa4c], 0xd
call fcn.00454d50
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x154]
mov byte [esp + 0xa50], 0xe
call fcn.00404190
mov ebp, 0x10
cmp dword [esp + 0x4c], ebp
mov byte [esp + 0xa44], 0xd
jb 0x450944
mov eax, dword [esp + 0x38]
push eax
call fcn.00471a59
add esp, 4
lea ecx, [esp + 0x164]
call fcn.004594a0
lea ecx, [esp + 0x148]
push ecx
lea ecx, [esp + 0x168]
mov byte [esp + 0xa48], 0xf
call fcn.004027e0
test al, al
je 0x450981
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x164]
push edx
call fcn.0044cbf0
lea ecx, [esp + 0x164]
mov byte [esp + 0xa44], 0xd
call fcn.00403da0
cmp dword [esp + 0x160], ebp
jb 0x4509ae
mov eax, dword [esp + 0x14c]
push eax
call fcn.00471a59
add esp, 4
cmp dword [esp + 0x128], edi
mov dword [esp + 0x160], esi
mov dword [esp + 0x15c], ebx
mov byte [esp + 0x14c], bl
jb 0x4509dc
mov ecx, dword [esp + 0x114]
push ecx
call fcn.00471a59
add esp, 4
mov esi, 7
lea ecx, [esp + 0xc0]
mov dword [esp + 0x128], esi
mov dword [esp + 0x124], ebx
mov word [esp + 0x114], bx
mov byte [esp + 0xa44], 4
call fcn.00431420
lea edx, [esp + 0xc0]
push edx
mov dword [esp + 0xc4], 0x4af4ec
call fcn.0048f0c3
add esp, 4
lea ecx, [esp + 0x1e0]
mov byte [esp + 0xa44], 3
call fcn.00437b20
cmp dword [esp + 0x10c], edi
jb 0x450a53
mov eax, dword [esp + 0xf8]
push eax
call fcn.00471a59
add esp, 4
cmp dword [esp + 0x144], edi
mov dword [esp + 0x10c], esi
mov dword [esp + 0x108], ebx
mov word [esp + 0xf8], bx
jb 0x450a82
mov ecx, dword [esp + 0x130]
push ecx
call fcn.00471a59
add esp, 4
mov ecx, dword [esp + 0xa3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa24]
xor ecx, esp
call fcn.00471a20
add esp, 0xa34
ret