Function at 0x401dd0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4096bd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x15c
mov eax, dword [0x40c118]
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x164], eax
mov eax, dword [esp + 0x178]
mov dword [esi + 0x104], eax
push edi
mov dword [esp + 0x34], esi
mov dword [esi + 0x10c], 0
lea ebp, [esi + 0x110]
mov dword [esp + 0x174], 0
mov dword [ebp], 0
lea ebx, [esi + 0x114]
mov dword [ebx], 0
lea edi, [esi + 0x118]
mov dword [edi], 0
push 0x18
mov byte [esp + 0x178], 3
call fcn.004025d4
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x174], 4
je 0x401e7f
mov ecx, dword [esp + 0x17c]
push ecx
mov ecx, eax
call fcn.00402550
mov dword [esp + 0x10], eax
jmp 0x401e8b
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
test ebx, ebx
mov byte [esp + 0x174], 3
mov dword [esi + 0x108], eax
je 0x401ebd
test eax, eax
je 0x401eab
mov edx, dword [eax]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx]
test ecx, ecx
je 0x401ebb
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0x10]
mov dword [ebx], eax
lea eax, [esi + 0x10c]
push eax
push 0x40a3a4
push 0
push 1
push 0x40a394
call dword [sym.imp.ole32.dll_CoGetClassObject]
test eax, eax
jl 0x4020c1
mov eax, dword [esi + 0x10c]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x10]
mov eax, dword [esi + 0x10c]
mov edx, dword [eax]
push ebp
push 0x40a384
push 0
push eax
call dword [edx + 0xc]
test eax, eax
jl 0x4020c1
mov ecx, dword [ebx]
mov eax, dword [ebp]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0xc]
test eax, eax
jl 0x4020c1
mov eax, dword [ebp]
push 1
push eax
call dword [sym.imp.ole32.dll_OleSetContainedObject]
test eax, eax
jl 0x4020c1
mov ecx, dword [ebx]
mov eax, dword [ebp]
mov edx, dword [eax]
lea ebx, [esp + 0x24]
push ebx
mov ebx, dword [esp + 0x180]
push ebx
push 0
push ecx
push 0
push 0xffffffffffffffff
push eax
call dword [edx + 0x2c]
test eax, eax
jl 0x4020c1
mov ebp, dword [ebp]
mov eax, dword [ebp]
push edi
push 0x40a374
push ebp
call dword [eax]
test eax, eax
jl 0x4020c1
lea ecx, [esp + 0x64]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push esi
push 0
push 0x40a370
lea edx, [esp + 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], 0
mov byte [esp + 0x4c], 0
push str._html__frameset_cols___BORDER_0__NORESIZE__r_n
lea ecx, [esp + 0x4c]
mov byte [esp + 0x178], 5
call fcn.00401da0
push str._frame_src_
lea ecx, [esp + 0x4c]
call fcn.00401da0
mov eax, dword [esp + 0x180]
push eax
lea ecx, [esp + 0x4c]
call fcn.00401da0
push str.__NORESIZE_FRAMEBORDER_0__SCROLLING_no__MARGINHEIGHT_0__MARGINWIDTH_0___r_n
lea ecx, [esp + 0x4c]
call fcn.00401da0
push str.__frameset___html_
lea ecx, [esp + 0x4c]
call fcn.00401da0
push 0x40a1ec
push esi
call fcn.00402ee9
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x402033
cmp dword [esp + 0x60], 0x10
mov eax, dword [esp + 0x4c]
jae 0x40201c
lea eax, [esp + 0x4c]
mov ecx, dword [esp + 0x5c]
push ebp
push ecx
push 1
push eax
call fcn.00402db8
push ebp
call fcn.00402d62
add esp, 0x14
lea edx, [esp + 0x24]
push edx
push ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [edi]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x58]
mov eax, dword [edi]
mov edx, dword [eax]
push 0
push eax
call dword [edx + 0x60]
mov edx, dword [esp + 0x2c]
mov eax, dword [edi]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x68]
mov edx, dword [esp + 0x30]
mov eax, dword [edi]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x70]
push esi
lea ecx, [esp + 0x14]
mov word [esp + 0x3c], 8
call fcn.00401850
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
push ecx
mov dword [esp + 0x44], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edi, dword [edi]
lea eax, [esp + 0x14]
push eax
mov ecx, eax
push ecx
push eax
push ecx
lea eax, [esp + 0x48]
push eax
mov word [esp + 0x28], 3
mov dword [esp + 0x30], 0
mov edx, dword [edi]
push edi
call dword [edx + 0xd0]
lea ecx, [esp + 0x48]
call fcn.00401aa0
mov ecx, dword [esp + 0x16c]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x15c]
pop ebx
call fcn.00402b55
add esp, 0x168
ret 8