Function at 0x44b9c0
Capabilities:
Check if file exists
Get common file path

Disassembly:
sub esp, 0xc4c
mov eax, dword [0x4bd450]
xor eax, esp
mov dword [esp + 0xc44], eax
push ebx
push ebp
push esi
push edi
xor eax, eax
mov edi, ecx
push 0x206
push eax
lea ecx, [esp + 0x43a]
xor esi, esi
push ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], esi
mov word [esp + 0x43c], ax
call fcn.00476ef0
add esp, 0xc
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x2a]
push eax
mov word [esp + 0x2c], dx
call fcn.00476ef0
add esp, 0xc
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x232]
push edx
mov word [esp + 0x234], cx
call fcn.00476ef0
add esp, 0xc
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x642]
push ecx
mov word [esp + 0x644], ax
call fcn.00476ef0
add esp, 0xc
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x84a]
push eax
mov word [esp + 0x84c], dx
call fcn.00476ef0
add esp, 0xc
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0xa52]
push edx
mov word [esp + 0xa54], cx
call fcn.00476ef0
add esp, 0xc
test edi, edi
je 0x44bd16
push 0x104
lea eax, [esp + 0x434]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x430]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push str.modules
lea edx, [esp + 0x434]
push edx
lea eax, [esp + 0x28]
push eax
call esi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [esp + 0x20]
push ecx
call ebx
test eax, eax
jne 0x44bb07
push str.sdsp
lea edx, [esp + 0x434]
push edx
lea eax, [esp + 0x28]
push eax
call esi
lea ecx, [esp + 0x20]
push ecx
call ebx
test eax, eax
jne 0x44bb2c
push 0x103
lea edx, [esp + 0x434]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.004760bd
add esp, 0xc
push 0x4aa0d4
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x230]
push edx
call esi
push 0x4aa0ec
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x640]
push ecx
call esi
push str.symsrv.dll
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x848]
push eax
call esi
push str.symsrv.yes
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0xa50]
push edx
call esi
lea eax, [esp + 0x228]
push eax
call ebx
test eax, eax
je 0x44bbb4
lea ecx, [esp + 0x638]
push ecx
call ebx
test eax, eax
je 0x44bbb4
lea edx, [esp + 0x840]
push edx
call ebx
test eax, eax
je 0x44bbb4
lea eax, [esp + 0xa48]
push eax
call ebx
test eax, eax
jne 0x44bbc1
lea ecx, [esp + 0x20]
push ecx
call fcn.00451820
add esp, 4
lea edx, [esp + 0x228]
push edx
call fcn.00451920
add esp, 4
test eax, eax
je 0x44bc1d
lea eax, [esp + 0x638]
push eax
call fcn.00451920
add esp, 4
test eax, eax
je 0x44bc1d
lea ecx, [esp + 0x840]
push ecx
call fcn.00451920
add esp, 4
test eax, eax
je 0x44bc1d
push 0x103
lea edx, [esp + 0x22c]
push edx
push edi
call fcn.004760bd
add esp, 0xc
mov eax, 1
jmp 0x44bd18
call fcn.00403a60
mov esi, eax
cmp dword [esi], 0
jne 0x44bca1
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea edi, [esi + 4]
push str.ntdll.dll
mov dword [edi], 0x114
call ebp
test eax, eax
je 0x44bca1
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RtlGetVersion
push eax
call ebx
test eax, eax
je 0x44bc9b
push edi
call eax
test eax, eax
jl 0x44bc9b
push str.IsWow64Process
push str.kernel32
mov dword [esp + 0x20], 0
call ebp
push eax
call ebx
mov edi, eax
test edi, edi
je 0x44bc8b
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
test eax, eax
je 0x44bc8f
mov eax, dword [esp + 0x18]
mov dword [esi + 0x118], eax
mov dword [esi], 1
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov eax, dword [esi + 8]
cmp eax, 6
ja 0x44bcb1
jne 0x44bd10
cmp dword [esi + 0xc], 1
jb 0x44bd10
push 0x104
lea ecx, [esp + 0x22c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0xc
push str.dbghelp.dll
lea edx, [esp + 0x230]
push 0x104
push edx
call fcn.00476107
add esp, 0x10
lea eax, [esp + 0x228]
push eax
call ebx
test eax, eax
je 0x44bd10
mov edx, dword [esp + 0x1c]
push 0x103
lea ecx, [esp + 0x22c]
push ecx
push edx
call fcn.004760bd
add esp, 0xc
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x14]
jmp 0x44bd18
mov eax, esi
mov ecx, dword [esp + 0xc54]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00471eba
add esp, 0xc4c
ret