Function at 0x44d677
Capabilities:
Check if file exists

Disassembly:
push 0x4f8
mov eax, 0x4b06f5
call fcn.0049174a
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x498], ebx
mov dword [ebp - 0x494], eax
cmp dword [eax + 0x14], ebx
jne 0x44d6a5
xor eax, eax
inc eax
call fcn.004917cd
ret
push 0x4bdb3c
lea eax, [ebp - 0x43c]
push ebx
push eax
call fcn.0042afac
add esp, 0xc
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x424], 8
mov eax, dword [ebp - 0x438]
jae 0x44d6d2
lea eax, [ebp - 0x438]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
push 2
pop edi
test eax, eax
jne 0x44d767
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.00492360
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x4bdb3c
xor ecx, ecx
call fcn.004256ac
lea eax, [ebp - 0x218]
push eax
call esi
test eax, eax
jne 0x44d73e
push edi
pop edi
push ebx
push 1
lea esi, [ebp - 0x43c]
call fcn.00402bb8
mov eax, edi
jmp 0x44d69f
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, edi
cmp cx, bx
jne 0x44d747
sub eax, edx
lea ecx, [ebp - 0x218]
sar eax, 1
push ecx
lea esi, [ebp - 0x43c]
call fcn.00403094
lea esi, [ebp - 0x4e8]
call fcn.0044e2b3
mov dword [ebp - 4], edi
push eax
lea ecx, [ebp - 0x490]
mov dword [ebp - 0x498], edi
call fcn.004026dd
mov dword [ebp - 4], 3
push ebx
push 1
mov ecx, esi
call fcn.00402abb
push ebx
push ebx
lea eax, [ebp - 0x4b0]
call fcn.00431ce9
push eax
mov byte [ebp - 4], 8
push dword [ebp - 0x494]
call fcn.0044d16a
push 0x4baec0
lea esi, [ebp - 0x4cc]
call fcn.00402703
mov eax, esi
push eax
lea eax, [ebp - 0x504]
push eax
mov byte [ebp - 4], 9
call fcn.00403ea7
sub esp, 0x10
mov byte [ebp - 4], 0xa
mov edx, eax
mov esi, esp
mov dword [ebp - 0x494], esp
call fcn.00430e5a
lea eax, [ebp - 0x4b0]
push eax
mov edx, str.wndCaption
mov byte [ebp - 4], 0xb
call fcn.00431fdf
mov edi, eax
mov byte [ebp - 4], 0xa
call fcn.004310b2
push ebx
push 1
lea ecx, [ebp - 0x504]
call fcn.00402abb
push ebx
push 1
lea esi, [ebp - 0x4cc]
mov byte [ebp - 4], 8
call fcn.00402bb8
sub esp, 0x18
lea edx, [ebp - 0x490]
mov esi, esp
mov dword [ebp - 0x494], esp
call fcn.00430e5a
lea eax, [ebp - 0x4b0]
push eax
mov edx, str.wndClass
mov byte [ebp - 4], 0xc
call fcn.00431fdf
mov edi, eax
mov byte [ebp - 4], 8
call fcn.004310b2
lea eax, [ebp - 0x4b0]
push eax
lea ecx, [ebp - 0x474]
call fcn.00432484
mov byte [ebp - 4], 0xd
xor eax, eax
push 0x206
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push ebx
push eax
call fcn.00492360
add esp, 0xc
lea esi, [ebp - 0x420]
call fcn.0042535c
cmp dword [ebp - 0x45c], 0x10
mov eax, dword [ebp - 0x470]
jae 0x44d8b8
lea eax, [ebp - 0x470]
push dword [ebp - 0x460]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.0042575d
lea eax, [ebp - 0x420]
push eax
call fcn.00425023
cmp eax, ebx
jne 0x44d911
cmp edx, ebx
jne 0x44d911
push ebx
push 1
lea ecx, [ebp - 0x474]
call fcn.00402abb
lea esi, [ebp - 0x4b0]
mov byte [ebp - 4], 5
call fcn.0043102f
push ebx
push 1
lea ecx, [ebp - 0x490]
call fcn.00402abb
push 4
jmp 0x44d728
cmp dword [ebp - 0x424], 8
mov eax, dword [ebp - 0x438]
jae 0x44d926
lea eax, [ebp - 0x438]
lea ecx, [ebp - 0x420]
push ecx
push eax
push str.__ls___commonRequest___ls_
lea ecx, [ebp - 0x458]
call fcn.00427909
add esp, 0xc
push ebx
mov byte [ebp - 4], 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp - 0x440], 8
mov eax, dword [ebp - 0x454]
jae 0x44d961
lea eax, [ebp - 0x454]
push eax
call fcn.00426a8b
cmp eax, ebx
jne 0x44d9e0
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push 5
pop edi
cmp eax, edi
je 0x44d983
call esi
cmp eax, 0x522
jne 0x44d9a2
cmp dword [ebp - 0x440], 8
mov eax, dword [ebp - 0x454]
jae 0x44d998
lea eax, [ebp - 0x454]
push eax
call fcn.0042672b
cmp eax, ebx
jne 0x44d9e0
push ebx
push 1
lea esi, [ebp - 0x458]
call fcn.00402bb8
push ebx
push 1
lea ecx, [ebp - 0x474]
call fcn.00402abb
lea esi, [ebp - 0x4b0]
mov byte [ebp - 4], 5
call fcn.0043102f
push ebx
push 1
lea ecx, [ebp - 0x490]
call fcn.00402abb
jmp 0x44d729
xor edi, edi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x478], 0x10
mov eax, dword [ebp - 0x48c]
jae 0x44d9ff
lea eax, [ebp - 0x48c]
push ebx
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x44da1c
inc edi
cmp edi, 0xa
jl 0x44d9e2
jmp 0x44da3a
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0x43
push ebx
push ebx
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push 1
lea esi, [ebp - 0x458]
call fcn.00402bb8
push ebx
push 1
lea ecx, [ebp - 0x474]
call fcn.00402abb
lea esi, [ebp - 0x4b0]
mov byte [ebp - 4], 5
call fcn.0043102f
push ebx
push 1
lea ecx, [ebp - 0x490]
call fcn.00402abb
xor edi, edi
jmp 0x44d729