Function at 0x40114d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
call fcn.00402c9e
test eax, eax
jne 0x401161
leave
ret
push ebx
push esi
push edi
push 3
xor esi, esi
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push dword [0x40b830]
call dword [sym.imp.USER32.dll_SetWindowPos]
call fcn.0040236f
push eax
movzx eax, word [0x40b834]
add eax, 0xbbe
push eax
call fcn.004010b2
pop ecx
pop ecx
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x23
push 0x402
mov ebx, 0x3ed
push ebx
push dword [0x40b830]
call esi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
call edi
call fcn.00401d88
call fcn.00402062
test eax, eax
jne 0x4011ce
xor eax, eax
jmp 0x401423
push 0
push 0x2d
push 0x402
push ebx
push dword [0x40b830]
call esi
push eax
call edi
call fcn.00401d88
call fcn.00402066
test eax, eax
je 0x4011c7
push 0
push 0x41
push 0x402
push ebx
push dword [0x40b830]
call esi
push eax
call edi
call fcn.00401d88
call fcn.004026d6
test eax, eax
je 0x4011c7
push 0
push 0x64
push 0x402
push ebx
push dword [0x40b830]
call esi
push eax
call edi
call fcn.00401d88
test byte [0x40b80c], 2
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
mov ebx, 0x200
je 0x40138e
push 0x104
call fcn.004030c8
pop ecx
push 0
push 0x10
push eax
push 0
mov dword [ebp - 4], eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x401385
push 0x104
call fcn.004030c8
mov dword [esp], str.0.0.0.0
push dword [0x40b824]
mov dword [ebp - 8], eax
call fcn.00403040
test eax, eax
pop ecx
pop ecx
jne 0x40129c
push dword [0x40b81c]
jmp 0x4012a2
push dword [0x40b824]
push str.http:___s_
push dword [ebp - 8]
call fcn.00402ede
add esp, 0xc
push 0x409200
push dword [ebp - 4]
call fcn.00402f50
cmp word [0x40b808], 2
pop ecx
pop ecx
jne 0x401306
push dword [0x40b820]
push dword [ebp - 4]
call fcn.00402f50
push 0x4091fc
push dword [ebp - 4]
call fcn.00402f50
push dword [0x40b81c]
push dword [ebp - 4]
call fcn.00402f50
push 0x4091f8
push dword [ebp - 4]
call fcn.00402f50
add esp, 0x20
jmp 0x401327
test byte [0x40b80c], 4
je 0x401317
push dword [0x40b818]
jmp 0x40131d
push dword [0x40b81c]
push dword [ebp - 4]
call fcn.00402f50
pop ecx
pop ecx
push str..url
push dword [ebp - 4]
call fcn.00402f50
push dword [0x40b81c]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.004022dc
add esp, 0x14
push ebx
lea eax, [ebp - 0x208]
push eax
movzx eax, word [0x40b834]
add eax, 0xbc4
push eax
push dword [0x40b814]
call esi
push 0x40
push dword [0x40b82c]
lea eax, [ebp - 0x208]
push eax
push dword [0x40b830]
call edi
push dword [ebp - 8]
call fcn.00403038
pop ecx
push dword [ebp - 4]
call fcn.00403038
pop ecx
push ebx
lea eax, [ebp - 0x208]
push eax
movzx eax, word [0x40b834]
add eax, 0xbbd
push eax
push dword [0x40b814]
call esi
call fcn.00401b34
push eax
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x408]
push eax
call fcn.00402ede
add esp, 0xc
push 0x24
push dword [0x40b82c]
lea eax, [ebp - 0x408]
push eax
push dword [0x40b830]
call edi
cmp eax, 6
jne 0x401420
call fcn.004029d8
test eax, eax
je 0x401420
push ebx
lea eax, [ebp - 0x208]
push eax
movzx eax, word [0x40b834]
add eax, 0xbbf
push eax
push dword [0x40b814]
call esi
push 0x40
push dword [0x40b82c]
lea eax, [ebp - 0x208]
push eax
push dword [0x40b830]
call edi
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret