Function at 0x46c6c2
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, 0x4a84fb
cmp byte [ebp - 1], 0
je 0x46c9e9
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.0040ba60
push eax
call fcn.00494e64
add esp, 8
lea edx, [ebp - 0x808]
push edx
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x46c7cd
cmp byte [ebp + 8], 0
je 0x46c734
mov al, 1
call fcn.0046c5c0
lea edx, [ebx + 0x1e6]
lea ecx, [ebx + 0x239]
push edx
push esi
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046c65b
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046bef8
lea edx, [ebp - 0x808]
lea ecx, [ebx + 0x242]
push edx
push esi
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046c65b
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046bef8
lea edx, [ebx + 0x269]
lea ecx, [ebx + 0x242]
push edx
push esi
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046c65b
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 0x25a]
mov eax, 0x80000000
call fcn.0046bef8
cmp byte [ebp + 8], 0
je 0x46c7e7
xor eax, eax
call fcn.0046c5c0
jmp 0x46c7e7
lea edx, [ebp - 0x808]
mov eax, 0x206
push edx
call fcn.0041202c
push eax
call fcn.0044e3e0
add esp, 8
lea edx, [ebx + 4]
lea ecx, [ebx + 0x273]
push edx
push esi
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046c65b
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046bef8
lea edx, [ebx + 4]
lea ecx, [ebx + 0x299]
push edx
push esi
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046c65b
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046bef8
lea edx, [ebx + 4]
lea ecx, [ebx + 0x2c1]
push edx
push esi
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046c65b
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046bef8
lea edx, [ebx + 4]
lea ecx, [ebx + 0x2eb]
push edx
push esi
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046c65b
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046bef8
lea edx, [ebx + 4]
lea ecx, [ebx + 0x317]
push edx
push esi
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046c65b
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046bef8
push esi
lea ecx, [ebx + 4]
lea edx, [ebx + 0x340]
mov eax, 0x80000000
call fcn.0046bef8
push esi
lea ecx, [ebx + 4]
lea edx, [ebx + 0x35b]
mov eax, 0x80000000
call fcn.0046bef8
push esi
push edi
lea edx, [ebx + 0x37a]
push edx
lea ecx, [ebp - 0x408]
push ecx
call fcn.0046c65b
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046bef8
push esi
push edi
lea eax, [ebx + 0x39b]
push eax
lea edx, [ebp - 0x408]
push edx
call fcn.0046c65b
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046bef8
push esi
push edi
lea eax, [ebx + 0x3c1]
push eax
lea edx, [ebp - 0x408]
push edx
call fcn.0046c65b
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046bef8
push esi
push edi
lea eax, [ebx + 0x3e4]
push eax
lea edx, [ebp - 0x408]
push edx
call fcn.0046c65b
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046bef8
push esi
push edi
lea eax, [ebx + 0x406]
push eax
lea edx, [ebp - 0x408]
push edx
call fcn.0046c65b
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046bef8
push esi
push edi
lea eax, [ebx + 0x42f]
push eax
lea edx, [ebp - 0x408]
push edx
call fcn.0046c65b
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046bef8
lea eax, [ebx + 0x499]
lea edx, [ebx + 0x455]
push eax
mov eax, CreateStatusWindowA
mov ecx, esi
call fcn.0046bef8
jmp 0x46cbf4
push esi
lea edx, [ebx + 0x242]
push edx
lea ecx, [ebp - 0x408]
push ecx
call fcn.0046c65b
add esp, 0xc
mov edx, eax
mov eax, 0x80000000
call fcn.0046c374
push esi
lea ecx, [ebx + 0x239]
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046c65b
add esp, 0xc
mov edx, eax
mov eax, 0x80000000
call fcn.0046c374
push esi
lea edx, [ebx + 0x273]
push edx
lea ecx, [ebp - 0x408]
push ecx
call fcn.0046c65b
add esp, 0xc
mov edx, eax
mov eax, 0x80000000
call fcn.0046c374
push esi
lea ecx, [ebx + 0x299]
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046c65b
add esp, 0xc
mov edx, eax
mov eax, 0x80000000
call fcn.0046c374
push esi
lea edx, [ebx + 0x2c1]
push edx
lea ecx, [ebp - 0x408]
push ecx
call fcn.0046c65b
add esp, 0xc
mov edx, eax
mov eax, 0x80000000
call fcn.0046c374
push esi
lea ecx, [ebx + 0x2eb]
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046c65b
add esp, 0xc
mov edx, eax
mov eax, 0x80000000
call fcn.0046c374
push esi
lea edx, [ebx + 0x317]
push edx
lea ecx, [ebp - 0x408]
push ecx
call fcn.0046c65b
add esp, 0xc
mov edx, eax
mov eax, 0x80000000
call fcn.0046c374
lea edx, [ebx + 0x340]
mov eax, 0x80000000
call fcn.0046c374
lea edx, [ebx + 0x35b]
mov eax, 0x80000000
call fcn.0046c374
push edi
lea ecx, [ebx + 0x37a]
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046c65b
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046c3b0
push edi
lea edx, [ebx + 0x39b]
push edx
lea ecx, [ebp - 0x408]
push ecx
call fcn.0046c65b
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046c3b0
push edi
lea eax, [ebx + 0x3c1]
push eax
lea edx, [ebp - 0x408]
push edx
call fcn.0046c65b
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046c3b0
push edi
lea eax, [ebx + 0x3e4]
push eax
lea edx, [ebp - 0x408]
push edx
call fcn.0046c65b
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046c3b0
push edi
lea eax, [ebx + 0x406]
push eax
lea edx, [ebp - 0x408]
push edx
call fcn.0046c65b
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046c3b0
push edi
lea eax, [ebx + 0x42f]
push eax
lea edx, [ebp - 0x408]
push edx
call fcn.0046c65b
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046c3b0
lea edx, [ebx + 0x455]
mov ecx, esi
mov eax, CreateStatusWindowA
call fcn.0046c3b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8