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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7f8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov edi, dword [ebp + 0xc]
mov ebx, 0x4a963f
cmp byte [ebp - 1], 0
je 0x461be8
push 0x400
lea eax, [ebp - 0x808]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push dword [ebp - 8]
lea eax, [ebp - 0x808]
call fcn.0040bd28
push eax
call fcn.00497c80
add esp, 8
lea edx, [ebp - 0x808]
push edx
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4619cc
cmp byte [ebp + 8], 0
je 0x461933
mov al, 1
call fcn.004617b4
lea edx, [ebx + 0x202]
lea ecx, [ebx + 0x255]
push edx
push esi
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046185a
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.00460fb8
lea edx, [ebp - 0x808]
lea ecx, [ebx + 0x25e]
push edx
push esi
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046185a
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.00460fb8
lea edx, [ebx + 0x285]
lea ecx, [ebx + 0x25e]
push edx
push esi
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046185a
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 0x276]
mov eax, 0x80000000
call fcn.00460fb8
cmp byte [ebp + 8], 0
je 0x4619e6
xor eax, eax
call fcn.004617b4
jmp 0x4619e6
lea edx, [ebp - 0x808]
mov eax, 0x206
push edx
call fcn.004125d0
push eax
call fcn.00486954
add esp, 8
lea edx, [ebx + 4]
lea ecx, [ebx + 0x28f]
push edx
push esi
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046185a
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.00460fb8
lea edx, [ebx + 4]
lea ecx, [ebx + 0x2b5]
push edx
push esi
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046185a
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.00460fb8
lea edx, [ebx + 4]
lea ecx, [ebx + 0x2dd]
push edx
push esi
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046185a
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.00460fb8
lea edx, [ebx + 4]
lea ecx, [ebx + 0x307]
push edx
push esi
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046185a
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.00460fb8
lea edx, [ebx + 4]
lea ecx, [ebx + 0x333]
push edx
push esi
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046185a
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.00460fb8
push esi
lea ecx, [ebx + 4]
lea edx, [ebx + 0x35c]
mov eax, 0x80000000
call fcn.00460fb8
push esi
lea ecx, [ebx + 4]
lea edx, [ebx + 0x377]
mov eax, 0x80000000
call fcn.00460fb8
push esi
push edi
lea edx, [ebx + 0x396]
push edx
lea ecx, [ebp - 0x408]
push ecx
call fcn.0046185a
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.00460fb8
push esi
push edi
lea eax, [ebx + 0x3b7]
push eax
lea edx, [ebp - 0x408]
push edx
call fcn.0046185a
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.00460fb8
push esi
push edi
lea eax, [ebx + 0x3dd]
push eax
lea edx, [ebp - 0x408]
push edx
call fcn.0046185a
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.00460fb8
push esi
push edi
lea eax, [ebx + 0x400]
push eax
lea edx, [ebp - 0x408]
push edx
call fcn.0046185a
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.00460fb8
push esi
push edi
lea eax, [ebx + 0x422]
push eax
lea edx, [ebp - 0x408]
push edx
call fcn.0046185a
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.00460fb8
push esi
push edi
lea eax, [ebx + 0x44b]
push eax
lea edx, [ebp - 0x408]
push edx
call fcn.0046185a
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.00460fb8
lea eax, [ebx + 0x4b5]
lea edx, [ebx + 0x471]
push eax
mov eax, CreateStatusWindowA
mov ecx, esi
call fcn.00460fb8
jmp 0x461df3
push esi
lea edx, [ebx + 0x25e]
push edx
lea ecx, [ebp - 0x408]
push ecx
call fcn.0046185a
add esp, 0xc
mov edx, eax
mov eax, 0x80000000
call fcn.00461474
push esi
lea ecx, [ebx + 0x255]
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046185a
add esp, 0xc
mov edx, eax
mov eax, 0x80000000
call fcn.00461474
push esi
lea edx, [ebx + 0x28f]
push edx
lea ecx, [ebp - 0x408]
push ecx
call fcn.0046185a
add esp, 0xc
mov edx, eax
mov eax, 0x80000000
call fcn.00461474
push esi
lea ecx, [ebx + 0x2b5]
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046185a
add esp, 0xc
mov edx, eax
mov eax, 0x80000000
call fcn.00461474
push esi
lea edx, [ebx + 0x2dd]
push edx
lea ecx, [ebp - 0x408]
push ecx
call fcn.0046185a
add esp, 0xc
mov edx, eax
mov eax, 0x80000000
call fcn.00461474
push esi
lea ecx, [ebx + 0x307]
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046185a
add esp, 0xc
mov edx, eax
mov eax, 0x80000000
call fcn.00461474
push esi
lea edx, [ebx + 0x333]
push edx
lea ecx, [ebp - 0x408]
push ecx
call fcn.0046185a
add esp, 0xc
mov edx, eax
mov eax, 0x80000000
call fcn.00461474
lea edx, [ebx + 0x35c]
mov eax, 0x80000000
call fcn.00461474
lea edx, [ebx + 0x377]
mov eax, 0x80000000
call fcn.00461474
push edi
lea ecx, [ebx + 0x396]
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046185a
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.004614b0
push edi
lea edx, [ebx + 0x3b7]
push edx
lea ecx, [ebp - 0x408]
push ecx
call fcn.0046185a
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.004614b0
push edi
lea eax, [ebx + 0x3dd]
push eax
lea edx, [ebp - 0x408]
push edx
call fcn.0046185a
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.004614b0
push edi
lea eax, [ebx + 0x400]
push eax
lea edx, [ebp - 0x408]
push edx
call fcn.0046185a
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.004614b0
push edi
lea eax, [ebx + 0x422]
push eax
lea edx, [ebp - 0x408]
push edx
call fcn.0046185a
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.004614b0
push edi
lea eax, [ebx + 0x44b]
push eax
lea edx, [ebp - 0x408]
push edx
call fcn.0046185a
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.004614b0
lea edx, [ebx + 0x471]
mov ecx, esi
mov eax, CreateStatusWindowA
call fcn.004614b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8