Function at 0x10086050
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10087c60
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x100a5688]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x88], ecx
mov eax, dword [0x100a55e8]
mov ecx, 0x100a55e8
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x37], 0x6e657272
mov word [ebp - 0x4f], 0x5241
mov dword [ebp - 0x25], 0x6c6c6174
mov word [ebp - 0x27], 0x736e
mov dword [ebp - 0x3f], 0x776f646e
mov word [ebp - 0x46], 0x6f73
mov dword [ebp - 0x3b], 0x75435c73
mov word [ebp - 0x4c], 0x4d5c
mov dword [ebp - 0x54], 0x54464f53
mov dword [ebp - 0x2e], 0x5c6e6f69
mov word [ebp - 0x2a], 0x6e55
mov word [ebp - 0x49], 0x7263
mov word [ebp - 0x33], 0x5674
mov word [ebp - 0x41], 0x6957
mov byte [ebp - 0x4d], 0x45
mov byte [ebp - 0x28], 0x69
mov word [ebp - 0x30], 0x7372
mov byte [ebp - 0x4a], 0x69
mov word [ebp - 0x44], 0x7466
mov byte [ebp - 0x21], 0
mov byte [ebp - 0x42], 0x5c
mov byte [ebp - 0x47], 0x6f
mov byte [ebp - 0x31], 0x65
mov byte [ebp - 0x50], 0x57
mov word [ebp - 0x15], 0x6974
mov word [ebp - 0x12], 0x6e
mov dword [ebp - 0x20], 0x74736e49
mov dword [ebp - 0x1c], 0x4c6c6c61
mov word [ebp - 0x17], 0x6163
mov byte [ebp - 0x18], 0x6f
mov byte [ebp - 0x13], 0x6f
mov dword [ebp - 0x90], 0x200
mov dword [ebp - 0x8c], 0x100
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x64], edi
xor eax, eax
mov ecx, str.Mozilla_Firefox
shr ecx, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x80], ecx
lea ebx, [ebx]
mov eax, dword [ebp + eax*4 - 0x90]
lea ecx, [ebp - 0x6c]
push ecx
or eax, 0x20019
push eax
push 0
lea eax, [ebp - 0x54]
push eax
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x6c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edx, dword [0x100a55e8]
mov ecx, 0x100a55e8
mov dword [ebp - 0x5c], eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x70], esi
mov byte [ebp - 4], 1
mov eax, dword [0x100a55e8]
mov ecx, 0x100a55e8
mov dword [ebp - 0x68], 0
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x60], ebx
cmp dword [ebp - 0x80], 0
mov byte [ebp - 4], 2
jne 0x10086213
mov eax, str.Mozilla_Firefox
movzx eax, ax
push 0
push eax
call fcn.10004ce0
add esp, 8
test eax, eax
je 0x10086225
mov edx, str.Mozilla_Firefox
movzx ecx, dx
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.10004990
jmp 0x10086222
push 0xf
push str.Mozilla_Firefox
lea ecx, [ebp - 0x60]
call fcn.10004a50
mov ebx, dword [ebp - 0x60]
cmp dword [ebp - 0x5c], 0
mov byte [ebp - 4], 3
jne 0x1008635e
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x10086257
push 0x104
lea ecx, [ebp - 0x70]
call fcn.10005090
mov esi, dword [ebp - 0x70]
push 0x104
push esi
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
push dword [esi - 8]
inc dword [ebp - 0x68]
push esi
mov dword [ebp - 0x5c], eax
call fcn.1005972b
add esp, 8
test eax, eax
js 0x100863b4
cmp eax, dword [esi - 8]
jg 0x100863b4
cmp dword [ebp - 0x5c], 0
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
jne 0x1008635e
push dword [ebx - 0xc]
lea eax, [ebp - 0x84]
push 0
push eax
lea ecx, [ebp - 0x70]
call fcn.1000a7b0
push ebx
push dword [eax]
call fcn.1005aaac
mov edx, dword [ebp - 0x84]
add esp, 8
test eax, eax
sete byte [ebp - 0x55]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100862e2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x55], 0
je 0x10086233
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x78], 0x104
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x104
or eax, ecx
jge 0x1008631e
push 0x104
lea ecx, [ebp - 0x64]
call fcn.10005090
mov edi, dword [ebp - 0x64]
lea eax, [ebp - 0x78]
push eax
push edi
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x20]
push eax
push esi
push dword [ebp - 0x6c]
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
push dword [edi - 8]
mov dword [ebp - 0x5c], eax
push edi
call fcn.1005972b
add esp, 8
test eax, eax
js 0x100863b4
cmp eax, dword [edi - 8]
jg 0x100863b4
cmp dword [ebp - 0x5c], 0
mov dword [edi - 0xc], eax
mov byte [eax + edi], 0
jne 0x10086233
add ebx, 0xfffffff0
mov byte [ebp - 4], 1
or ecx, 0xffffffff
cmp dword [edi - 0xc], 0
lea eax, [ebx + 0xc]
jne 0x100863be
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10086382
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
or ebx, 0xffffffff
mov byte [ebp - 4], 0
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100863a2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp eax, 2
jl 0x10086180
jmp 0x100863ef
push 0x80070057
call fcn.10005160
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100863cf
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
or ebx, 0xffffffff
mov byte [ebp - 4], 0
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100863ef
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [edi - 0xc], 0
je 0x10086409
lea eax, [ebp - 0x64]
push str._firefox.exe
push eax
call fcn.10004b90
mov edi, dword [ebp - 0x64]
add esp, 8
mov ecx, dword [edi - 0x10]
add edi, 0xfffffff0
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
mov ecx, eax
lea eax, [edi + 0xc]
jl 0x10086430
cmp ecx, dword [edi]
jne 0x10086430
mov esi, edi
mov ecx, 1
lock xadd dword [eax], ecx
jmp 0x10086460
mov eax, dword [ecx]
push 1
push dword [edi + 4]
call dword [eax]
mov esi, eax
test esi, esi
jne 0x10086444
call fcn.10005040
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov ecx, dword [edi + 4]
inc ecx
push ecx
lea eax, [edi + 0x10]
push eax
push ecx
lea eax, [esi + 0x10]
push eax
call fcn.10059484
add esp, 0x10
lea eax, [esi + 0x10]
mov esi, dword [ebp - 0x88]
mov dword [ebp - 4], 0xffffffff
mov dword [esi], eax
lea eax, [edi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x10086486
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005ae75
mov esp, ebp
pop ebp
ret