Function at 0x43bb30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca49c
mov eax, dword fs:[0]
push eax
sub esp, 0x8ec
mov eax, dword [0x51fee0]
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 edi, dword [0x521340]
mov ecx, 9
lea eax, [edi + 1]
imul eax, edi
cdq
idiv ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x8e4], ebx
mov dword [ebp - 0x8f8], 0
cmp edx, 7
jne 0x43bbee
mov eax, edi
cdq
sub eax, edx
xor ecx, ecx
mov ebx, eax
sar ebx, 1
mov esi, 0x8e
mov dword [ebp - 0x8e0], ecx
mov dword [ebp - 0x8dc], ebx
test ebx, ebx
jle 0x43bbdd
mov eax, edi
cdq
and edx, 3
lea edi, [edx + eax]
sar edi, 2
xor edx, edx
test edi, edi
jle 0x43bbcc
mov eax, edx
mov ecx, edi
add esi, eax
dec eax
dec ecx
jne 0x43bbc0
mov ecx, dword [ebp - 0x8e0]
add edx, ecx
dec ebx
jne 0x43bbb8
mov ebx, dword [ebp - 0x8dc]
mov edi, dword [0x521340]
inc ecx
mov dword [ebp - 0x8e0], ecx
cmp ecx, esi
jl 0x43bba6
mov ebx, dword [ebp - 0x8e4]
mov dword [ebp - 0x8f0], 0
mov dword [ebp - 0x8ec], 0
mov dword [ebp - 0x8e8], 0
push 1
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths_firefox.exe
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x8f0]
mov dword [ebp - 4], 0
call fcn.0040bf80
test eax, eax
je 0x43be00
lea eax, [ebp - 0x8d8]
push eax
call fcn.00433c80
add esp, 4
mov ecx, dword [ebp - 0x8d8]
or esi, 0xffffffff
cmp dword [ecx - 0xc], 0
mov byte [ebp - 4], 1
je 0x43bdb1
mov edi, dword [0x521340]
mov eax, edi
imul eax, edi
imul eax, edi
cdq
mov dword [ebp - 0x8e4], 0x13
idiv dword [ebp - 0x8e4]
cmp edx, 4
jne 0x43bcba
mov eax, 0x51eb851f
imul edi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0x64
sub edi, ecx
xor ecx, ecx
lea eax, [edi + 0x63]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a63b0
push eax
call fcn.004a8200
mov ecx, dword [ebp - 0x8d8]
add esp, 8
mov edx, dword [ecx - 0xc]
lea eax, [edx - 1]
test eax, eax
js 0x43bdf6
cmp eax, edx
jg 0x43bdf6
cmp word [ecx + eax*2], 0x5c
je 0x43bce9
push 1
push 0x4da458
lea ecx, [ebp - 0x8d8]
call fcn.0040b9f0
push str.Mozilla_Firefox_firefox.exe
lea eax, [ebp - 0x8d8]
push eax
lea eax, [ebp - 0x8d4]
push eax
call fcn.0040b790
lea eax, [ebp - 0x8d4]
push eax
mov byte [ebp - 4], 2
call fcn.00433310
add esp, 0x10
test al, al
je 0x43bd8e
mov eax, dword [ebp - 0x8d4]
add eax, 0xfffffff0
push eax
call fcn.00404880
mov edx, dword [ebp - 0x8d4]
add eax, 0x10
add edx, 0xfffffff0
or esi, 0xffffffff
mov dword [ebx], eax
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x43bd55
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x8d8]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x43bd76
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x8f0]
test ecx, ecx
je 0x43bd87
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x43c095
mov edx, dword [ebp - 0x8d4]
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43bdb1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x4d9c60
mov ecx, ebx
call fcn.00401ff0
mov edx, dword [ebp - 0x8d8]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x43bdde
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x8f0]
test eax, eax
je 0x43bd87
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x43c095
push 0x80070057
call fcn.004044c0
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
call fcn.004a8550
add esp, 0xc
call fcn.0043f200
test al, al
jne 0x43be45
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov eax, dword [0x51fab0]
mov ecx, 0x51fab0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x8e0], esi
mov edi, dword [ebp - 0x8f0]
lea eax, [ebp - 0x8d4]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x8dc]
push eax
push 0
push 0x4d9c60
push edi
mov byte [ebp - 4], 3
mov dword [ebp - 0x8d4], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov dword [ebp - 0x8d8], ebx
test ebx, ebx
jne 0x43bef4
mov eax, dword [ebp - 0x8dc]
cmp eax, 1
je 0x43beba
cmp eax, 2
je 0x43beba
mov dword [ebp - 0x8d8], 0xd
jmp 0x43bef4
mov eax, dword [ebp - 0x8d4]
test eax, eax
je 0x43bee1
test al, 1
jne 0x43bed5
shr eax, 1
cmp word [ebp + eax*2 - 0x812], 0
je 0x43beea
mov dword [ebp - 0x8d8], 0xd
jmp 0x43bef4
xor eax, eax
mov word [ebp - 0x810], ax
mov dword [ebp - 0x8d8], 0
mov ecx, dword [0x521340]
lea eax, [ecx + 1]
imul eax, ecx
cdq
mov ecx, 7
idiv ecx
cmp edx, 1
jne 0x43bfa3
xor eax, eax
mov dword [ebp - 0x8d4], eax
lea esi, [ebp - 0x8d0]
nop
xor ecx, ecx
mov dword [ebp - 0x8f4], ecx
mov dword [ebp - 0x8dc], esi
mov edi, edi
mov esi, dword [0x521340]
lea ebx, [ecx + 1]
lea ecx, [eax + 1]
mov eax, esi
cdq
idiv ecx
mov eax, esi
mov ecx, esi
sub ecx, dword [ebp - 0x8d4]
mov esi, dword [ebp - 0x8dc]
mov edi, edx
cdq
imul edi, ecx
idiv ebx
add edi, eax
sub edi, dword [ebp - 0x8f4]
push edi
push 0x4da4e0
call fcn.004a90ce
mov eax, dword [ebp - 0x8d4]
mov ecx, ebx
add esi, 4
add esp, 8
mov dword [ebp - 0x8f4], ecx
mov dword [ebp - 0x8dc], esi
cmp ecx, 2
jl 0x43bf30
inc eax
mov dword [ebp - 0x8d4], eax
cmp eax, 0x18
jl 0x43bf20
mov esi, dword [ebp - 0x8e0]
mov edi, dword [ebp - 0x8f0]
cmp dword [ebp - 0x8d8], 0
jne 0x43bfdd
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43bfb5
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x8e0]
call fcn.004097a0
mov esi, dword [ebp - 0x8e0]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x43bff2
push edi
call ebx
xor edi, edi
mov dword [ebp - 0x8f0], edi
mov ecx, dword [esi - 0x10]
add esi, 0xfffffff0
mov eax, dword [ecx]
mov dword [ebp - 0x8ec], 0
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
mov ecx, eax
jl 0x43c023
cmp ecx, dword [esi]
jne 0x43c023
mov edi, esi
mov eax, 1
lock xadd dword [edx], eax
jmp 0x43c060
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov edi, eax
test edi, edi
jne 0x43c037
call fcn.0040c350
mov eax, dword [esi + 4]
mov dword [edi + 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, [edi + 0x10]
push eax
call fcn.004a8205
add esp, 0x10
lea eax, [edi + 0x10]
mov edi, dword [ebp - 0x8e4]
mov byte [ebp - 4], 0
mov dword [edi], eax
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43c086
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x8f0]
test eax, eax
je 0x43c093
push eax
call ebx
mov eax, edi
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.004a7434
mov esp, ebp
pop ebp
ret