Function at 0x78347c21
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x820
lea ebp, [esp - 4]
mov eax, dword [0x783c8018]
xor eax, ebp
mov dword [ebp + 0x820], eax
push 0x5c
mov eax, 0x783ae031
call fcn.783a76f8
mov esi, ecx
call sym.MFC80U.DLL_Ordinal_1079
mov ecx, dword [eax + 4]
call sym.MFC80U.DLL_Ordinal_1299
xor ebx, ebx
push 0x783480c5
mov ecx, 0x783ceb4c
mov dword [ebp - 4], ebx
call sym.MFC80U.DLL_Ordinal_2590
mov edi, eax
xor eax, eax
cmp edi, ebx
setne al
cmp eax, ebx
jne 0x78347c7a
jmp sym.MFC80U.DLL_Ordinal_1176
cmp dword [edi + 4], ebx
jne 0x78347c8d
push 0x782f2318
call fcn.7832ba5f
pop ecx
mov dword [edi + 4], eax
mov edi, dword [edi + 4]
cmp edi, ebx
jne 0x78347ca6
push 0xffffffffffffffff
push ebx
push 0xf190
call sym.MFC80U.DLL_Ordinal_1117
jmp 0x78347f6c
push 0x782f2324
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [ebp - 0x18], eax
jne 0x78347cc3
push 0xffffffffffffffff
push ebx
push 0xf191
jmp 0x78347c9c
mov eax, dword [esi + 0x24]
mov eax, dword [eax - 0xc]
cmp eax, ebx
mov dword [ebp - 0x1c], ebx
je 0x78347cfe
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
test eax, eax
jne 0x78347cfe
mov eax, dword [esi + 0x24]
push 0xffffffffffffffff
push eax
mov edi, 0x104
lea eax, [ebp + 0x618]
push edi
push eax
call dword [sym.imp.MSVCR80.dll_wcsncpy_s]
add esp, 0x10
call fcn.78303ae0
jmp 0x78347d5e
lea eax, [ebp]
push eax
mov edi, 0x104
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp + 0x618]
push eax
push ebx
push 0x782f2334
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
push ebx
lea ecx, [ebp + 0x618]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0xa0]
push dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x64]
cmp dword [ebp - 0x10], ebx
je 0x78347f6c
mov dword [ebp - 0x1c], 1
call dword [str.zd:x0]
push ebx
push ebx
push edi
lea ecx, [ebp + 0x30c]
push ecx
push 0xffffffffffffffff
lea ecx, [ebp + 0x618]
push ecx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [esi + 0x24]
mov ecx, dword [eax - 0xc]
cmp ecx, ebx
je 0x78347d9c
push edi
lea ecx, [ebp + 0x410]
push ecx
push eax
call sym.MFC80U.DLL_Ordinal_1072
jmp 0x78347e51
mov eax, dword [esi + 0x20]
push 0xffffffffffffffff
push eax
lea eax, [ebp + 0x410]
push edi
push eax
call dword [sym.imp.MSVCR80.dll_wcsncpy_s]
add esp, 0x10
call fcn.78303ae0
push dword [esi + 0x20]
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
lea ecx, [ebp - 0x10]
call sym.MFC80U.DLL_Ordinal_283
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
mov eax, dword [ebp - 0x10]
sete byte [ebp - 0x11]
add eax, 0xfffffff0
call fcn.78303c47
cmp byte [ebp - 0x11], bl
je 0x78347e51
push 0x783c8d10
lea ecx, [ebp - 0x20]
call sym.MFC80U.DLL_Ordinal_269
mov byte [ebp - 4], 1
mov ecx, dword [esi + 0x28]
cmp ecx, ebx
je 0x78347e43
mov eax, dword [ecx]
push 4
lea edx, [ebp - 0x20]
push edx
call dword [eax + 0x6c]
test eax, eax
je 0x78347e43
push dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
call esi
lea ecx, [ebp + 0x410]
push ecx
mov dword [ebp - 0x10], eax
call esi
mov ecx, dword [ebp - 0x10]
add ecx, eax
cmp ecx, edi
jae 0x78347e43
push dword [ebp - 0x20]
lea eax, [ebp + 0x410]
push edi
push eax
call dword [sym.imp.MSVCR80.dll_wcscat_s]
add esp, 0xc
call fcn.78303ae0
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.78303c47
call dword [str.zd:x0]
push ebx
push ebx
push edi
lea ecx, [ebp + 0x208]
push ecx
push 0xffffffffffffffff
lea ecx, [ebp + 0x410]
push ecx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0x18
lea eax, [ebp - 0x38]
push ebx
push eax
call sub.MSVCR80.dll_memset
or dword [ebp - 0x30], 0xffffffff
lea eax, [ebp + 0x30c]
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 0x208]
push 0x30
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x68]
push ebx
push eax
call sub.MSVCR80.dll_memset
xor edi, edi
lea eax, [ebp - 0x38]
inc edi
add esp, 0x18
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], eax
call sym.MFC80U.DLL_Ordinal_1079
push ebx
call sym.MFC80U.DLL_Ordinal_6742
pop ecx
lea eax, [ebp - 0x10]
push eax
push ebx
call sym.MFC80U.DLL_Ordinal_3333
mov esi, eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call sym.MFC80U.DLL_Ordinal_2366
push ebx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x20]
or dword [esi + 0x3c], 4
push ebx
push 9
lea ecx, [ebp - 0x68]
push ecx
push eax
push ebx
call dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_ReleaseCapture]
and dword [esi + 0x3c], 0xfffffffb
push edi
mov ecx, esi
call sym.MFC80U.DLL_Ordinal_2155
mov edi, dword [sym.imp.USER32.dll_SetActiveWindow]
push ebx
call edi
push dword [esi + 0x20]
call edi
push eax
call sym.MFC80U.DLL_Ordinal_2366
mov ecx, esi
call sym.MFC80U.DLL_Ordinal_5829
cmp dword [ebp - 0x10], ebx
je 0x78347f30
push 1
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_EnableWindow]
call sym.MFC80U.DLL_Ordinal_1079
push 1
call sym.MFC80U.DLL_Ordinal_6742
cmp dword [ebp - 0x18], ebx
pop ecx
je 0x78347f5b
cmp dword [ebp - 0x18], 1
je 0x78347f5b
cmp dword [ebp - 0x18], 3
je 0x78347f5b
push 0xffffffffffffffff
push ebx
push 0xf192
call sym.MFC80U.DLL_Ordinal_1117
cmp dword [ebp - 0x1c], ebx
je 0x78347f6c
lea eax, [ebp + 0x618]
push eax
call sym.MFC80U.DLL_Ordinal_5416
or dword [ebp - 4], 0xffffffff
call fcn.783169f9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x820]
xor ecx, ebp
call fcn.783a505e
add ebp, 0x824
leave
ret