Function at 0x43ddd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60fb80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x70]
or ecx, 0xffffffff
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov edx, dword [eax + 0x13c]
xor eax, eax
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x43dfca
push 0x5c
push edx
call fcn.005df0e0
mov esi, eax
add esp, 8
test esi, esi
je 0x43de29
inc esi
jmp 0x43de32
mov ecx, dword [ebx + 0x70]
mov esi, dword [ecx + 0x13c]
push 0x6c0004
push esi
call fcn.005de4a0
add esp, 8
test eax, eax
jne 0x43e059
mov eax, dword [ebx + 0x70]
test dword [eax + 0x16c], 0x100000
jne 0x43dfca
mov eax, dword [eax + 0x194]
push 0x6bfff8
push eax
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x11], 0
call fcn.005de210
add esp, 8
test eax, eax
je 0x43deb4
lea edx, [ebp - 0x1c]
add eax, 8
push edx
push 0x6bc0d4
push eax
call fcn.005de570
add esp, 0xc
cmp eax, 1
jne 0x43deb4
cmp dword [ebp - 0x1c], 7
jle 0x43dea5
mov dword [ebp - 0x18], 1
mov ebx, dword [ebp + 8]
cmp ebx, 1
jle 0x43deb7
mov al, 1
jmp 0x43dfee
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x24]
push eax
mov eax, dword [0x6ec5c0]
lea edx, [ebp - 0x20]
push ecx
push edx
push 0x6bffec
push eax
call fcn.005de570
add esp, 0x14
cmp eax, 3
jne 0x43df60
lea ecx, [ebp + 8]
push ecx
call fcn.005f383a
push 0
lea ecx, [ebp + 8]
call fcn.005f384d
mov esi, dword [eax + 0x10]
push 0
lea ecx, [ebp + 8]
inc esi
call fcn.005f384d
mov edi, dword [eax + 0xc]
push 0
lea ecx, [ebp + 8]
call fcn.005f384d
mov eax, dword [eax + 0x14]
add eax, 0x76c
lea edx, [eax + eax*8]
lea eax, [eax + edx*8]
lea eax, [eax + eax*4]
mov ecx, eax
mov eax, dword [ebp - 0x1c]
lea edx, [eax + eax*8]
lea eax, [eax + edx*8]
mov edx, esi
shl edx, 4
lea eax, [eax + eax*4]
sub edx, esi
sub ecx, eax
mov eax, dword [ebp - 0x20]
lea ecx, [ecx + edx*2]
mov edx, eax
shl edx, 4
sub edx, eax
shl edx, 1
sub ecx, edx
mov edx, dword [ebp - 0x24]
sub ecx, edx
lea eax, [ecx + edi - 0xb2390]
cmp eax, 0x2d
jbe 0x43df60
mov byte [ebp - 0x11], 1
jmp 0x43dfeb
mov eax, dword [0x6e7b6c]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 1
test eax, eax
mov eax, 0x6bfd60
jne 0x43df7d
mov eax, 0x6bfd0c
push ebx
push eax
lea ecx, [ebp + 8]
push 0x6bfd04
push ecx
call fcn.005f368b
mov ecx, dword [ebp + 8]
add esp, 0x10
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x20]
push edx
mov edx, dword [0x6ec7a0]
push eax
push 0
push 0
push ecx
push edx
mov dword [ebp - 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43dfdf
cmp dword [ebp - 0x20], 1
jne 0x43dfdf
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.005fa859
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call fcn.005fa859
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x43e027
test al, al
je 0x43dffc
or ebx, 8
push 0
push 0
push 0
push 0
push ebx
push 0x4390b0
call fcn.005fae57
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
test al, al
je 0x43e02e
or ebx, 8
push 0
push 0
push 0
push 0
push ebx
push 0x439080
call fcn.005fae57
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xa
push 0x6bffe0
push esi
call fcn.005e0470
add esp, 0xc
test eax, eax
jne 0x43dfca
mov esi, dword [ebp + 8]
cmp esi, 1
setg al
test al, al
jne 0x43e0e4
mov eax, dword [0x6e7b6c]
mov dword [ebp - 0x18], eax
push esi
lea ecx, [ebp - 0x18]
push 0x6bffcc
push ecx
mov byte [ebp - 4], 2
call fcn.005f368b
mov ecx, dword [ebp - 0x18]
add esp, 0xc
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x2c]
push edx
mov edx, dword [0x6ec7a0]
push eax
push 0
push 0
push ecx
push edx
mov dword [ebp - 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43e0d6
cmp dword [ebp - 0x2c], 1
jne 0x43e0d6
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
jmp 0x43dfc5
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.005fa859
jmp 0x43e0e7
or esi, 8
push 0
push 0
push 0
push 0
push esi
push 0x4390e0
call fcn.005fae57
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4