Function at 0x43f280
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d79d6
mov eax, dword fs:[0]
push eax
mov eax, 0x100c
call fcn.004b17e0
mov eax, dword [0x539c80]
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 - 0x1014], ebx
mov dword [ebp - 0x1010], 0
mov dword [ebp - 0x1018], ebx
mov dword [ebp - 0x1008], 0
mov dword [ebp - 0x1004], 0
mov dword [ebp - 0x1000], 0
mov dword [ebp - 4], 1
push 1
push 0x51f740
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x1008]
call fcn.00418a70
test eax, eax
je 0x43f489
lea ecx, [ebp - 0xff8]
call fcn.004237e0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xff8]
or esi, 0xffffffff
mov edx, dword [eax - 0xc]
test edx, edx
je 0x43f430
lea ecx, [edx - 1]
test ecx, ecx
js 0x43f47f
cmp ecx, edx
jg 0x43f47f
cmp word [eax + ecx*2], 0x5c
je 0x43f35d
push 1
push 0x51f73c
lea ecx, [ebp - 0xff8]
call fcn.0040fda0
push str.Mozilla_Firefox_firefox.exe
lea edx, [ebp - 0xff8]
lea ecx, [ebp - 0xff4]
call fcn.00417c70
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xff4]
call fcn.00423a40
test al, al
je 0x43f40d
mov ecx, dword [ebp - 0xff4]
lea ecx, [ecx - 0x10]
call fcn.00402720
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x1010], 1
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0xff4]
add edx, 0xfffffff0
or esi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x43f3d4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xff8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x43f3f5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1008]
test ecx, ecx
je 0x43f6d9
push ecx
jmp 0x43f6c9
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0xff4]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43f430
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x51f69c
mov ecx, ebx
call fcn.00402400
mov dword [ebp - 0x1010], 1
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xff8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x43f467
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1008]
test eax, eax
je 0x43f6d9
push eax
jmp 0x43f6c9
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.004b1a50
mov eax, dword [0x5396d8]
add esp, 0xc
mov ecx, 0x5396d8
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0xff8], esi
mov byte [ebp - 4], 0xa
mov ecx, dword [0x53ed90]
mov eax, ecx
imul eax, ecx
imul eax, ecx
cdq
mov ecx, 0x12
idiv ecx
cmp edx, 0xb
jne 0x43f56d
xor eax, eax
mov dword [ebp - 0xff4], eax
lea esi, [ebp - 0xff0]
mov edi, edi
xor ecx, ecx
mov dword [ebp - 0x100c], ecx
mov dword [ebp - 0xffc], esi
mov edi, edi
mov esi, dword [0x53ed90]
lea ebx, [ecx + 1]
lea ecx, [eax + 1]
mov eax, esi
cdq
idiv ecx
mov eax, esi
mov ecx, esi
sub ecx, dword [ebp - 0xff4]
mov esi, dword [ebp - 0xffc]
mov edi, edx
cdq
imul edi, ecx
idiv ebx
add edi, eax
sub edi, dword [ebp - 0x100c]
push edi
push 0x51f6ec
call fcn.004acf3c
mov eax, dword [ebp - 0xff4]
mov ecx, ebx
add esi, 4
add esp, 8
mov dword [ebp - 0x100c], ecx
mov dword [ebp - 0xffc], esi
cmp ecx, 0x1c
jl 0x43f500
inc eax
mov dword [ebp - 0xff4], eax
cmp eax, 0x12
jl 0x43f4f0
mov esi, dword [ebp - 0xff8]
mov edi, dword [ebp - 0x1008]
lea eax, [ebp - 0xffc]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x100c]
push eax
push 0
push 0x51f848
push edi
mov dword [ebp - 0xffc], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43f60b
mov eax, dword [ebp - 0x100c]
cmp eax, 1
je 0x43f5b4
cmp eax, 2
jne 0x43f60b
mov eax, dword [ebp - 0xffc]
test eax, eax
je 0x43f5d1
test al, 1
jne 0x43f60b
shr eax, 1
cmp word [ebp + eax*2 - 0x812], 0
je 0x43f5da
jmp 0x43f60b
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 0x43f5e3
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0xff8]
call fcn.004025f0
mov esi, dword [ebp - 0xff8]
test edi, edi
je 0x43f61e
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov dword [ebp - 0x1008], edi
mov ecx, dword [esi - 0x10]
add esi, 0xfffffff0
mov eax, dword [ecx]
mov dword [ebp - 0x1004], 0
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
mov ecx, eax
jl 0x43f64f
cmp ecx, dword [esi]
jne 0x43f64f
mov ebx, esi
mov eax, 1
lock xadd dword [edx], eax
jmp 0x43f68c
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov ebx, eax
test ebx, ebx
jne 0x43f663
call fcn.00402790
mov eax, dword [esi + 4]
mov dword [ebx + 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, [ebx + 0x10]
push eax
call fcn.004ad00b
add esp, 0x10
lea eax, [ebx + 0x10]
mov ebx, dword [ebp - 0x1014]
mov dword [ebx], eax
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x1010], 1
mov byte [ebp - 4], 1
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43f6c0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
test edi, edi
je 0x43f6d9
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1008], 0
mov dword [ebp - 0x1004], 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.004ac57a
mov esp, ebp
pop ebp
ret