Function at 0x46c7a2
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, 0x4a85fb
cmp byte [ebp - 1], 0
je 0x46cac9
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.00494f58
add esp, 8
lea edx, [ebp - 0x808]
push edx
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x46c8ad
cmp byte [ebp + 8], 0
je 0x46c814
mov al, 1
call fcn.0046c6a0
lea edx, [ebx + 0x1e6]
lea ecx, [ebx + 0x239]
push edx
push esi
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046c73b
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046bfd8
lea edx, [ebp - 0x808]
lea ecx, [ebx + 0x242]
push edx
push esi
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046c73b
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046bfd8
lea edx, [ebx + 0x269]
lea ecx, [ebx + 0x242]
push edx
push esi
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046c73b
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 0x25a]
mov eax, 0x80000000
call fcn.0046bfd8
cmp byte [ebp + 8], 0
je 0x46c8c7
xor eax, eax
call fcn.0046c6a0
jmp 0x46c8c7
lea edx, [ebp - 0x808]
mov eax, 0x206
push edx
call fcn.0041202c
push eax
call fcn.0044e46c
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.0046c73b
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046bfd8
lea edx, [ebx + 4]
lea ecx, [ebx + 0x299]
push edx
push esi
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046c73b
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046bfd8
lea edx, [ebx + 4]
lea ecx, [ebx + 0x2c1]
push edx
push esi
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046c73b
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046bfd8
lea edx, [ebx + 4]
lea ecx, [ebx + 0x2eb]
push edx
push esi
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046c73b
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046bfd8
lea edx, [ebx + 4]
lea ecx, [ebx + 0x317]
push edx
push esi
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046c73b
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046bfd8
push esi
lea ecx, [ebx + 4]
lea edx, [ebx + 0x340]
mov eax, 0x80000000
call fcn.0046bfd8
push esi
lea ecx, [ebx + 4]
lea edx, [ebx + 0x35b]
mov eax, 0x80000000
call fcn.0046bfd8
push esi
push edi
lea edx, [ebx + 0x37a]
push edx
lea ecx, [ebp - 0x408]
push ecx
call fcn.0046c73b
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046bfd8
push esi
push edi
lea eax, [ebx + 0x39b]
push eax
lea edx, [ebp - 0x408]
push edx
call fcn.0046c73b
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046bfd8
push esi
push edi
lea eax, [ebx + 0x3c1]
push eax
lea edx, [ebp - 0x408]
push edx
call fcn.0046c73b
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046bfd8
push esi
push edi
lea eax, [ebx + 0x3e4]
push eax
lea edx, [ebp - 0x408]
push edx
call fcn.0046c73b
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046bfd8
push esi
push edi
lea eax, [ebx + 0x406]
push eax
lea edx, [ebp - 0x408]
push edx
call fcn.0046c73b
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046bfd8
push esi
push edi
lea eax, [ebx + 0x42f]
push eax
lea edx, [ebp - 0x408]
push edx
call fcn.0046c73b
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046bfd8
lea eax, [ebx + 0x499]
lea edx, [ebx + 0x455]
push eax
mov eax, CreateStatusWindowA
mov ecx, esi
call fcn.0046bfd8
jmp 0x46ccd4
push esi
lea edx, [ebx + 0x242]
push edx
lea ecx, [ebp - 0x408]
push ecx
call fcn.0046c73b
add esp, 0xc
mov edx, eax
mov eax, 0x80000000
call fcn.0046c454
push esi
lea ecx, [ebx + 0x239]
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046c73b
add esp, 0xc
mov edx, eax
mov eax, 0x80000000
call fcn.0046c454
push esi
lea edx, [ebx + 0x273]
push edx
lea ecx, [ebp - 0x408]
push ecx
call fcn.0046c73b
add esp, 0xc
mov edx, eax
mov eax, 0x80000000
call fcn.0046c454
push esi
lea ecx, [ebx + 0x299]
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046c73b
add esp, 0xc
mov edx, eax
mov eax, 0x80000000
call fcn.0046c454
push esi
lea edx, [ebx + 0x2c1]
push edx
lea ecx, [ebp - 0x408]
push ecx
call fcn.0046c73b
add esp, 0xc
mov edx, eax
mov eax, 0x80000000
call fcn.0046c454
push esi
lea ecx, [ebx + 0x2eb]
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046c73b
add esp, 0xc
mov edx, eax
mov eax, 0x80000000
call fcn.0046c454
push esi
lea edx, [ebx + 0x317]
push edx
lea ecx, [ebp - 0x408]
push ecx
call fcn.0046c73b
add esp, 0xc
mov edx, eax
mov eax, 0x80000000
call fcn.0046c454
lea edx, [ebx + 0x340]
mov eax, 0x80000000
call fcn.0046c454
lea edx, [ebx + 0x35b]
mov eax, 0x80000000
call fcn.0046c454
push edi
lea ecx, [ebx + 0x37a]
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046c73b
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046c490
push edi
lea edx, [ebx + 0x39b]
push edx
lea ecx, [ebp - 0x408]
push ecx
call fcn.0046c73b
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046c490
push edi
lea eax, [ebx + 0x3c1]
push eax
lea edx, [ebp - 0x408]
push edx
call fcn.0046c73b
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046c490
push edi
lea eax, [ebx + 0x3e4]
push eax
lea edx, [ebp - 0x408]
push edx
call fcn.0046c73b
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046c490
push edi
lea eax, [ebx + 0x406]
push eax
lea edx, [ebp - 0x408]
push edx
call fcn.0046c73b
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046c490
push edi
lea eax, [ebx + 0x42f]
push eax
lea edx, [ebp - 0x408]
push edx
call fcn.0046c73b
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046c490
lea edx, [ebx + 0x455]
mov ecx, esi
mov eax, CreateStatusWindowA
call fcn.0046c490
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8