Function at 0x40c3e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49cbdb
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
mov eax, dword [0x4c20f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1d4], esi
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x19c]
push 0x104
push 0
push eax
call fcn.00474010
add esp, 0xc
cmp byte [esi + 3], 0
je 0x40c653
mov edi, 1
nop
cmp dword [ebx + 0x14], 0x10
mov eax, ebx
mov dword [ebp - 0x1d0], edi
jb 0x40c450
mov eax, dword [ebx]
push edi
push eax
lea eax, [ebp - 0x19c]
push str._s_d
push eax
call fcn.00407840
add esp, 0x10
lea eax, [ebp - 0x19c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x40c63c
push 0xa
lea eax, [ebp - 0x18]
push eax
push edi
call fcn.0047b164
add esp, 0xc
mov dword [ebp - 0x1cc], 0
xor eax, eax
mov dword [ebp - 0x1bc], 0
mov word [ebp - 0x1cc], ax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1b8], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c4b7
sub eax, edx
lea ecx, [ebp - 0x1cc]
sar eax, 1
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00406a50
lea eax, [ebp - 0x1cc]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x1ec]
call fcn.00407860
push 0x4bb098
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1b4]
call fcn.00407990
mov byte [ebp - 4], 0
add esp, 8
mov edx, dword [ebp - 0x1d8]
cmp edx, 8
jb 0x40c54c
mov ecx, dword [ebp - 0x1ec]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c542
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c732
push edx
push ecx
call fcn.00471ddf
add esp, 8
push 0x4bb330
call fcn.00401780
push edi
lea eax, [ebp - 0x58]
push str.taskkill__F__im_Proxy_d.exe
push eax
call fcn.004017f0
lea eax, [ebp - 0x58]
push eax
call fcn.0047cf91
add esp, 0x14
mov esi, eax
push 0x3c
call dword [sym.imp.KERNEL32.dll_Sleep]
test esi, esi
jle 0x40c5b5
cmp dword [ebp - 0x1a0], 8
lea ecx, [ebp - 0x1b4]
cmovae ecx, dword [ebp - 0x1b4]
call fcn.004025b0
test al, al
je 0x40c5b5
cmp dword [ebp - 0x1a0], 8
lea ecx, [ebp - 0x1b4]
cmovae ecx, dword [ebp - 0x1b4]
call fcn.004026e0
mov edx, dword [ebp - 0x1a0]
cmp edx, 8
jb 0x40c5f5
mov ecx, dword [ebp - 0x1b4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c5eb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c732
push edx
push ecx
call fcn.00471ddf
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x1b8]
cmp edx, 8
jb 0x40c63c
mov ecx, dword [ebp - 0x1cc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c632
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c732
push edx
push ecx
call fcn.00471ddf
add esp, 8
inc edi
cmp dword [ebp - 0x1d0], 0xff
jle 0x40c440
mov esi, dword [ebp - 0x1d4]
cmp byte [esi + 4], 0
je 0x40c714
lea eax, [ebp - 0x98]
push str.taskkill__F__im_LoggerManager.exe
push eax
call fcn.004017f0
lea eax, [ebp - 0x98]
push eax
call fcn.0047cf91
add esp, 0xc
mov esi, eax
push 0x3c
call dword [sym.imp.KERNEL32.dll_Sleep]
test esi, esi
jle 0x40c714
push 0x11
push str.LoggerManager.exe
lea ecx, [ebp - 0x1b4]
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x1a0], 7
call fcn.00406a50
cmp dword [ebp - 0x1a0], 8
lea ecx, [ebp - 0x1b4]
cmovae ecx, dword [ebp - 0x1b4]
call fcn.004026e0
mov edx, dword [ebp - 0x1a0]
cmp edx, 8
jb 0x40c714
mov ecx, dword [ebp - 0x1b4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c70a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c732
push edx
push ecx
call fcn.00471ddf
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00471b4b
mov esp, ebp
pop ebp
ret 4
call fcn.0047caa2
int3