Function at 0x44dcb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a4370
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x4c9614]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x478], eax
test esi, esi
jne 0x44dcf4
xor al, al
jmp 0x44df0e
push esi
mov byte [ebp - 0x46d], 1
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
mov edi, eax
push str.sxin.dll
push edi
call ebx
test eax, eax
je 0x44dd2e
push str.sxin64.dll
push edi
call ebx
test eax, eax
je 0x44dd2e
push str.SxWrapper.dll
push edi
call ebx
test eax, eax
jne 0x44dd52
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
call ebx
test eax, eax
je 0x44dd58
mov eax, esi
call fcn.0040ba90
test eax, eax
je 0x44dd58
mov byte [ebp - 0x46d], 0
jmp 0x44de19
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor eax, eax
xor ecx, ecx
push 3
mov word [ebp - 0x28], cx
push esi
lea ecx, [eax + 0xa]
lea edx, [ebp - 0x28]
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov word [ebp - 0x16], ax
call fcn.004516d0
lea eax, [ebp - 0x28]
call fcn.00455b60
mov edi, eax
test edi, edi
je 0x44df08
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x23a]
push eax
mov word [ebp - 0x23c], dx
call fcn.004845b0
add esp, 0xc
push str.WINDOWSSXIn.dll
push edi
lea ecx, [ebp - 0x23c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [ebp - 0x23c]
push edx
call ebx
test eax, eax
je 0x44de03
push esi
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x44de03
lea ecx, [ebp - 0x23c]
push ecx
call ebx
test eax, eax
je 0x44de03
lea eax, [ebp - 0x23c]
call fcn.0040ba90
test eax, eax
je 0x44de03
mov byte [ebp - 0x46d], 0
push edi
call fcn.0047ef43
add esp, 4
cmp byte [ebp - 0x46d], 0
jne 0x44df08
lea edx, [ebp - 0x46c]
push edx
call fcn.0040fa10
mov ebx, dword [ebp - 0x478]
push ecx
mov eax, esp
mov dword [ebp - 0x474], esp
mov dword [ebp - 4], 0
push ecx
mov dword [eax], 0
mov eax, esp
mov dword [eax], 0
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x474], esp
push eax
lea esi, [ebp - 0x440]
call fcn.00412210
test eax, eax
je 0x44def5
or ecx, 0xffffffff
mov eax, str.IDS_WINDOW_TITLE
lea esi, [ebp - 0x30]
call fcn.0042ecd0
mov byte [ebp - 4], 1
cmp dword [eax + 0x18], 8
jb 0x44de86
mov eax, dword [eax + 4]
jmp 0x44de89
add eax, 4
mov ecx, eax
lea edi, [ebp - 0x46c]
call 0x4117e0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.00401420
mov eax, dword [ebx + 0x5c]
mov edi, str.IDS_CRITICAL_FILE_PROMPT_MSG
lea esi, [ebp - 0x494]
call fcn.00404810
mov byte [ebp - 4], 2
cmp dword [eax + 0x18], 8
jb 0x44dec4
mov eax, dword [eax + 4]
jmp 0x44dec7
add eax, 4
push 0
push 0
push eax
push 0
lea ecx, [ebp - 0x46c]
call int.00411960
lea ecx, [ebp - 0x494]
mov byte [ebp - 4], 0
call fcn.00401420
push 1
lea esi, [ebp - 0x46c]
call fcn.004116c0
lea ecx, [ebp - 0x46c]
push ecx
mov dword [ebp - 4], 0xffffffff
call fcn.0040fbb0
mov al, byte [ebp - 0x46d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047e6eb
mov esp, ebp
pop ebp
ret 4