Function at 0x41908c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x419094
push ebx
push esi
push edi
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x41964d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
add eax, 0x23c
call fcn.00441e30
mov byte [ebp - 6], 0
xor eax, eax
push ebp
push 0x4195fe
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 5], 0
je 0x419482
mov eax, dword [ebp - 4]
add eax, 0x238
mov edx, 0x3e8
call fcn.0044246c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x238]
call fcn.004422e0
push eax
push 0x3e8
call sub.KERNEL32.DLL_GetTempPathA
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
add eax, 0x238
mov edx, dword [ebp - 0x10]
call fcn.0044246c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x238]
call fcn.004420e8
test eax, eax
jle 0x41915b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x238]
call fcn.004420e8
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x238]
cmp byte [edx + eax - 1], 0x5c
je 0x41915b
mov eax, dword [ebp - 4]
add eax, 0x238
mov edx, 0x419668
call fcn.004420f0
mov eax, 0x3e8
call fcn.00440b94
mov dword [ebp - 0x10], eax
jmp 0x41916d
inc dword [ebp - 0x10]
mov eax, dword [ebp - 4]
push dword [eax + 0x238]
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x10]
call fcn.00431b04
push dword [ebp - 0x30]
push 0x419674
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.004421a8
mov eax, dword [ebp - 0x2c]
call fcn.00431dfc
test al, al
jne 0x41916a
mov eax, dword [ebp - 4]
push dword [eax + 0x238]
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x10]
call fcn.00431b04
push dword [ebp - 0x34]
push 0x419674
mov eax, dword [ebp - 4]
add eax, 0x238
mov edx, 3
call fcn.004421a8
push 0xffff
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x238]
mov dl, 1
mov eax, dword [0x423260]
call fcn.00427aac
mov dword [ebp - 0x14], eax
mov dl, 1
mov eax, dword [0x423350]
call fcn.00441294
mov dword [ebp - 0x24], eax
mov edx, str.CWS_a
mov ecx, 0xcd
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax]
call dword [ebx + 0xc]
push 0
push 0
mov eax, dword [ebp - 0x24]
call fcn.004275bc
mov eax, dword [ebp - 0x24]
call fcn.004275d0
push edx
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
call fcn.00427838
mov eax, dword [ebp - 0x24]
call fcn.004412c4
mov eax, dword [ebp - 0x14]
call fcn.004412c4
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x238]
call fcn.00441ec8
mov eax, dword [ebp - 4]
add eax, 0x238
mov edx, 0x3e8
call fcn.0044246c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x238]
call fcn.004422e0
push eax
push 0x3e8
call sub.KERNEL32.DLL_GetTempPathA
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
add eax, 0x238
mov edx, dword [ebp - 0x10]
call fcn.0044246c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x238]
call fcn.004420e8
test eax, eax
jle 0x4192d0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x238]
call fcn.004420e8
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x238]
cmp byte [edx + eax - 1], 0x5c
je 0x4192d0
mov eax, dword [ebp - 4]
add eax, 0x238
mov edx, 0x419668
call fcn.004420f0
mov eax, 0x3e8
call fcn.00440b94
mov dword [ebp - 0x10], eax
jmp 0x4192e2
inc dword [ebp - 0x10]
mov eax, dword [ebp - 4]
push dword [eax + 0x238]
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 0x10]
call fcn.00431b04
push dword [ebp - 0x3c]
push 0x419684
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.004421a8
mov eax, dword [ebp - 0x38]
call fcn.00431dfc
test al, al
jne 0x4192df
mov eax, dword [ebp - 4]
push dword [eax + 0x238]
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x10]
call fcn.00431b04
push dword [ebp - 0x40]
push 0x419684
mov eax, dword [ebp - 4]
add eax, 0x238
mov edx, 3
call fcn.004421a8
push 0xffff
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x238]
mov dl, 1
mov eax, dword [0x423260]
call fcn.00427aac
mov dword [ebp - 0x14], eax
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x234]
call fcn.004275bc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x234]
call fcn.004275d0
push edx
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x234]
mov eax, dword [ebp - 0x14]
call fcn.00427838
mov eax, dword [ebp - 0x14]
call fcn.004412c4
mov eax, dword [ebp - 4]
add eax, 0x23c
mov edx, dword [ebp - 0x18]
call fcn.00441e84
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x238]
call fcn.00441ec8
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x23c]
call fcn.00441ec8
mov eax, dword [ebp - 0x1c]
call fcn.004420e8
test eax, eax
jle 0x41940a
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
cmp byte [eax + edx - 1], 0x5c
jne 0x419402
lea eax, [ebp - 0x1c]
call fcn.00442338
mov edx, dword [ebp - 0xc]
mov byte [eax + edx - 1], 0x2f
inc dword [ebp - 0xc]
dec dword [ebp - 0x28]
jne 0x4193e5
mov eax, dword [ebp - 0x20]
call fcn.004420e8
test eax, eax
jle 0x419445
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0xc]
cmp byte [eax + edx - 1], 0x5c
jne 0x41943d
lea eax, [ebp - 0x20]
call fcn.00442338
mov edx, dword [ebp - 0xc]
mov byte [eax + edx - 1], 0x2f
inc dword [ebp - 0xc]
dec dword [ebp - 0x28]
jne 0x419420
push dword [ebp - 0x20]
push 0x419694
push 0x4196a0
push dword [ebp - 0x1c]
lea eax, [ebp - 0x48]
mov edx, 4
call fcn.004421a8
mov edx, dword [ebp - 0x48]
lea eax, [ebp - 0x44]
call fcn.004426b0
mov ecx, dword [ebp - 0x44]
mov edx, 0x66
mov eax, dword [ebp - 4]
call sym.Project1.exe__Fe_flashole_TfeOleControl_SetWideStringProp_qqrix17System_WideString
jmp 0x4195f0
mov eax, dword [ebp - 4]
add eax, 0x238
mov edx, 0x3e8
call fcn.0044246c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x238]
call fcn.004422e0
push eax
push 0x3e8
call sub.KERNEL32.DLL_GetTempPathA
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
add eax, 0x238
mov edx, dword [ebp - 0x10]
call fcn.0044246c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x238]
call fcn.004420e8
test eax, eax
jle 0x419502
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x238]
call fcn.004420e8
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x238]
cmp byte [edx + eax - 1], 0x5c
je 0x419502
mov eax, dword [ebp - 4]
add eax, 0x238
mov edx, 0x419668
call fcn.004420f0
mov eax, 0x3e8
call fcn.00440b94
mov dword [ebp - 0x10], eax
jmp 0x419514
inc dword [ebp - 0x10]
mov eax, dword [ebp - 4]
push dword [eax + 0x238]
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x10]
call fcn.00431b04
push dword [ebp - 0x50]
push 0x419674
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.004421a8
mov eax, dword [ebp - 0x4c]
call fcn.00431dfc
test al, al
jne 0x419511
mov eax, dword [ebp - 4]
push dword [eax + 0x238]
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x10]
call fcn.00431b04
push dword [ebp - 0x54]
push 0x419674
mov eax, dword [ebp - 4]
add eax, 0x238
mov edx, 3
call fcn.004421a8
push 0xffff
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x238]
mov dl, 1
mov eax, dword [0x423260]
call fcn.00427aac
mov dword [ebp - 0x14], eax
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x234]
call fcn.004275bc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x234]
call fcn.004275d0
push edx
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x234]
mov eax, dword [ebp - 0x14]
call fcn.00427838
mov eax, dword [ebp - 0x14]
call fcn.004412c4
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x238]
call fcn.004426b0
mov ecx, dword [ebp - 0x58]
mov edx, 0x66
mov eax, dword [ebp - 4]
call sym.Project1.exe__Fe_flashole_TfeOleControl_SetWideStringProp_qqrix17System_WideString
mov byte [ebp - 6], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x419608
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x419654
lea eax, [ebp - 0x58]
call fcn.00442554
lea eax, [ebp - 0x54]
mov edx, 4
call fcn.00441e54
lea eax, [ebp - 0x44]
call fcn.00442554
lea eax, [ebp - 0x40]
mov edx, 6
call fcn.00441e54
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00441e54
ret