Function at 0x46c41e
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, 0x4a75fb
cmp byte [ebp - 1], 0
je 0x46c745
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.0040ba30
push eax
call fcn.004949c8
add esp, 8
lea edx, [ebp - 0x808]
push edx
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x46c529
cmp byte [ebp + 8], 0
je 0x46c490
mov al, 1
call fcn.0046c31c
lea edx, [ebx + 0x1e6]
lea ecx, [ebx + 0x239]
push edx
push esi
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046c3b7
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046bc54
lea edx, [ebp - 0x808]
lea ecx, [ebx + 0x242]
push edx
push esi
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046c3b7
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046bc54
lea edx, [ebx + 0x269]
lea ecx, [ebx + 0x242]
push edx
push esi
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046c3b7
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 0x25a]
mov eax, 0x80000000
call fcn.0046bc54
cmp byte [ebp + 8], 0
je 0x46c543
xor eax, eax
call fcn.0046c31c
jmp 0x46c543
lea edx, [ebp - 0x808]
mov eax, 0x206
push edx
call fcn.00411fe8
push eax
call fcn.0044e1d4
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.0046c3b7
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046bc54
lea edx, [ebx + 4]
lea ecx, [ebx + 0x299]
push edx
push esi
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046c3b7
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046bc54
lea edx, [ebx + 4]
lea ecx, [ebx + 0x2c1]
push edx
push esi
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046c3b7
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046bc54
lea edx, [ebx + 4]
lea ecx, [ebx + 0x2eb]
push edx
push esi
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046c3b7
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046bc54
lea edx, [ebx + 4]
lea ecx, [ebx + 0x317]
push edx
push esi
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046c3b7
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046bc54
push esi
lea ecx, [ebx + 4]
lea edx, [ebx + 0x340]
mov eax, 0x80000000
call fcn.0046bc54
push esi
lea ecx, [ebx + 4]
lea edx, [ebx + 0x35b]
mov eax, 0x80000000
call fcn.0046bc54
push esi
push edi
lea edx, [ebx + 0x37a]
push edx
lea ecx, [ebp - 0x408]
push ecx
call fcn.0046c3b7
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046bc54
push esi
push edi
lea eax, [ebx + 0x39b]
push eax
lea edx, [ebp - 0x408]
push edx
call fcn.0046c3b7
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046bc54
push esi
push edi
lea eax, [ebx + 0x3c1]
push eax
lea edx, [ebp - 0x408]
push edx
call fcn.0046c3b7
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046bc54
push esi
push edi
lea eax, [ebx + 0x3e4]
push eax
lea edx, [ebp - 0x408]
push edx
call fcn.0046c3b7
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046bc54
push esi
push edi
lea eax, [ebx + 0x406]
push eax
lea edx, [ebp - 0x408]
push edx
call fcn.0046c3b7
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046bc54
push esi
push edi
lea eax, [ebx + 0x42f]
push eax
lea edx, [ebp - 0x408]
push edx
call fcn.0046c3b7
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046bc54
lea eax, [ebx + 0x499]
lea edx, [ebx + 0x455]
push eax
mov eax, CreateStatusWindowA
mov ecx, esi
call fcn.0046bc54
jmp 0x46c950
push esi
lea edx, [ebx + 0x242]
push edx
lea ecx, [ebp - 0x408]
push ecx
call fcn.0046c3b7
add esp, 0xc
mov edx, eax
mov eax, 0x80000000
call fcn.0046c0d0
push esi
lea ecx, [ebx + 0x239]
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046c3b7
add esp, 0xc
mov edx, eax
mov eax, 0x80000000
call fcn.0046c0d0
push esi
lea edx, [ebx + 0x273]
push edx
lea ecx, [ebp - 0x408]
push ecx
call fcn.0046c3b7
add esp, 0xc
mov edx, eax
mov eax, 0x80000000
call fcn.0046c0d0
push esi
lea ecx, [ebx + 0x299]
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046c3b7
add esp, 0xc
mov edx, eax
mov eax, 0x80000000
call fcn.0046c0d0
push esi
lea edx, [ebx + 0x2c1]
push edx
lea ecx, [ebp - 0x408]
push ecx
call fcn.0046c3b7
add esp, 0xc
mov edx, eax
mov eax, 0x80000000
call fcn.0046c0d0
push esi
lea ecx, [ebx + 0x2eb]
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046c3b7
add esp, 0xc
mov edx, eax
mov eax, 0x80000000
call fcn.0046c0d0
push esi
lea edx, [ebx + 0x317]
push edx
lea ecx, [ebp - 0x408]
push ecx
call fcn.0046c3b7
add esp, 0xc
mov edx, eax
mov eax, 0x80000000
call fcn.0046c0d0
lea edx, [ebx + 0x340]
mov eax, 0x80000000
call fcn.0046c0d0
lea edx, [ebx + 0x35b]
mov eax, 0x80000000
call fcn.0046c0d0
push edi
lea ecx, [ebx + 0x37a]
push ecx
lea eax, [ebp - 0x408]
push eax
call fcn.0046c3b7
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046c10c
push edi
lea edx, [ebx + 0x39b]
push edx
lea ecx, [ebp - 0x408]
push ecx
call fcn.0046c3b7
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046c10c
push edi
lea eax, [ebx + 0x3c1]
push eax
lea edx, [ebp - 0x408]
push edx
call fcn.0046c3b7
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046c10c
push edi
lea eax, [ebx + 0x3e4]
push eax
lea edx, [ebp - 0x408]
push edx
call fcn.0046c3b7
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046c10c
push edi
lea eax, [ebx + 0x406]
push eax
lea edx, [ebp - 0x408]
push edx
call fcn.0046c3b7
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046c10c
push edi
lea eax, [ebx + 0x42f]
push eax
lea edx, [ebp - 0x408]
push edx
call fcn.0046c3b7
add esp, 0xc
mov edx, eax
lea ecx, [ebx + 4]
mov eax, 0x80000000
call fcn.0046c10c
lea edx, [ebx + 0x455]
mov ecx, esi
mov eax, CreateStatusWindowA
call fcn.0046c10c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8