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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10055d10
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x100695e8]
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 [0x10069550]
mov ecx, 0x10069550
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 0x80000002
mov dword [ebp - 0x6c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edx, dword [0x10069550]
mov ecx, 0x10069550
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 [0x10069550]
mov ecx, 0x10069550
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 0x10054333
mov eax, str.Mozilla_Firefox
movzx eax, ax
push 0
push eax
call fcn.1000dc30
add esp, 8
test eax, eax
je 0x10054345
mov edx, str.Mozilla_Firefox
movzx ecx, dx
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.1000bf10
jmp 0x10054342
push 0xf
push str.Mozilla_Firefox
lea ecx, [ebp - 0x60]
call fcn.1000bfd0
mov ebx, dword [ebp - 0x60]
cmp dword [ebp - 0x5c], 0
mov byte [ebp - 4], 3
jne 0x1005447e
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x10054377
push 0x104
lea ecx, [ebp - 0x70]
call fcn.1000dfc0
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.1002569f
add esp, 8
test eax, eax
js 0x100544d4
cmp eax, dword [esi - 8]
jg 0x100544d4
cmp dword [ebp - 0x5c], 0
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
jne 0x1005447e
push dword [ebx - 0xc]
lea eax, [ebp - 0x84]
push 0
push eax
lea ecx, [ebp - 0x70]
call fcn.100145c0
push ebx
push dword [eax]
call fcn.10028a5d
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 0x10054402
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x55], 0
je 0x10054353
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 0x1005443e
push 0x104
lea ecx, [ebp - 0x64]
call fcn.1000dfc0
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.1002569f
add esp, 8
test eax, eax
js 0x100544d4
cmp eax, dword [edi - 8]
jg 0x100544d4
cmp dword [ebp - 0x5c], 0
mov dword [edi - 0xc], eax
mov byte [eax + edi], 0
jne 0x10054353
add ebx, 0xfffffff0
mov byte [ebp - 4], 1
or ecx, 0xffffffff
cmp dword [edi - 0xc], 0
lea eax, [ebx + 0xc]
jne 0x100544de
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100544a2
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 0x100544c2
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 0x100542a0
jmp 0x1005450f
push 0x80070057
call fcn.1000e050
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100544ef
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 0x1005450f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [edi - 0xc], 0
je 0x10054529
lea eax, [ebp - 0x64]
push str._firefox.exe
push eax
call fcn.1000c0f0
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 0x10054550
cmp ecx, dword [edi]
jne 0x10054550
mov esi, edi
mov ecx, 1
lock xadd dword [eax], ecx
jmp 0x10054580
mov eax, dword [ecx]
push 1
push dword [edi + 4]
call dword [eax]
mov esi, eax
test esi, esi
jne 0x10054564
call fcn.1000df70
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.100255bd
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 0x100545a6
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.10026aaf
mov esp, ebp
pop ebp
ret