Function at 0x4413b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dadb6
mov eax, dword fs:[0]
push eax
sub esp, 0x824
mov eax, dword [0x540c80]
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 ebx, ecx
mov dword [ebp - 0x82c], 0
mov dword [ebp - 0x830], ebx
mov dword [ebp - 0x824], 0
mov dword [ebp - 0x820], 0
mov dword [ebp - 0x81c], 0
mov dword [ebp - 4], 1
mov ecx, dword [0x545d90]
mov esi, 0x12
lea eax, [ecx + 1]
imul eax, ecx
cdq
idiv esi
cmp edx, 9
jne 0x441481
movsd xmm3, qword [0x528e10]
movsd xmm6, qword [0x528e38]
movsd xmm5, qword [0x528e08]
movd xmm4, ecx
xorps xmm2, xmm2
cvtdq2pd xmm4, xmm4
addsd xmm2, xmm3
movapd xmm0, xmm2
mulsd xmm0, xmm2
comisd xmm0, xmm4
jbe 0x44146b
subsd xmm2, xmm3
divsd xmm3, xmm6
movapd xmm1, xmm2
mulsd xmm1, xmm2
movapd xmm0, xmm4
subsd xmm0, xmm1
comisd xmm0, xmm5
ja 0x441451
push 1
push 0x525cb8
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x824]
call fcn.00419460
mov esi, dword [0x545d90]
mov edi, eax
lea ecx, [esi + 2]
lea eax, [esi + 1]
imul eax, ecx
imul eax, esi
cdq
mov ecx, 0xf
idiv ecx
cmp edx, 2
jne 0x4414c6
call fcn.004aff67
mov esi, eax
mov dword [0x545d90], esi
test edi, edi
je 0x441665
lea ecx, [ebp - 0x814]
call fcn.00423cb0
mov byte [ebp - 4], 2
call fcn.0043f3d0
test al, al
jne 0x4414f9
push 4
call fcn.004afe4a
mov ecx, eax
mov eax, dword [0x545d90]
add esp, 4
mov dword [ecx], eax
mov eax, dword [ebp - 0x814]
or esi, 0xffffffff
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x44160c
lea edx, [ecx - 1]
test edx, edx
js 0x44165b
cmp edx, ecx
jg 0x44165b
cmp word [eax + edx*2], 0x5c
je 0x441539
push 1
push 0x525b04
lea ecx, [ebp - 0x814]
call fcn.0040fe40
push str.Mozilla_Firefox_firefox.exe
lea edx, [ebp - 0x814]
lea ecx, [ebp - 0x818]
call fcn.00418660
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x818]
call fcn.00423eb0
test al, al
je 0x4415e9
mov ecx, dword [ebp - 0x818]
lea ecx, [ecx - 0x10]
call fcn.004028c0
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x82c], 1
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x818]
add edx, 0xfffffff0
or esi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4415b0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x814]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x4415d1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x824]
test ecx, ecx
je 0x441862
push ecx
jmp 0x441852
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x818]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44160c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x525b8c
mov ecx, ebx
call fcn.004025a0
mov dword [ebp - 0x82c], 1
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x814]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x441643
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x824]
test eax, eax
je 0x441862
push eax
jmp 0x441852
push 0x80070057
call fcn.00401a60
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
call fcn.004b4a90
lea ecx, [esi + 1]
lea eax, [esi + 2]
imul eax, ecx
imul eax, esi
cdq
mov ecx, 0x14
idiv ecx
add esp, 0xc
cmp edx, 0x11
jne 0x4416d6
push 0x28
call fcn.004aed89
add esp, 4
mov edi, eax
xor esi, esi
lea ebx, [ebx]
call fcn.004aff67
add eax, dword [0x545d90]
inc esi
mov dword [edi + esi*4 - 4], eax
cmp esi, 0xa
jl 0x4416b0
mov eax, dword [edi + 0x24]
push edi
mov dword [0x545d90], eax
call fcn.004afe1b
add esp, 4
mov eax, dword [0x5406d8]
mov ecx, 0x5406d8
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x814], esi
mov byte [ebp - 4], 0xa
mov edi, dword [ebp - 0x824]
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x828]
push eax
push 0
push 0x525be4
push edi
mov dword [ebp - 0x818], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44178e
mov eax, dword [ebp - 0x828]
cmp eax, 1
je 0x441737
cmp eax, 2
jne 0x44178e
mov eax, dword [ebp - 0x818]
test eax, eax
je 0x441754
test al, 1
jne 0x44178e
shr eax, 1
cmp word [ebp + eax*2 - 0x812], 0
je 0x44175d
jmp 0x44178e
xor eax, eax
mov word [ebp - 0x810], ax
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x441766
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x814]
call fcn.00402790
mov esi, dword [ebp - 0x814]
test edi, edi
je 0x4417a1
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov dword [ebp - 0x824], edi
mov ecx, dword [esi - 0x10]
add esi, 0xfffffff0
mov eax, dword [ecx]
mov dword [ebp - 0x820], 0
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
mov ecx, eax
jl 0x4417d2
cmp ecx, dword [esi]
jne 0x4417d2
mov ecx, esi
mov eax, 1
lock xadd dword [edx], eax
jmp 0x44181b
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov edx, eax
mov dword [ebp - 0x828], edx
test edx, edx
jne 0x4417ec
call fcn.00402930
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov ecx, dword [esi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
call fcn.004aff8a
mov ecx, dword [ebp - 0x828]
add esp, 0x10
lea eax, [ecx + 0x10]
mov dword [ebx], eax
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x82c], 1
mov byte [ebp - 4], 1
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x441849
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
test edi, edi
je 0x441862
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x824], 0
mov dword [ebp - 0x820], 0
mov eax, ebx
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.004af5ba
mov esp, ebp
pop ebp
ret