Function at 0x456ae0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a0e0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x5c7cec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x64], eax
mov eax, dword [0x5ccda4]
mov byte [ebp - 0x59], 0
mov dword [ebp - 0x60], eax
test eax, eax
je 0x456cf2
lea esi, [eax + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 0x60]
mov al, byte [ecx + 0x49]
mov byte [ebp - 0x5a], al
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [ebp - 0x5a], 0
mov ecx, str.ReaderLogTransport2.exe
mov eax, 0x575754
mov dword [ebp - 4], 0xffffffff
cmove eax, ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00419f30
add esp, 8
cmp byte [0x5cbd2c], 0
mov dword [ebp - 4], 1
je 0x456c4d
lea eax, [ebp - 0x58]
push str.LogTransport2.exe
push eax
call fcn.0043de90
add esp, 8
mov esi, eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
cmp eax, esi
je 0x456c0b
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x456bd9
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x456bcf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x456f03
push edx
push ecx
call fcn.004097e6
add esp, 8
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x456c49
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x456c3f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x456f03
push edx
push ecx
call fcn.004097e6
add esp, 8
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], 0
je 0x456cea
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x456cea
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x64]
call fcn.00456680
add esp, 8
test al, al
je 0x456cea
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
push 1
push 0x573914
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.0040cd80
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
push eax
call fcn.0040cd80
push 1
push 0x573914
lea ecx, [ebp - 0x40]
call fcn.0040cd80
lea eax, [ebp - 0x40]
push eax
push edi
call fcn.00456680
add esp, 8
test al, al
je 0x456d10
mov byte [ebp - 0x59], 1
lea ecx, [ebp - 0x40]
call fcn.00408e50
lea ecx, [ebp - 0x28]
call fcn.00408e50
mov al, byte [ebp - 0x59]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040154f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x30]
mov edx, dword [edi + 0x10]
lea eax, [ecx + 0x25]
cmp edx, eax
jne 0x456ce2
xor eax, eax
mov dword [ebp - 0x48], 0
cmp edx, ecx
mov word [ebp - 0x58], ax
mov dword [ebp - 0x44], 7
mov eax, edi
cmovb ecx, edx
cmp dword [edi + 0x14], 8
jb 0x456d40
mov eax, dword [edi]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.00408740
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00456680
add esp, 8
test al, al
sete al
mov byte [ebp - 0x5a], al
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 6
cmp edx, 8
jb 0x456da7
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x456d9a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x456f08
push edx
push ecx
call fcn.004097e6
mov al, byte [ebp - 0x5a]
add esp, 8
mov byte [ebp - 4], 4
test al, al
jne 0x456ce2
mov esi, dword [edi + 0x14]
mov eax, edi
cmp esi, 8
jb 0x456dbf
mov eax, dword [edi]
mov ecx, dword [ebp - 0x30]
cmp word [eax + ecx*2], 0x20
jne 0x456ce2
xor eax, eax
mov dword [ebp - 0x48], 0
inc ecx
mov word [ebp - 0x58], ax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x44], 7
cmp eax, ecx
jb 0x456f0d
sub eax, ecx
or edx, 0xffffffff
cmp eax, 0xffffffff
cmovb edx, eax
cmp esi, 8
jb 0x456dff
mov edi, dword [edi]
lea eax, [edi + ecx*2]
push edx
push eax
lea ecx, [ebp - 0x58]
call fcn.00408740
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 7
push eax
call fcn.0049e7d0
add esp, 4
test al, al
jne 0x456e2d
lea ecx, [ebp - 0x58]
call fcn.00408e50
jmp 0x456ce2
mov byte [ebp - 0x59], 1
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 8
cmp edx, 8
jb 0x456e6f
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x456e65
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x456f12
push edx
push ecx
call fcn.004097e6
add esp, 8
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 9
cmp edx, 8
jb 0x456ea9
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x456e9f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x456f12
push edx
push ecx
call fcn.004097e6
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xa
cmp edx, 8
jb 0x456cf2
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x456ef4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x456f17
push edx
push ecx
call fcn.004097e6
add esp, 8
jmp 0x456cf2
call fcn.0052cae1
call fcn.0052cae1
call fcn.00472980
call fcn.0052cae1
call fcn.0052cae1
int3