Function at 0x94f160
Capabilities:
Persist via run registry key
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x548
mov eax, dword [0xb196ec]
xor eax, esp
mov dword [esp + 0x544], eax
mov eax, dword [ebp + 8]
push ebx
push edi
xor ebx, ebx
mov edi, ecx
push 0x103
lea ecx, [esp + 0x25]
push ebx
push ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov byte [esp + 0x2c], bl
call fcn.00a7ffb0
add esp, 0xc
push 0x103
lea edx, [esp + 0x33d]
push ebx
push edx
mov byte [esp + 0x344], bl
call fcn.00a7ffb0
add esp, 0xc
push 0x103
lea eax, [esp + 0x235]
push ebx
push eax
mov byte [esp + 0x23c], bl
call fcn.00a7ffb0
add esp, 0xc
push 0x103
lea ecx, [esp + 0x445]
push ebx
push ecx
mov byte [esp + 0x44c], bl
call fcn.00a7ffb0
mov byte [edi], bl
mov edi, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 8], ebx
mov dword [esp + 0x1c], ebx
mov byte [esi], bl
cmp edi, ebx
je 0x94f217
mov dword [edi], ebx
lea edx, [esp + 0xc]
push edx
push 0x20019
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x94f24e
xor eax, eax
pop edi
pop ebx
mov ecx, dword [esp + 0x544]
xor ecx, esp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
push ecx
push ebx
push ebx
push str.AppData
push edx
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp byte [esp + 0x20], bl
jne 0x94f290
push 0x1a
lea ecx, [esp + 0x24]
call fcn.00974420
add esp, 4
cmp byte [esp + 0x20], bl
je 0x94f44c
push 1
lea eax, [esp + 0x24]
push eax
call fcn.00977760
lea ecx, [esp + 0x20]
call fcn.00960910
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x33c]
push str._sMozilla_firefoxprofiles.ini
push edx
call fcn.00a78f30
add esp, 0xc
push 1
push ebx
xor edx, edx
lea ecx, [esp + 0x340]
call fcn.0095a0f0
add esp, 8
test eax, eax
jne 0x94f44c
lea eax, [esp + 0x338]
push eax
push 0x104
lea ecx, [esp + 0x448]
push ecx
push 0xaa1543
push 0xae906c
push str.Profile0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esp + 0x440], bl
je 0x94f44c
lea edx, [esp + 0x440]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x238]
push str._sMozilla_firefox_sprefs.js
push ecx
call fcn.00a78f30
push 0xaa1564
lea edx, [esp + 0x244]
push 0xaa1560
push edx
call fcn.0095e130
add esp, 0x1c
push 1
push ebx
xor edx, edx
lea ecx, [esp + 0x238]
call fcn.0095a0f0
add esp, 8
test eax, eax
jne 0x94f44c
lea ecx, [esp + 8]
lea edx, [esp + 0x230]
call fcn.00978190
test eax, eax
je 0x94f44c
mov eax, dword [esp + 8]
cmp byte [eax], bl
je 0x94f44c
cmp edi, ebx
je 0x94f3d5
push 0x103
lea ecx, [esp + 0x12d]
push ebx
push ecx
mov byte [esp + 0x134], bl
call fcn.00a7ffb0
mov ecx, dword [esp + 0x14]
add esp, 0xc
lea edx, [esp + 0x128]
push edx
mov edi, str.network.proxy.type
call fcn.0094f060
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp byte [esp + 0x128], 0x31
sete al
mov dword [ecx], eax
mov ecx, dword [esp + 8]
push esi
mov edi, str.network.proxy.http
call fcn.0094f060
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 8]
push edx
mov edi, str.network.proxy.http_port
call fcn.0094f060
cmp byte [esi], bl
je 0x94f44c
mov eax, dword [esp + 0x14]
cmp byte [eax], bl
je 0x94f44c
push 0x103
lea ecx, [esp + 0x12d]
push ebx
push ecx
mov byte [esp + 0x134], bl
call fcn.00a7ffb0
add esp, 0xc
lea ebx, [esp + 0x128]
mov ecx, esi
mov dword [esp + 0x10], 1
call fcn.0098b030
cmp byte [esp + 0x128], 0
je 0x94f44a
mov edx, ebx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor ebx, ebx
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x94f45f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x94f470
push eax
call fcn.00a78fec
add esp, 4
mov ecx, dword [esp + 0x54c]
mov eax, dword [esp + 0x10]
pop edi
pop ebx
xor ecx, esp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret 4