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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff800
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, 0x49fef7
test al, al
je 0x466084
push 0x400
lea eax, [ebp - 0x800]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push edi
lea eax, [ebp - 0x800]
call fcn.0040b578
push eax
call fcn.0048d758
add esp, 8
lea edx, [ebp - 0x800]
push edx
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x465eda
cmp byte [ebp + 8], 0
je 0x465e41
mov al, 1
call fcn.00465cd8
lea edx, [ebx + 0x232]
lea ecx, [ebx + 0x229]
push edx
push esi
push ecx
lea eax, [ebp - 0x400]
push eax
call fcn.00465d73
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.00465628
lea edx, [ebp - 0x800]
lea ecx, [ebx + 0x239]
push edx
push esi
push ecx
lea eax, [ebp - 0x400]
push eax
call fcn.00465d73
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.00465628
lea edx, [ebx + 0x260]
lea ecx, [ebx + 0x239]
push edx
push esi
push ecx
lea eax, [ebp - 0x400]
push eax
call fcn.00465d73
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 0x251]
mov eax, 0x80000000
call fcn.00465628
cmp byte [ebp + 8], 0
je 0x465ef4
xor eax, eax
call fcn.00465cd8
jmp 0x465ef4
lea edx, [ebp - 0x800]
mov eax, 0x206
push edx
call fcn.004116e0
push eax
call fcn.0044a170
add esp, 8
lea edx, [ebx + 4]
lea ecx, [ebx + 0x26a]
push edx
push esi
push ecx
lea eax, [ebp - 0x400]
push eax
call fcn.00465d73
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.00465628
lea edx, [ebx + 4]
lea ecx, [ebx + 0x290]
push edx
push esi
push ecx
lea eax, [ebp - 0x400]
push eax
call fcn.00465d73
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.00465628
lea edx, [ebx + 4]
lea ecx, [ebx + 0x2b8]
push edx
push esi
push ecx
lea eax, [ebp - 0x400]
push eax
call fcn.00465d73
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.00465628
lea edx, [ebx + 4]
lea ecx, [ebx + 0x2e2]
push edx
push esi
push ecx
lea eax, [ebp - 0x400]
push eax
call fcn.00465d73
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.00465628
lea edx, [ebx + 4]
lea ecx, [ebx + 0x30e]
push edx
push esi
push ecx
lea eax, [ebp - 0x400]
push eax
call fcn.00465d73
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.00465628
push esi
lea ecx, [ebx + 4]
lea edx, [ebx + 0x337]
mov eax, 0x80000000
call fcn.00465628
push esi
lea ecx, [ebx + 4]
lea edx, [ebx + 0x352]
mov eax, 0x80000000
call fcn.00465628
push esi
lea ecx, [ebx + 4]
lea edx, [ebx + 0x371]
mov eax, 0x80000000
call fcn.00465628
push esi
lea ecx, [ebx + 4]
lea edx, [ebx + 0x396]
mov eax, 0x80000000
call fcn.00465628
push esi
lea ecx, [ebx + 4]
lea edx, [ebx + 0x3c0]
mov eax, 0x80000000
call fcn.00465628
push esi
lea ecx, [ebx + 4]
lea edx, [ebx + 0x3e7]
mov eax, 0x80000000
call fcn.00465628
push esi
lea ecx, [ebx + 4]
lea edx, [ebx + 0x40d]
mov eax, 0x80000000
call fcn.00465628
push esi
lea ecx, [ebx + 4]
lea edx, [ebx + 0x43a]
mov eax, 0x80000000
call fcn.00465628
lea edx, [ebx + 0x4a8]
mov ecx, esi
push edx
lea edx, [ebx + 0x464]
mov eax, CreateStatusWindowA
call fcn.00465628
jmp 0x46621d
push esi
lea eax, [ebx + 0x239]
push eax
lea edx, [ebp - 0x400]
push edx
call fcn.00465d73
add esp, 0xc
mov edx, eax
mov eax, 0x80000000
call fcn.00465a8c
push esi
lea ecx, [ebx + 0x229]
push ecx
lea eax, [ebp - 0x400]
push eax
call fcn.00465d73
add esp, 0xc
mov edx, eax
mov eax, 0x80000000
call fcn.00465a8c
push esi
lea edx, [ebx + 0x26a]
push edx
lea ecx, [ebp - 0x400]
push ecx
call fcn.00465d73
add esp, 0xc
mov edx, eax
mov eax, 0x80000000
call fcn.00465a8c
push esi
lea ecx, [ebx + 0x290]
push ecx
lea eax, [ebp - 0x400]
push eax
call fcn.00465d73
add esp, 0xc
mov edx, eax
mov eax, 0x80000000
call fcn.00465a8c
push esi
lea edx, [ebx + 0x2b8]
push edx
lea ecx, [ebp - 0x400]
push ecx
call fcn.00465d73
add esp, 0xc
mov edx, eax
mov eax, 0x80000000
call fcn.00465a8c
push esi
lea ecx, [ebx + 0x2e2]
push ecx
lea eax, [ebp - 0x400]
push eax
call fcn.00465d73
add esp, 0xc
mov edx, eax
mov eax, 0x80000000
call fcn.00465a8c
push esi
lea edx, [ebx + 0x30e]
push edx
lea ecx, [ebp - 0x400]
push ecx
call fcn.00465d73
add esp, 0xc
mov edx, eax
mov eax, 0x80000000
call fcn.00465a8c
lea edx, [ebx + 0x337]
mov eax, 0x80000000
call fcn.00465a8c
lea edx, [ebx + 0x352]
mov eax, 0x80000000
call fcn.00465a8c
lea ecx, [ebx + 4]
lea edx, [ebx + 0x371]
mov eax, 0x80000000
call fcn.00465ac8
lea ecx, [ebx + 4]
lea edx, [ebx + 0x396]
mov eax, 0x80000000
call fcn.00465ac8
lea ecx, [ebx + 4]
lea edx, [ebx + 0x3c0]
mov eax, 0x80000000
call fcn.00465ac8
lea ecx, [ebx + 4]
lea edx, [ebx + 0x3e7]
mov eax, 0x80000000
call fcn.00465ac8
lea ecx, [ebx + 4]
lea edx, [ebx + 0x40d]
mov eax, 0x80000000
call fcn.00465ac8
lea ecx, [ebx + 4]
lea edx, [ebx + 0x43a]
mov eax, 0x80000000
call fcn.00465ac8
lea edx, [ebx + 0x464]
mov ecx, esi
mov eax, CreateStatusWindowA
call fcn.00465ac8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4