Function at 0x419573
Capabilities:
Query environment variable
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x1970]
mov eax, 0x1970
call fcn.0042f760
push 0xffffffffffffffff
push 0x44a412
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x469930]
xor eax, ebp
mov dword [ebp + 0x196c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x1978]
mov dword [ebp - 0x18], eax
mov esi, 0x104
push esi
lea eax, [ebp + 0x1000]
push eax
push 0x450614
mov dword [ebp - 0x14], ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x419617
push str.CDownloader::GetFirefoxProxySettings__failed_Expand_Environment_Strings_USERPROFILE
push 0xfffffe09
push dword [ebp - 0x14]
call fcn.00418ef0
add esp, 0xc
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x196c]
xor ecx, ebp
call fcn.0042d9aa
add ebp, 0x1970
leave
ret 4
push str.Application_DataMozillaFirefoxprofiles.ini
lea eax, [ebp + 0x1000]
push eax
lea eax, [ebp + 0x1410]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp + 0x1410]
push eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0x1618]
push eax
mov ebx, 0x459a14
push ebx
push str.Path
mov edi, str.Profile0
push edi
call esi
lea eax, [ebp + 0x1410]
push eax
push 2
lea eax, [ebp - 0x20]
push eax
push ebx
push str.IsRelative
push edi
call esi
lea eax, [ebp - 0x20]
push eax
call fcn.0042fbdd
cmp eax, 1
pop ecx
jne 0x41970f
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp + 0x1618]
push eax
xor ebx, ebx
call esi
test eax, eax
jle 0x4196d0
lea edi, [ebp + 0x1618]
push 1
push 0x4511f4
push edi
call fcn.0043151a
add esp, 0xc
test eax, eax
jne 0x4196c0
push 1
push 0x459f50
push edi
call fcn.0043075b
add esp, 0xc
lea eax, [ebp + 0x1618]
inc ebx
inc edi
push eax
inc edi
call esi
cmp ebx, eax
jl 0x41969c
lea eax, [ebp + 0x1410]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp + 0x1618]
push eax
lea eax, [ebp + 0x1410]
push eax
lea eax, [ebp + 0x1208]
push eax
call esi
push 0x4535c8
lea eax, [ebp + 0x1208]
push eax
lea eax, [ebp + 0x1618]
push eax
call esi
and dword [ebp - 4], 0
lea eax, [ebp + 0x1618]
push 0x4535c4
push eax
call fcn.004319ad
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x1c], eax
je 0x419915
push 0x10
pop ecx
mov esi, str.user_pref__network.proxy.http__
lea edi, [ebp + 0x186c]
rep movsd dword es:[edi], dword [esi]
push 0x13
pop ecx
xor ebx, ebx
push 0x62
movsw word es:[edi], word [esi]
lea eax, [ebp + 0x18f6]
push ebx
mov esi, str.user_pref__network.proxy.http_port__
lea edi, [ebp + 0x1820]
push eax
rep movsd dword es:[edi], dword [esi]
mov word [ebp + 0x18f4], bx
call fcn.0042d110
add esp, 0xc
push 0x10
pop ecx
mov esi, str.user_pref__network.proxy.type__
lea edi, [ebp + 0x18b0]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [ebp + 0x1958], 0x30
xor eax, eax
lea edi, [ebp + 0x195c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov esi, 0x4534e0
push dword [ebp - 0x1c]
lea eax, [ebp]
push 0x800
push eax
call fcn.00431828
add esp, 0xc
test eax, eax
je 0x4198a9
lea eax, [ebp + 0x186c]
push eax
call fcn.0042d994
mov edi, eax
push edi
lea eax, [ebp + 0x186c]
push eax
lea eax, [ebp]
push eax
call fcn.00430798
add esp, 0x10
test eax, eax
jne 0x419800
lea eax, [ebp + edi*2 + 2]
mov edi, dword [ebp - 0x18]
push eax
push edi
call fcn.0042fa84
push 0x451aac
push edi
call fcn.004317e6
and word [edi + eax*2], 0
jmp 0x41989c
lea eax, [ebp + 0x1820]
push eax
call fcn.0042d994
mov edi, eax
push edi
lea eax, [ebp + 0x1820]
push eax
lea eax, [ebp]
push eax
call fcn.00430798
add esp, 0x10
test eax, eax
jne 0x41984f
lea eax, [ebp + edi*2]
push eax
lea eax, [ebp + 0x18f4]
push eax
call fcn.0042fa84
lea eax, [ebp + 0x18f4]
push esi
push eax
call fcn.004317e6
and word [ebp + eax*2 + 0x18f4], 0
jmp 0x41989c
lea eax, [ebp + 0x18b0]
push eax
call fcn.0042d994
mov edi, eax
push edi
lea eax, [ebp + 0x18b0]
push eax
lea eax, [ebp]
push eax
call fcn.00430798
add esp, 0x10
test eax, eax
jne 0x4198a0
lea eax, [ebp + edi*2]
push eax
lea eax, [ebp + 0x1958]
push eax
call fcn.0042fa84
lea eax, [ebp + 0x1958]
push esi
push eax
call fcn.004317e6
and word [ebp + eax*2 + 0x1958], 0
add esp, 0x10
inc ebx
cmp ebx, 3
jne 0x41979b
push dword [ebp - 0x1c]
call fcn.0043176a
lea eax, [ebp + 0x1958]
push eax
call fcn.0042fbdd
test eax, eax
pop ecx
pop ecx
jne 0x4198cc
mov eax, dword [ebp - 0x18]
and word [eax], 0
jmp 0x41990e
cmp eax, 1
jne 0x4195f0
mov edi, dword [ebp - 0x18]
push edi
call fcn.0042d994
mov esi, eax
test esi, esi
pop ecx
je 0x41990e
lea eax, [ebp + 0x18f4]
push eax
call fcn.0042d994
test eax, eax
pop ecx
je 0x41990e
lea eax, [ebp + 0x18f4]
push eax
lea eax, [edi + esi*2]
push 0x4534d8
push eax
call fcn.0042fa84
add esp, 0xc
mov al, 1
jmp 0x4195f2
lea eax, [ebp + 0x1618]
push eax
push str.CDownloader::GetDefaultWebBrowser__failed_to_open_FireFox_configuration_settings___s__file
push 0xfffffe09
push dword [ebp - 0x14]
call fcn.00418ef0
add esp, 0x10
jmp 0x4195f0