Function at 0x44d090
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov dword [ebp - 0x40], esp
mov eax, dword [0x57f040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ecx], fcn.0044d3a0
mov dword [ecx + 4], 0
mov byte [ecx + 8], 0
xor eax, eax
dec eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
push eax
sub esp, 0xc
mov edi, esp
mov dword [ebp - 0x34], edi
add edi, 4
cmp byte [eax + 0xb], 0
mov dword [ebp - 0x44], ecx
js 0x44d0eb
mov ecx, dword [eax + 8]
mov dword [edi + 8], ecx
movsd xmm0, qword [eax]
movsd qword [edi], xmm0
jmp 0x44d0f7
mov ecx, edi
push dword [eax + 4]
push dword [eax]
call fcn.004a3060
lea eax, [ebp - 0x24]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x34]
mov dword [ecx], eax
movsx ebx, byte [ecx + 0xf]
test ebx, ebx
mov esi, dword [ecx + 4]
mov eax, dword [ecx + 8]
mov ecx, edi
cmovs ecx, esi
mov edx, ebx
cmovs edx, eax
test edx, edx
je 0x44d125
add edx, edx
xor eax, eax
jmp 0x44d2dd
mov ecx, ebx
jmp 0x44d138
mov eax, dword [ebp - 0x34]
mov cl, byte [eax + 0xf]
mov esi, dword [eax + 4]
mov eax, dword [eax + 8]
movzx ebx, cl
test cl, cl
mov dword [ebp - 0x3c], edi
cmovns esi, edi
cmovs ebx, eax
test ebx, ebx
jne 0x44d2e6
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x1c], eax
movsd xmm0, qword [ecx]
movsd qword [ebp - 0x24], xmm0
xorps xmm0, xmm0
movsd qword [ecx], xmm0
mov dword [ecx + 8], 0
mov eax, dword [ebp - 0x34]
cmp byte [eax + 0xf], 0
jns 0x44d181
push dword [ecx]
call fcn.004e6c3e
add esp, 4
mov esp, dword [ebp - 0x40]
lea ebx, [ebp - 0x30]
lea eax, [ebp - 0x24]
push eax
push 0x5648ec
push ebx
call fcn.004380b0
add esp, 0xc
movsx eax, byte [esi + 0xb]
test eax, eax
jns 0x44d1a6
mov eax, dword [esi + 4]
mov esi, dword [esi]
lea edi, [ebp - 0x20]
mov ecx, ebx
push eax
push esi
call fcn.004a3200
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 7]
mov dword [ebp - 0x15], edx
mov dword [ebp - 0x18], ecx
mov bl, byte [eax + 0xb]
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
cmp byte [edi + 7], 0
jns 0x44d1e2
push dword [ebp - 0x24]
call fcn.004e6c3e
add esp, 4
mov dword [ebp - 0x24], esi
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x15]
mov dword [edi + 3], ecx
mov dword [edi], eax
mov byte [ebp - 0x19], bl
cmp byte [ebp - 0x25], 0
jns 0x44d204
push dword [ebp - 0x30]
call fcn.004e6c3e
add esp, 4
mov bl, byte [ebp + 0x10]
cmp byte [ebp - 0x19], 0
mov esi, dword [ebp - 0x44]
jns 0x44d216
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x38], eax
test bl, bl
jne 0x44d22c
push dword [ebp - 0x38]
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenEventW]
jmp 0x44d23b
xor eax, eax
push dword [ebp - 0x38]
push eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp dword [esi + 4], eax
je 0x44d26d
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 4]
inc eax
cmp eax, 2
jae 0x44d2b3
mov eax, edi
inc eax
cmp eax, 2
jb 0x44d264
mov dword [esi + 4], edi
call fcn.004b67c0
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_SetLastError]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 4]
inc ecx
cmp ecx, 2
jb 0x44d28c
cmp eax, 0xb7
sete al
xor bl, 1
or bl, al
mov byte [esi + 8], bl
cmp byte [ebp - 0x19], 0
jns 0x44d29d
push dword [ebp - 0x24]
call fcn.004e6c3e
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e71b0
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
call fcn.004b67c0
push dword [esi + 4]
call fcn.004a4410
add esp, 4
mov dword [esi + 4], 0
jmp 0x44d254
mov word [ecx + eax], 0x21
add eax, 2
cmp edx, eax
je 0x44d129
cmp word [ecx + eax], 0x5c
jne 0x44d2d2
jmp 0x44d2cc
add ebx, ebx
xor edi, edi
movzx eax, word [esi + edi]
push eax
call fcn.004fd20c
add esp, 4
mov word [esi + edi], ax
add edi, 2
cmp ebx, edi
jne 0x44d2ea
jmp 0x44d14b