Function at 0x461891
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, 0x4a95ff
cmp byte [ebp - 1], 0
je 0x461bb8
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.0040bd0c
push eax
call fcn.00497c60
add esp, 8
lea edx, [ebp - 0x808]
push edx
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x46199c
cmp byte [ebp + 8], 0
je 0x461903
mov al, 1
call fcn.00461784
lea edx, [ebx + 0x202]
lea ecx, [ebx + 0x255]
push edx
push esi
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046182a
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.00460f88
lea edx, [ebp - 0x808]
lea ecx, [ebx + 0x25e]
push edx
push esi
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046182a
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.00460f88
lea edx, [ebx + 0x285]
lea ecx, [ebx + 0x25e]
push edx
push esi
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046182a
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 0x276]
mov eax, 0x80000000
call fcn.00460f88
cmp byte [ebp + 8], 0
je 0x4619b6
xor eax, eax
call fcn.00461784
jmp 0x4619b6
lea edx, [ebp - 0x808]
mov eax, 0x206
push edx
call fcn.004125b4
push eax
call fcn.00486908
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.0046182a
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.00460f88
lea edx, [ebx + 4]
lea ecx, [ebx + 0x2b5]
push edx
push esi
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046182a
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.00460f88
lea edx, [ebx + 4]
lea ecx, [ebx + 0x2dd]
push edx
push esi
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046182a
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.00460f88
lea edx, [ebx + 4]
lea ecx, [ebx + 0x307]
push edx
push esi
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046182a
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.00460f88
lea edx, [ebx + 4]
lea ecx, [ebx + 0x333]
push edx
push esi
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046182a
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.00460f88
push esi
lea ecx, [ebx + 4]
lea edx, [ebx + 0x35c]
mov eax, 0x80000000
call fcn.00460f88
push esi
lea ecx, [ebx + 4]
lea edx, [ebx + 0x377]
mov eax, 0x80000000
call fcn.00460f88
push esi
push edi
lea edx, [ebx + 0x396]
push edx
lea ecx, [ebp - 0x408]
push ecx
call fcn.0046182a
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.00460f88
push esi
push edi
lea eax, [ebx + 0x3b7]
push eax
lea edx, [ebp - 0x408]
push edx
call fcn.0046182a
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.00460f88
push esi
push edi
lea eax, [ebx + 0x3dd]
push eax
lea edx, [ebp - 0x408]
push edx
call fcn.0046182a
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.00460f88
push esi
push edi
lea eax, [ebx + 0x400]
push eax
lea edx, [ebp - 0x408]
push edx
call fcn.0046182a
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.00460f88
push esi
push edi
lea eax, [ebx + 0x422]
push eax
lea edx, [ebp - 0x408]
push edx
call fcn.0046182a
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.00460f88
push esi
push edi
lea eax, [ebx + 0x44b]
push eax
lea edx, [ebp - 0x408]
push edx
call fcn.0046182a
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.00460f88
lea eax, [ebx + 0x4b5]
lea edx, [ebx + 0x471]
push eax
mov eax, CreateStatusWindowA
mov ecx, esi
call fcn.00460f88
jmp 0x461dc3
push esi
lea edx, [ebx + 0x25e]
push edx
lea ecx, [ebp - 0x408]
push ecx
call fcn.0046182a
add esp, 0xc
mov edx, eax
mov eax, 0x80000000
call fcn.00461444
push esi
lea ecx, [ebx + 0x255]
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046182a
add esp, 0xc
mov edx, eax
mov eax, 0x80000000
call fcn.00461444
push esi
lea edx, [ebx + 0x28f]
push edx
lea ecx, [ebp - 0x408]
push ecx
call fcn.0046182a
add esp, 0xc
mov edx, eax
mov eax, 0x80000000
call fcn.00461444
push esi
lea ecx, [ebx + 0x2b5]
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046182a
add esp, 0xc
mov edx, eax
mov eax, 0x80000000
call fcn.00461444
push esi
lea edx, [ebx + 0x2dd]
push edx
lea ecx, [ebp - 0x408]
push ecx
call fcn.0046182a
add esp, 0xc
mov edx, eax
mov eax, 0x80000000
call fcn.00461444
push esi
lea ecx, [ebx + 0x307]
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046182a
add esp, 0xc
mov edx, eax
mov eax, 0x80000000
call fcn.00461444
push esi
lea edx, [ebx + 0x333]
push edx
lea ecx, [ebp - 0x408]
push ecx
call fcn.0046182a
add esp, 0xc
mov edx, eax
mov eax, 0x80000000
call fcn.00461444
lea edx, [ebx + 0x35c]
mov eax, 0x80000000
call fcn.00461444
lea edx, [ebx + 0x377]
mov eax, 0x80000000
call fcn.00461444
push edi
lea ecx, [ebx + 0x396]
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046182a
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.00461480
push edi
lea edx, [ebx + 0x3b7]
push edx
lea ecx, [ebp - 0x408]
push ecx
call fcn.0046182a
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.00461480
push edi
lea eax, [ebx + 0x3dd]
push eax
lea edx, [ebp - 0x408]
push edx
call fcn.0046182a
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.00461480
push edi
lea eax, [ebx + 0x400]
push eax
lea edx, [ebp - 0x408]
push edx
call fcn.0046182a
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.00461480
push edi
lea eax, [ebx + 0x422]
push eax
lea edx, [ebp - 0x408]
push edx
call fcn.0046182a
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.00461480
push edi
lea eax, [ebx + 0x44b]
push eax
lea edx, [ebp - 0x408]
push edx
call fcn.0046182a
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.00461480
lea edx, [ebx + 0x471]
mov ecx, esi
mov eax, CreateStatusWindowA
call fcn.00461480
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8