Function at 0x100343d0
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 [0x1017455c]
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.10116880
add esp, 0xc
push 0x103
lea edx, [esp + 0x33d]
push ebx
push edx
mov byte [esp + 0x344], bl
call fcn.10116880
add esp, 0xc
push 0x103
lea eax, [esp + 0x235]
push ebx
push eax
mov byte [esp + 0x23c], bl
call fcn.10116880
add esp, 0xc
push 0x103
lea ecx, [esp + 0x445]
push ebx
push ecx
mov byte [esp + 0x44c], bl
call fcn.10116880
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 0x10034487
mov dword [edi], ebx
lea edx, [esp + 0xc]
push edx
push 0x20019
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x100344be
xor eax, eax
pop edi
pop ebx
mov ecx, dword [esp + 0x544]
xor ecx, esp
call fcn.1010d699
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 0x10034500
push 0x1a
lea ecx, [esp + 0x24]
call fcn.10059950
add esp, 4
cmp byte [esp + 0x20], bl
je 0x100346ba
push 1
lea eax, [esp + 0x24]
push eax
call sym.EncDec.dll_IsItEnvStringType
lea ecx, [esp + 0x20]
call fcn.10049c40
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x33c]
push str._sMozilla_firefoxprofiles.ini
push edx
call fcn.1010d6a8
add esp, 0xc
push 1
push ebx
xor edx, edx
lea ecx, [esp + 0x340]
call fcn.10044660
add esp, 8
test eax, eax
jne 0x100346ba
lea eax, [esp + 0x338]
push eax
push 0x104
lea ecx, [esp + 0x448]
push ecx
push 0x1013f817
push str.Path
push str.Profile0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esp + 0x440], bl
je 0x100346ba
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.1010d6a8
push ebx
push 0x10149ea8
lea edx, [esp + 0x248]
push 0x101483c4
push edx
call fcn.10047ed0
push 1
push ebx
xor edx, edx
lea ecx, [esp + 0x258]
call fcn.10044660
add esp, 0x28
test eax, eax
jne 0x100346ba
lea ecx, [esp + 8]
lea edx, [esp + 0x230]
call fcn.1005bf90
test eax, eax
je 0x100346ba
mov eax, dword [esp + 8]
cmp byte [eax], bl
je 0x100346ba
cmp edi, ebx
je 0x10034643
push 0x103
lea ecx, [esp + 0x12d]
push ebx
push ecx
mov byte [esp + 0x134], bl
call fcn.10116880
mov ecx, dword [esp + 0x14]
add esp, 0xc
lea edx, [esp + 0x128]
push edx
mov edi, str.network.proxy.type
call fcn.100342d0
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.100342d0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 8]
push edx
mov edi, str.network.proxy.http_port
call fcn.100342d0
cmp byte [esi], bl
je 0x100346ba
mov eax, dword [esp + 0x14]
cmp byte [eax], bl
je 0x100346ba
push 0x103
lea ecx, [esp + 0x12d]
push ebx
push ecx
mov byte [esp + 0x134], bl
call fcn.10116880
add esp, 0xc
lea ebx, [esp + 0x128]
mov ecx, esi
mov dword [esp + 0x10], 1
call fcn.1006bd80
cmp byte [esp + 0x128], 0
je 0x100346b8
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 0x100346cd
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x100346de
push eax
call fcn.1010dc10
add esp, 4
mov ecx, dword [esp + 0x54c]
mov eax, dword [esp + 0x10]
pop edi
pop ebx
xor ecx, esp
call fcn.1010d699
mov esp, ebp
pop ebp
ret 4