Function at 0x4177a0
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x45bc90
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x478040]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], 0
call dword [sym.imp.mfc140.dll_Ordinal_2241]
mov ecx, dword [eax + 4]
call dword [sym.imp.mfc140.dll_Ordinal_2560]
lea eax, [ebp + 4]
mov dword [ebp - 4], 0
push eax
push 0x201
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp + 4]
push eax
lea ecx, [ebp]
call dword [sym.imp.mfc140.dll_Ordinal_310]
lea ecx, [ebp]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc140.dll_Ordinal_5898]
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_305]
mov eax, dword [ebp]
push 8
push str.dmph.tmp
mov dword [ebp - 0x18], 1
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_3005]
mov eax, dword [ebx]
add esp, 0x14
mov ecx, ebx
push dword [ebp - 0x10]
call dword [eax + 0x84]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
mov esi, eax
call dword [sym.imp.mfc140.dll_Ordinal_1044]
test esi, esi
je 0x417a57
mov eax, dword [ebx + 0xdc]
mov esi, dword [eax + 0xa9ce4]
test esi, esi
je 0x4178af
mov eax, dword [esi + 8]
mov esi, dword [esi]
test eax, eax
jne 0x41788e
xor ecx, ecx
jmp 0x417899
or ecx, 0xffffffff
mov eax, dword [eax + 4]
inc ecx
test eax, eax
jne 0x417891
push ecx
lea ecx, [ebx + 0x1ac]
call fcn.0041bd00
mov dword [eax], 0
test esi, esi
jne 0x417881
mov ecx, ebx
call fcn.00433e80
mov eax, dword [ebx + 0xdc]
xor ecx, ecx
mov eax, dword [eax + 0xa9cd8]
mov eax, dword [eax]
cmp byte [eax + 0xa9ca8], cl
setne cl
add ecx, 5
mov dword [ebx + 0xe0], ecx
mov ecx, ebx
call fcn.00417a90
mov dword [ebp - 0x10], eax
test eax, eax
je 0x417a54
mov ecx, ebx
call fcn.004338f0
mov eax, dword [ebx + 0xdc]
mov edi, dword [eax + 0xa9dc4]
test edi, edi
je 0x417936
lea esi, [edi]
mov edi, dword [edi]
push 0x2a
lea eax, [esi + 0x3fc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x2a
lea eax, [esi + 0x426]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
mov dword [esi + 0x450], 0
test edi, edi
jne 0x417901
mov eax, dword [ebx + 0xdc]
mov ecx, dword [eax + 0xa9d8c]
test ecx, ecx
je 0x417962
nop word [eax + eax]
lea eax, [ecx]
mov ecx, dword [ecx]
mov dword [eax + 0xb58], 0
test ecx, ecx
jne 0x417950
mov eax, dword [ebx + 0xdc]
mov ecx, dword [eax + 0xa9d38]
test ecx, ecx
je 0x417984
lea eax, [ecx]
mov ecx, dword [ecx]
mov dword [eax + 0x2c8], 0
test ecx, ecx
jne 0x417972
mov eax, dword [ebx + 0xdc]
mov ecx, dword [eax + 0xa9e34]
test ecx, ecx
je 0x4179c2
lea eax, [ecx]
xor edx, edx
mov ecx, dword [ecx]
mov dword [eax + 0x2c4], 0
mov dword [eax + 0x2bb], edx
mov word [eax + 0x2bf], dx
mov dword [eax + 0x2b5], edx
mov word [eax + 0x2b9], dx
test ecx, ecx
jne 0x417994
mov eax, dword [ebx + 0xdc]
mov ecx, dword [eax + 0xa9de0]
test ecx, ecx
je 0x417a00
lea eax, [ecx]
xor edx, edx
mov ecx, dword [ecx]
mov dword [eax + 0x5f8], 0
mov dword [eax + 0x5f2], edx
mov word [eax + 0x5f6], dx
mov dword [eax + 0x5ec], edx
mov word [eax + 0x5f0], dx
test ecx, ecx
jne 0x4179d2
mov eax, dword [ebx + 0xdc]
mov edi, dword [eax + 0xa9dfc]
test edi, edi
je 0x417a54
lea esi, [edi]
mov edi, dword [edi]
push 0x200
lea eax, [esi + 0xb4c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x300
lea eax, [esi + 0x84c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x300
lea eax, [esi + 0x54c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x24
test edi, edi
jne 0x417a10
mov esi, dword [ebp - 0x10]
lea ecx, [ebp]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x11]
call fcn.00415b70
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.004592a5
lea esp, [ebp + 0x20c]
pop ebp
ret