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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x585576
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x254
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x30], esi
mov dword [ebp - 4], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], edi
mov word [ebp - 0x1c], di
mov eax, dword [0x639ad4]
lea ecx, [ebp - 0x88]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x8c], edi
mov word [ebp - 0x90], di
call fcn.00476c60
mov eax, dword [0x639ad4]
mov dword [ebp - 0xf0], 0x59c97c
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0xf0]
push edi
push eax
push ecx
lea ecx, [esi + 8]
mov byte [ebp - 4], 2
call fcn.0053fa00
test al, al
jne 0x484daa
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 1
call fcn.0044b000
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.00401070
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x7c]
cmp dword [eax - 8], edi
jle 0x484e47
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x484e47
mov edx, dword [ebp - 0x7c]
push edi
push edx
lea ecx, [ebp - 0x20]
call fcn.004024c0
lea ecx, [ebp - 0x260]
call fcn.0045f290
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 4], 3
mov eax, dword [eax - 8]
cmp eax, 5
lea eax, [ebp - 0x5c]
jg 0x484df6
lea eax, [ebp - 0xa0]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x20]
cmp eax, edi
jne 0x484e02
lea eax, [ebp - 0x1c]
push edi
push ecx
push eax
lea ecx, [ebp - 0x260]
call fcn.00462f10
mov ebx, eax
push 0x18
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], edi
call fcn.0056649c
add esp, 4
cmp eax, edi
je 0x484ec6
mov esi, eax
mov dword [eax + 4], 0x5a4678
mov dword [eax + 8], edi
mov dword [eax + 0x14], edi
mov dword [eax + 0x10], edi
mov dword [eax + 0xc], edi
mov dword [ebp - 0x14], esi
jmp 0x484ecb
cmp byte [ebp - 0xb2], 4
jne 0x484ea7
mov eax, dword [ebp - 0x94]
cmp eax, edi
jne 0x484e60
lea eax, [ebp - 0x90]
push eax
call fcn.0054e46e
add esp, 4
test eax, eax
jbe 0x484ea7
mov eax, dword [ebp - 0x94]
cmp eax, edi
jne 0x484e7d
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x484ea7
mov eax, dword [ebp - 0x94]
cmp eax, edi
jne 0x484e99
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x20]
call fcn.00402b60
jmp 0x484dd3
mov ecx, dword [0x63e600]
cmp ecx, edi
je 0x484d7c
push 1
push str.Error_839415
call fcn.0046f830
jmp 0x484d7c
mov dword [ebp - 0x14], edi
mov esi, edi
cmp esi, edi
je 0x484f9e
mov ecx, dword [ebp + 8]
mov dword [esi], ecx
cmp ebx, edi
je 0x484f80
mov eax, dword [0x639ad4]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov edx, dword [ebx]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
mov eax, dword [edx + 4]
push eax
push 0x615e9c
push ecx
call fcn.00562ecb
mov edi, dword [esi + 0xc]
add esi, 4
add esp, 0xc
mov ecx, esi
lea edx, [edi + 1]
push 0xffffffffffffffff
push edx
call fcn.0048d490
mov ecx, dword [esi + 4]
lea eax, [edi + edi*2]
lea edx, [ebp - 0x2c]
lea esi, [ecx + eax*4]
push edx
mov ecx, esi
call fcn.0056a239
lea eax, [ebp - 0x28]
lea ecx, [esi + 4]
push eax
call fcn.0056a239
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [esi + 8]
call fcn.0056a239
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call fcn.0056a100
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.0056a100
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0056a100
mov eax, dword [ebp - 0x34]
mov ebx, dword [ebx + 0x1c]
mov esi, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x34], eax
xor edi, edi
jmp 0x484ed8
mov edx, dword [ebp - 0x30]
push esi
push 0x13fb
push 0x111
mov eax, dword [edx + 0x544]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [ebp - 0x38]
cmp ebx, edi
je 0x484fae
push ebx
lea ecx, [ebp - 0x260]
call fcn.00462a30
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp - 0x30]
push ecx
mov ecx, ebx
call fcn.004891c0
mov edx, dword [ebx + 0x548]
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
push edi
push edi
push 0x1425
push edx
call esi
mov ecx, dword [ebx + 0x4e0]
mov eax, dword [ebx + 0x41c]
push edi
push 0x1427
inc ecx
push 0x111
push eax
mov dword [ebx + 0x4e0], ecx
call esi
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 2
call fcn.0045f710
jmp 0x484d7c