Function at 0x45c000
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x6073ce
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x104]
mov dword fs:[0], eax
lea edi, [esp + 0x24]
call fcn.0047ac70
mov dword [esp + 0x10c], 0
mov edx, dword [esp + 0x24]
mov eax, dword [edx - 0xc]
test eax, eax
jle 0x45c070
lea ecx, [eax - 1]
test ecx, ecx
jl 0x45c163
cmp ecx, eax
jg 0x45c163
movzx eax, word [edx + ecx*2]
cmp ax, 0x5c
je 0x45c070
push 0x5c
call fcn.0040af90
lea ebx, [esp + 0x20]
call fcn.0047a980
mov byte [esp + 0x10c], 1
mov edx, dword [esp + 0x20]
mov eax, dword [edx - 0xc]
xor ebx, ebx
cmp eax, ebx
jle 0x45c0b6
lea ecx, [eax - 1]
cmp ecx, ebx
jl 0x45c163
cmp ecx, eax
jg 0x45c163
movzx eax, word [edx + ecx*2]
cmp ax, 0x5c
je 0x45c0b6
push 0x5c
lea edi, [esp + 0x24]
call fcn.0040af90
mov eax, dword [0x677600]
mov edx, dword [eax + 0xc]
mov ecx, 0x677600
call edx
add eax, 0x10
mov dword [esp + 0x38], eax
mov byte [esp + 0x10c], 2
mov eax, dword [0x677600]
mov edx, dword [eax + 0xc]
mov ecx, 0x677600
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x20]
lea edi, [esp + 0x1c]
mov byte [esp + 0x10c], 3
call fcn.0040ab90
test byte [0x6809d0], 1
jne 0x45c136
or dword [0x6809d0], 1
cmp dword [0x678ec4], ebx
jne 0x45c129
cmp dword [0x678ec8], ebx
jne 0x45c129
mov dword [0x678ec4], 0x6790b8
push 0x6131e0
call fcn.005d268a
add esp, 4
mov eax, dword [0x678ec4]
mov eax, dword [eax + 0x434]
cmp eax, 2
mov dword [0x678ec0], 1
je 0x45c16d
cmp eax, 8
je 0x45c16d
push 0xa
push str.phrase.ini
lea eax, [esp + 0x24]
push eax
jmp 0x45c179
push 0x80070057
call fcn.00403650
push 0xe
push 0x629038
lea ecx, [esp + 0x24]
push ecx
call fcn.0040aee0
lea eax, [esp + 0x24]
lea edi, [esp + 0x38]
call fcn.0040ab90
push 0xa
push str.phrase.ini
mov edx, edi
push edx
call fcn.0040aee0
mov eax, dword [0x677600]
mov edx, dword [eax + 0xc]
mov ecx, 0x677600
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
lea eax, [esp + 0x90]
mov byte [esp + 0x10c], 4
mov edi, dword [esp + 0x38]
push eax
call fcn.0050f180
push edi
mov byte [esp + 0x110], 5
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45c2a0
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x54]
push ecx
call fcn.0050f180
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x110], 6
push str.Default
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], ebx
call fcn.0050f980
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
cmp esi, ebx
je 0x45c24f
cmp esi, ebp
je 0x45c24f
mov eax, esi
mov esi, dword [esi]
add eax, 8
lea edi, [esp + 0x18]
call fcn.0040ab90
mov ecx, dword [esp + 0x114]
push ecx
mov edx, edi
push edx
call fcn.0045a5a0
add esp, 8
jmp 0x45c222
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0x110], 5
call fcn.0050f250
lea ecx, [esp + 0x90]
push ecx
mov byte [esp + 0x110], 4
call fcn.0050f250
mov byte [esp + 0x10c], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45c62e
mov ecx, dword [eax]
push eax
jmp 0x45c627
push 0x6291fc
push str.Properties
lea ecx, [esp + 0x98]
push ecx
call fcn.0050fb90
cmp eax, ebx
jne 0x45c41b
or ebp, 0xffffffff
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x74], ebx
lea edx, [esp + 0x54]
push edx
lea eax, [ebp + 2]
mov ecx, edi
mov byte [esp + 0x110], 7
call fcn.0050e530
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x58]
call fcn.0050e200
test eax, eax
je 0x45c337
jmp 0x45c310
mov ecx, dword [esp + 0x114]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.0045a5a0
add esp, 8
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x58]
call fcn.0050e200
test eax, eax
jne 0x45c310
lea esi, [esp + 0x6c]
call fcn.0050df50
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
call fcn.0050df50
lea ecx, [esp + 0x90]
push ecx
mov byte [esp + 0x110], 4
call fcn.0050f250
mov byte [esp + 0x10c], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45c38d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x10c], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c3b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x10c], 1
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c3d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x10c], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c3fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x10c], ebp
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jmp 0x45c6c5
lea ecx, [esp + 0x28]
push ecx
push str.Custom
lea edx, [esp + 0x98]
push edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], ebx
call fcn.0050f980
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
lea ebx, [ebx]
cmp esi, ebx
je 0x45c47d
cmp esi, ebp
je 0x45c47d
mov eax, esi
mov esi, dword [esi]
add eax, 8
lea edi, [esp + 0x18]
call fcn.0040ab90
mov eax, dword [esp + 0x114]
push eax
mov ecx, edi
push ecx
call fcn.0045a5a0
add esp, 8
jmp 0x45c450
lea edx, [esp + 0x28]
push edx
push str.Default
lea eax, [esp + 0x98]
push eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], ebx
call fcn.0050f980
push str.DefaultVersion
push str.Properties
lea ecx, [esp + 0x98]
push ecx
call fcn.0050fb90
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], 0xa
mov dword [esp + 0x50], ebx
mov byte [esp + 0x10c], 8
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x34]
cmp esi, ebx
je 0x45c53e
cmp esi, dword [esp + 0x30]
je 0x45c53e
mov eax, esi
mov esi, dword [esi]
add eax, 8
lea edi, [esp + 0x18]
call fcn.0040ab90
mov ebp, dword [esp + 0x18]
push 4
push str.__D:
push ebp
call fcn.005d5260
add esp, 0xc
test eax, eax
jne 0x45c4e7
lea edi, [ebp + 8]
push edi
lea ecx, [esp + 0x40]
call fcn.004c39a0
cmp eax, ebx
jne 0x45c539
mov eax, edi
lea ebx, [esp + 0x3c]
call fcn.0045f600
xor ebx, ebx
jmp 0x45c4e7
mov dword [eax + 4], ebx
jmp 0x45c4e7
mov edi, dword [esp + 0x1c]
lea edx, [esp + 0xc8]
push edx
call fcn.0050f180
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x110], 9
push str.Default
lea ecx, [esp + 0xd0]
push ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], ebx
call fcn.0050f980
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
test esi, esi
je 0x45c5c5
cmp esi, ebx
je 0x45c5c5
mov eax, esi
mov esi, dword [esi]
add eax, 8
lea edi, [esp + 0x18]
call fcn.0040ab90
mov ebp, dword [esp + 0x18]
push ebp
lea ecx, [esp + 0x40]
call fcn.004c39a0
test eax, eax
jne 0x45c586
mov edx, dword [esp + 0x114]
push edx
mov eax, edi
push eax
call fcn.0045a5a0
add esp, 8
jmp 0x45c586
lea ecx, [esp + 0xc8]
push ecx
mov byte [esp + 0x110], 8
call fcn.0050f250
lea edi, [esp + 0x3c]
call fcn.004c6cd0
mov eax, dword [esp + 0x50]
test eax, eax
je 0x45c5f4
push eax
call fcn.005d27e0
add esp, 4
lea edx, [esp + 0x90]
push edx
mov byte [esp + 0x110], 4
call fcn.0050f250
add ebp, 0xfffffff0
mov byte [esp + 0x10c], 3
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45c62e
mov ecx, dword [ebp]
push ebp
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x10c], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c656
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x10c], 1
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c67e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x10c], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c6a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x10c], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c6d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x104]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xfc
ret 4