Function at 0x55ad40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66b36b
mov eax, dword fs:[0]
push eax
mov eax, 0x35b0
call fcn.005c5930
mov eax, dword [0x7060c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3548], ecx
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x3538], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x3544], edx
lea ecx, [ebp - 0x3534]
call fcn.0047a180
lea eax, [ebp - 0x3534]
push eax
mov ecx, dword [ebp - 0x3544]
push ecx
mov edx, dword [ebp - 0x3538]
push edx
call fcn.00469f10
mov ecx, eax
call fcn.0046ed60
movzx eax, al
test eax, eax
jne 0x55adca
xor eax, eax
jmp 0x55b1cb
cmp dword [ebp - 0x352c], 0x64
jge 0x55adda
xor eax, eax
jmp 0x55b1cb
cmp dword [ebp - 0x91e], 2
jne 0x55b16e
lea ecx, [ebp - 0x28]
call fcn.00446de0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x3540]
call fcn.0054db90
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x3544]
push edx
mov eax, dword [ebp - 0x3538]
push eax
lea ecx, [ebp - 0x3540]
call fcn.0054e5e0
lea ecx, [ebp - 0x28]
call fcn.0043d500
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x55ae68
mov dword [ebp - 0x3550], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3540]
call fcn.0054dbb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0043c8a0
mov eax, dword [ebp - 0x3550]
jmp 0x55b1cb
mov ecx, dword [ebp - 0x3538]
push ecx
lea edx, [ebp - 0xd0]
push edx
call fcn.004500c0
add esp, 8
mov dword [ebp - 0x3554], eax
mov eax, dword [ebp - 0x3554]
mov dword [ebp - 0x3558], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x3558]
push ecx
push 0x693040
call fcn.004aa8d0
add eax, 0xc4
push eax
lea edx, [ebp - 0xe8]
push edx
call fcn.004425b0
add esp, 8
mov dword [ebp - 0x355c], eax
mov eax, dword [ebp - 0x355c]
mov dword [ebp - 0x3560], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3560]
push ecx
push 0x693048
call fcn.004aa8d0
add eax, 4
push eax
lea edx, [ebp - 0x100]
push edx
call fcn.004425b0
add esp, 8
mov dword [ebp - 0x35a4], eax
mov eax, dword [ebp - 0x35a4]
mov dword [ebp - 0x35a0], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x35a0]
push ecx
push 0x69304c
push 0x711708
push 0x693074
lea edx, [ebp - 0x118]
push edx
call fcn.00444420
add esp, 0xc
mov dword [ebp - 0x359c], eax
mov eax, dword [ebp - 0x359c]
mov dword [ebp - 0x3598], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x3598]
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.004443a0
add esp, 0xc
mov dword [ebp - 0x3594], eax
mov eax, dword [ebp - 0x3594]
mov dword [ebp - 0x358c], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x358c]
push ecx
lea edx, [ebp - 0x70]
push edx
call fcn.0045fe50
add esp, 0xc
mov dword [ebp - 0x3588], eax
mov eax, dword [ebp - 0x3588]
mov dword [ebp - 0x3584], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x3584]
push ecx
lea edx, [ebp - 0x88]
push edx
call fcn.004443a0
add esp, 0xc
mov dword [ebp - 0x3580], eax
mov eax, dword [ebp - 0x3580]
mov dword [ebp - 0x357c], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x357c]
push ecx
lea edx, [ebp - 0xa0]
push edx
call fcn.0045fe50
add esp, 0xc
mov dword [ebp - 0x3578], eax
mov eax, dword [ebp - 0x3578]
mov dword [ebp - 0x3590], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x3590]
push ecx
lea edx, [ebp - 0xb8]
push edx
call fcn.004443a0
add esp, 0xc
mov dword [ebp - 0x3564], eax
mov eax, dword [ebp - 0x3564]
mov dword [ebp - 0x3568], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x3568]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.0045fe50
add esp, 0xc
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xb8]
call fcn.0043c8a0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xa0]
call fcn.0043c8a0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x88]
call fcn.0043c8a0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x70]
call fcn.0043c8a0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x58]
call fcn.0043c8a0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x118]
call fcn.0043c8a0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x100]
call fcn.0043c8a0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xe8]
call fcn.0043c8a0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xd0]
call fcn.0043c8a0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x35a8], esp
lea eax, [ebp - 0x40]
push eax
call fcn.00446bf0
mov dword [ebp - 0x356c], eax
mov ecx, dword [ebp - 0x356c]
mov dword [ebp - 0x35ac], ecx
mov byte [ebp - 4], 0x15
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x35b0], esp
lea edx, [ebp - 0x28]
push edx
call fcn.00446bf0
mov dword [ebp - 0x35b4], eax
mov byte [ebp - 4], 0x14
call fcn.00455f70
add esp, 0x30
mov dword [ebp - 0x3570], eax
mov eax, dword [ebp - 0x3570]
mov dword [ebp - 0x354c], eax
cmp dword [ebp - 0x354c], 0
je 0x55b132
lea ecx, [ebp - 0x354c]
push ecx
mov ecx, dword [ebp - 0x3548]
add ecx, 0x448
call fcn.00468dc0
mov dword [ebp - 0x3574], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0043c8a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3540]
call fcn.0054dbb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0043c8a0
mov eax, dword [ebp - 0x3574]
jmp 0x55b1cb
cmp dword [ebp - 0x91e], 3
jne 0x55b1c6
xor edx, edx
mov byte [ebp - 0x3539], dl
lea eax, [ebp - 0x3544]
push eax
lea ecx, [ebp - 0x3538]
push ecx
mov edx, dword [ebp - 0x3548]
add edx, 0x248
push edx
lea eax, [ebp - 0x353a]
push eax
lea ecx, [ebp - 0x35bc]
push ecx
call fcn.0052a1b0
mov ecx, eax
call fcn.00576690
lea ecx, [ebp - 0x35bc]
call fcn.00529370
mov eax, 1
jmp 0x55b1cb
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c4766
mov esp, ebp
pop ebp
ret 0x10