Function at 0x4497c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55c2c9
mov eax, dword fs:[0]
push eax
sub esp, 0x8a4
mov eax, dword [0x5b627c]
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]
xor ecx, ecx
mov dword [ebp - 0x8b0], eax
mov dword [ebp - 0x8ac], 0
push ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, eax
push 0x569bb8
mov dword [ebp - 4], 0
mov dword [ebp - 0x8a4], eax
call fcn.0041c630
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x8ac], 1
call fcn.0050fe00
add esp, 0xc
lea eax, [ebp - 0x810]
push 0x400
push eax
push 0x7e
push 0
call dword [sym.imp.USER32.dll_LoadStringW]
xor eax, eax
mov dword [ebp - 0x860], 0
lea ecx, [ebp - 0x810]
mov dword [ebp - 0x85c], 7
mov word [ebp - 0x870], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x449890
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x870]
call fcn.0041c630
push 0x400
lea eax, [ebp - 0x810]
mov dword [ebp - 4], 1
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
xor eax, eax
mov dword [ebp - 0x830], 0
lea ecx, [ebp - 0x810]
mov dword [ebp - 0x82c], 7
mov word [ebp - 0x840], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x449900
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x840]
call fcn.0041c630
cmp dword [ebp - 0x82c], 8
lea eax, [ebp - 0x840]
mov byte [ebp - 4], 2
cmovae eax, dword [ebp - 0x840]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4499b4
cmp dword [ebp - 0x85c], 8
lea edx, [ebp - 0x870]
mov dword [ebp - 0x848], 0
cmovae edx, dword [ebp - 0x870]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x844], 7
mov word [ebp - 0x858], ax
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x449980
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x858]
call fcn.0041c630
cmp dword [ebp - 0x848], 0
mov byte [ebp - 4], 3
jne 0x4499d5
lea ecx, [ebp - 0x858]
call fcn.004070f0
lea ecx, [ebp - 0x840]
call fcn.004070f0
lea ecx, [ebp - 0x870]
call fcn.004070f0
mov esi, dword [ebp - 0x8a4]
jmp 0x449d8a
lea eax, [ebp - 0x858]
push eax
lea eax, [ebp - 0x888]
push eax
call fcn.00458140
add esp, 8
push 0xc
push str..start.event
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0042d5c0
mov edi, eax
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 0
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x8a8], eax
jb 0x449a24
mov edi, dword [edi]
cmp eax, 8
jae 0x449a3f
movups xmm0, xmmword [edi]
mov dword [ebp - 0x814], 7
movups xmmword [ebp - 0x828], xmm0
jmp 0x449a89
mov esi, eax
lea ecx, [ebp - 0x828]
mov eax, SysReAllocString
or esi, 7
cmp esi, eax
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.0041c060
mov ecx, eax
mov eax, dword [ebp - 0x8a8]
mov dword [ebp - 0x828], ecx
lea eax, [eax*2 + 2]
push eax
push edi
push ecx
call fcn.00510830
mov eax, dword [ebp - 0x8a8]
add esp, 0xc
mov dword [ebp - 0x814], esi
mov dword [ebp - 0x818], eax
mov edx, dword [ebp - 0x874]
mov byte [ebp - 4], 6
cmp edx, 8
jb 0x449ad3
mov ecx, dword [ebp - 0x888]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x449ac9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x449da7
push edx
push ecx
call fcn.00465e7d
add esp, 8
xor eax, eax
mov dword [ebp - 0x878], 0
mov word [ebp - 0x888], ax
lea eax, [ebp - 0x828]
push eax
lea eax, [ebp - 0x8a0]
mov dword [ebp - 0x874], 7
push eax
call fcn.0045bcb0
mov esi, eax
add esp, 8
lea eax, [ebp - 0x828]
cmp eax, esi
je 0x449b97
mov edx, dword [ebp - 0x814]
cmp edx, 8
jb 0x449b56
mov ecx, dword [ebp - 0x828]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x449b4c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x449dac
push edx
push ecx
call fcn.00465e7d
add esp, 8
mov dword [ebp - 0x818], 0
xor eax, eax
mov dword [ebp - 0x814], 7
mov word [ebp - 0x828], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x828], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x818], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x88c]
cmp edx, 8
jb 0x449bd7
mov ecx, dword [ebp - 0x8a0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x449bcd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x449db1
push edx
push ecx
call fcn.00465e7d
add esp, 8
push 1
push 0x56cd8c
lea ecx, [ebp - 0x840]
call fcn.0042d5c0
cmp dword [ebp - 0x814], 8
lea ecx, [ebp - 0x828]
push dword [ebp - 0x818]
cmovae ecx, dword [ebp - 0x828]
push ecx
mov ecx, eax
call fcn.0042d5c0
mov esi, dword [ebp - 0x8a4]
lea eax, [ebp - 0x840]
cmp esi, eax
je 0x449c37
cmp dword [ebp - 0x82c], 8
mov ecx, esi
push dword [ebp - 0x830]
cmovae eax, dword [ebp - 0x840]
push eax
call fcn.0041c630
mov edx, dword [ebp - 0x814]
cmp edx, 8
jb 0x449c77
mov ecx, dword [ebp - 0x828]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x449c6d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x449db6
push edx
push ecx
call fcn.00465e7d
add esp, 8
mov edx, dword [ebp - 0x844]
xor eax, eax
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 7
mov word [ebp - 0x828], ax
cmp edx, 8
jb 0x449cd4
mov ecx, dword [ebp - 0x858]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x449cca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x449dbb
push edx
push ecx
call fcn.00465e7d
add esp, 8
mov edx, dword [ebp - 0x82c]
xor eax, eax
mov dword [ebp - 0x848], 0
mov dword [ebp - 0x844], 7
mov word [ebp - 0x858], ax
cmp edx, 8
jb 0x449d31
mov ecx, dword [ebp - 0x840]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x449d27
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x449dc0
push edx
push ecx
call fcn.00465e7d
add esp, 8
mov edx, dword [ebp - 0x85c]
xor eax, eax
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x82c], 7
mov word [ebp - 0x840], ax
cmp edx, 8
jb 0x449d8a
mov ecx, dword [ebp - 0x870]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x449d80
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x449dc5
push edx
push ecx
call fcn.00465e7d
add esp, 8
mov eax, esi
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.00465d1b
mov esp, ebp
pop ebp
ret
call fcn.005143e9
call fcn.005143e9
call fcn.005143e9
call fcn.005143e9
call fcn.005143e9
call fcn.005143e9
call fcn.005143e9
int3