Function at 0x40e6b0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x57bf21
push eax
mov dword fs:[0], esp
sub esp, 0x138
push ebp
lea ebp, [ecx + 0x50]
push 0xffffffffffffffff
push 0
mov ecx, ebp
call fcn.00463e80
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push str.SOFTWAREFullCircleTalkBack
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40e712
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
add esp, 0x144
ret
push 0
push 0
mov eax, dword [esp + 0xc]
push 0
push 0
push 0
lea ecx, [esp + 0x48]
push 0
lea edx, [esp + 0x48]
push ecx
push edx
push 0
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x40e760
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
add esp, 0x144
ret
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x40e78b
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
add esp, 0x144
ret
mov eax, dword [0x639ad4]
push ebx
push esi
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x150], 0
mov dword [esp + 0x20], 0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x44]
push 0x104
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edi, eax
test edi, edi
mov dword [esp + 0x34], edi
jne 0x40ea7c
lea ecx, [esp + 0x44]
lea edx, [esp + 0x14]
push ecx
push str.SOFTWAREFullCircleTalkBack_s
push edx
call fcn.00562ecb
mov ecx, dword [esp + 0x20]
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push 0x20019
push edi
push ecx
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40ea7c
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x2c]
lea eax, [esp + 0x44]
push edx
push eax
push edi
push edi
push str.Mozilla.exe
push ecx
mov dword [esp + 0x44], 0x104
call esi
test eax, eax
jne 0x40e8b0
lea edx, [esp + 0x44]
push 0x5c
push edx
call fcn.0054dff0
add esp, 8
test eax, eax
je 0x40e84d
mov byte [eax + 1], 0
mov eax, dword [0x639ad4]
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x44]
push str.Plugins_
push ecx
lea edx, [esp + 0x30]
push 0x615f14
push edx
mov byte [esp + 0x160], 1
call fcn.00562ecb
mov esi, dword [ebp + 8]
add esp, 0x10
mov ecx, ebp
lea eax, [esi + 1]
push 0xffffffffffffffff
push eax
call fcn.00463e80
mov edx, dword [ebp + 4]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [edx + esi*4]
call fcn.0056a239
lea ecx, [esp + 0x28]
mov byte [esp + 0x150], 0
call fcn.0056a100
jmp 0x40ea71
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x44]
push eax
push ecx
push 0
push 0
push str.MozillaFirebird.exe
push edx
call esi
test eax, eax
jne 0x40ea71
lea eax, [esp + 0x44]
push 0x5c
push eax
call fcn.0054dff0
add esp, 8
test eax, eax
je 0x40e8e9
mov byte [eax + 1], 0
mov ecx, dword [0x639ad4]
mov dword [esp + 0x24], ecx
lea edx, [esp + 0x44]
push str.Plugins_
push edx
lea eax, [esp + 0x2c]
push 0x615f14
push eax
mov byte [esp + 0x160], 2
call fcn.00562ecb
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 4]
mov edi, ecx
xor esi, esi
add esp, 0x10
mov dword [esp + 0x30], edi
lea ebx, [edi + 1]
cmp ebx, esi
jne 0x40e951
cmp eax, esi
je 0x40e946
push ecx
push eax
call fcn.00562f58
mov eax, dword [ebp + 4]
push eax
call fcn.005664c5
add esp, 4
mov dword [ebp + 4], esi
mov dword [ebp + 0xc], esi
mov dword [ebp + 8], esi
jmp 0x40ea4c
cmp eax, esi
jne 0x40e97a
lea ecx, [ebx*4]
push ecx
call fcn.0056649c
add esp, 4
mov dword [ebp + 4], eax
push ebx
push eax
call fcn.00562f2a
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], ebx
jmp 0x40ea4c
mov esi, dword [ebp + 0xc]
cmp ebx, esi
jg 0x40e9b1
cmp ecx, ebx
jge 0x40e99b
mov edx, ebx
lea eax, [eax + ecx*4]
sub edx, ecx
push edx
push eax
call fcn.00562f2a
mov dword [ebp + 8], ebx
jmp 0x40ea4c
jle 0x40e9a9
sub ecx, ebx
push ecx
lea ecx, [eax + ebx*4]
push ecx
call fcn.00562f58
mov dword [ebp + 8], ebx
jmp 0x40ea4c
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x40e9db
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x40e9cf
mov eax, 4
jmp 0x40e9db
cmp eax, 0x400
jle 0x40e9db
mov eax, 0x400
add eax, esi
cmp ebx, eax
mov dword [esp + 0x1c], eax
jl 0x40e9e9
mov dword [esp + 0x1c], ebx
mov edx, dword [esp + 0x1c]
lea eax, [edx*4]
push eax
call fcn.0056649c
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 4]
shl ecx, 2
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, ebx
and ecx, 3
add esp, 4
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x38], eax
sub edx, ecx
lea eax, [eax + ecx*4]
push edx
push eax
call fcn.00562f2a
mov eax, dword [ebp + 4]
push eax
call fcn.005664c5
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x34]
add esp, 4
mov dword [ebp + 4], ecx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], edx
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x24]
push eax
lea ecx, [ecx + edi*4]
call fcn.0056a239
lea ecx, [esp + 0x24]
mov byte [esp + 0x150], 0
call fcn.0056a100
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20]
inc ecx
test edi, edi
mov dword [esp + 0x20], ecx
je 0x40e7aa
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x14]
mov dword [esp + 0x150], 0xffffffff
call fcn.0056a100
mov ecx, dword [esp + 0x148]
pop edi
pop esi
pop ebx
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x144
ret