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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4e0
mov eax, dword [0x1e7e4380]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 4]
xor ebx, ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [ebp + 8]
mov dword [edi + 0x1c], eax
mov eax, 1
mov dword [esi], 0x1e6f1bd0
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x3458], ebx
mov dword [esi + 0x3570], ecx
mov dword [esi + 0x24], esi
push edi
mov dword [edi + 0x18], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 0x3420]
mov ecx, 0xc
jmp 0x1e708b00
mov dword [eax - 0x18f0], ebx
mov dword [eax], ebx
add eax, 4
sub ecx, 1
jne 0x1e708b00
push 0x1b00
lea eax, [esi + 0x30]
push ecx
push eax
call sub.msvcrt.dll_memset
push 0x1a8
lea edx, [ebp - 0x4c0]
push 0
push edx
call sub.msvcrt.dll_memset
xor ebx, ebx
push ebx
lea eax, [ebp - 0x4c0]
push eax
push ebx
push ebx
mov dword [ebp - 0x4c0], 0x1a8
call fcn.1e711630
add esp, 0x28
test eax, eax
je 0x1e708c5e
jmp 0x1e708b60
mov al, byte [ebp - 0x41c]
test al, 8
jne 0x1e708c41
test al, 1
je 0x1e708c41
test al, 4
je 0x1e708c41
mov eax, dword [esi + 0x2c]
mov edx, dword [str.YUhg]
lea ecx, [eax + eax*8]
shl ecx, 6
mov dword [ecx + esi + 0x30], edx
lea eax, [ecx + esi + 0x30]
mov ecx, dword [0x1e7e4004]
mov dword [eax + 4], ecx
mov edx, dword [0x1e7e4008]
mov dword [eax + 8], edx
mov ecx, dword [0x1e7e400c]
mov dword [eax + 0xc], ecx
mov eax, dword [esi + 0x2c]
lea edx, [eax + eax*8]
shl edx, 6
add dword [edx + esi + 0x30], ebx
lea eax, [edx + esi + 0x30]
mov eax, dword [esi + 0x2c]
lea eax, [eax + eax*8]
shl eax, 6
lea ecx, [ebp - 0x4bc]
mov edi, 0x104
lea eax, [eax + esi + 0x40]
lea esp, [esp]
lea edx, [edi - 0xe5]
test edx, edx
je 0x1e708bfb
mov dl, byte [ecx]
test dl, dl
je 0x1e708bfb
mov byte [eax], dl
inc eax
inc ecx
sub edi, 1
jne 0x1e708be0
jmp 0x1e708bff
test edi, edi
jne 0x1e708c00
dec eax
mov byte [eax], 0
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0x41c]
lea eax, [eax + eax*8]
shl eax, 6
mov dword [eax + esi + 0x144], ecx
mov eax, dword [esi + 0x2c]
lea edx, [eax + eax*8]
shl edx, 6
mov dword [edx + esi + 0x268], eax
mov eax, dword [esi + 0x2c]
lea ecx, [eax + eax*8]
shl ecx, 6
mov eax, 1
mov dword [ecx + esi + 0x148], eax
add dword [esi + 0x2c], eax
push 0
lea edx, [ebp - 0x4c0]
push edx
inc ebx
push ebx
push 0
call fcn.1e711630
add esp, 0x10
test eax, eax
jne 0x1e708b60
xor edi, edi
push edi
lea eax, [ebp - 0x4c0]
push eax
push edi
push edi
mov dword [ebp - 0x4c8], edi
call fcn.1e711630
add esp, 0x10
test eax, eax
je 0x1e708d97
mov al, byte [ebp - 0x41c]
test al, 8
jne 0x1e708d74
test al, 1
je 0x1e708d74
test al, 4
jne 0x1e708d74
mov eax, dword [esi + 0x2c]
cmp eax, 0xc
jae 0x1e708d74
mov edx, dword [str.YUhg]
lea ecx, [eax + eax*8]
shl ecx, 6
mov dword [ecx + esi + 0x30], edx
lea eax, [ecx + esi + 0x30]
mov ecx, dword [0x1e7e4004]
mov dword [eax + 4], ecx
mov edx, dword [0x1e7e4008]
mov dword [eax + 8], edx
mov ecx, dword [0x1e7e400c]
mov dword [eax + 0xc], ecx
mov eax, dword [esi + 0x2c]
lea edx, [eax + eax*8]
shl edx, 6
add dword [edx + esi + 0x30], edi
lea eax, [edx + esi + 0x30]
mov eax, dword [esi + 0x2c]
lea eax, [eax + eax*8]
shl eax, 6
lea ecx, [ebp - 0x4bc]
mov edi, 0x104
lea eax, [eax + esi + 0x40]
mov ebx, 1
jmp 0x1e708d10
lea edx, [edi - 0xe5]
test edx, edx
je 0x1e708d2c
mov dl, byte [ecx]
test dl, dl
je 0x1e708d2c
mov byte [eax], dl
add eax, ebx
add ecx, ebx
sub edi, ebx
jne 0x1e708d10
jmp 0x1e708d30
test edi, edi
jne 0x1e708d32
sub eax, ebx
mov byte [eax], 0
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0x41c]
mov edi, dword [ebp - 0x4c8]
lea eax, [eax + eax*8]
shl eax, 6
mov dword [eax + esi + 0x144], ecx
mov eax, dword [esi + 0x2c]
lea edx, [eax + eax*8]
shl edx, 6
mov dword [edx + esi + 0x268], eax
mov eax, dword [esi + 0x2c]
lea eax, [eax + eax*8]
shl eax, 6
mov dword [eax + esi + 0x148], ebx
add dword [esi + 0x2c], ebx
push 0
lea ecx, [ebp - 0x4c0]
push ecx
inc edi
push edi
push 0
mov dword [ebp - 0x4c8], edi
call fcn.1e711630
add esp, 0x10
test eax, eax
jne 0x1e708c80
lea edx, [ebp - 0x4d8]
push edx
push 0x1e6f1bb0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1e70901b
mov ecx, dword [ebp - 0x4d8]
push 0x100
lea eax, [ebp - 0x208]
push eax
push 0
push ecx
mov dword [ebp - 0x4c4], 0
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x1e70900e
lea esp, [esp]
lea edx, [ebp - 0x318]
push edx
lea ecx, [ebp - 0x208]
call fcn.1e706d60
add esp, 4
test eax, eax
je 0x1e708fdf
mov edx, dword [ebp - 0x4d8]
lea eax, [ebp - 0x4e0]
push eax
lea ecx, [ebp - 0x208]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1e708fdf
lea eax, [ebp - 0x4d4]
push eax
mov eax, dword [ebp - 0x4e0]
lea ecx, [ebp - 0x308]
push ecx
lea edx, [ebp - 0x4dc]
push edx
push 0
push 0x1e6f1ba4
push eax
mov dword [ebp - 0x4d4], 0xff
call edi
test eax, eax
jne 0x1e708fcc
cmp dword [ebp - 0x4dc], 1
jne 0x1e708fcc
mov ecx, dword [ebp - 0x4d4]
mov byte [ebp + ecx - 0x308], al
lea edx, [ebp - 0x4d4]
push edx
mov edx, dword [ebp - 0x4e0]
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x4dc]
push ecx
push 0
push 0x1e6f1b98
push edx
mov dword [ebp - 0x4d4], 0x103
call edi
test eax, eax
jne 0x1e708fcc
mov eax, dword [ebp - 0x4d4]
lea ecx, [ebp - 0x318]
push ecx
mov byte [ebp + eax - 0x108], 0
call fcn.1e711f30
add esp, 4
test eax, eax
je 0x1e708eec
lea edx, [ebp - 0x108]
push edx
call fcn.1e7118f0
add esp, 4
mov ebx, eax
jmp 0x1e708eee
xor ebx, ebx
cmp dword [ebp - 0x4dc], 1
jne 0x1e708fbf
test ebx, ebx
je 0x1e708fcc
mov ecx, dword [esi + 0x2c]
cmp ecx, 0xc
jae 0x1e708fbf
mov eax, dword [ebp - 0x4d4]
mov edx, dword [ebp - 0x318]
lea ecx, [ecx + ecx*8]
shl ecx, 6
lea ecx, [ecx + esi + 0x30]
mov byte [ebp + eax - 0x108], 0
mov dword [ecx], edx
mov eax, dword [ebp - 0x314]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x310]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x30c]
mov dword [ecx + 0xc], eax
mov ecx, dword [esi + 0x2c]
lea ecx, [ecx + ecx*8]
shl ecx, 6
lea edx, [ebp - 0x108]
mov edi, 0x104
lea ecx, [ecx + esi + 0x40]
lea eax, [edi - 1]
test eax, eax
je 0x1e708f7a
mov al, byte [edx]
test al, al
je 0x1e708f7a
mov byte [ecx], al
inc ecx
inc edx
sub edi, 1
jne 0x1e708f62
jmp 0x1e708f7e
test edi, edi
jne 0x1e708f7f
dec ecx
mov byte [ecx], 0
mov eax, dword [esi + 0x2c]
mov edx, dword [ebp - 0x41c]
lea ecx, [eax + eax*8]
shl ecx, 6
mov dword [ecx + esi + 0x144], edx
mov ecx, dword [esi + 0x2c]
lea eax, [ecx + ecx*8]
shl eax, 6
mov dword [eax + esi + 0x268], ecx
mov eax, dword [esi + 0x2c]
lea ecx, [eax + eax*8]
shl ecx, 6
mov dword [ecx + esi + 0x148], 0
inc dword [esi + 0x2c]
test ebx, ebx
je 0x1e708fcc
push ebx
call fcn.1e710830
add esp, 4
mov edx, dword [ebp - 0x4e0]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x4c4]
mov edx, dword [ebp - 0x4d8]
push 0x100
lea ecx, [ebp - 0x208]
inc eax
push ecx
push eax
push edx
mov dword [ebp - 0x4c4], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x1e708df0
mov eax, dword [ebp - 0x4d8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov dword [ebp - 0x4c8], ebx
cmp dword [esi + 0x2c], ebx
jbe 0x1e7092a5
lea edi, [esi + 0x30]
nop
lea ecx, [edi + 0x23c]
lea eax, [edi + 0x10]
push ecx
push eax
call fcn.1e7fb006
push 0
push 0
push 0
push 0
push 1
lea edx, [ebp - 0x4d0]
push edi
push edx
call fcn.1e711960
add esp, 0x24
test eax, eax
jge 0x1e709080
push 0x108
lea eax, [edi + 0x128]
push 0
push eax
call sub.msvcrt.dll_memset
push ebx
push edi
call fcn.1e707360
add esp, 0x14
jmp 0x1e70928f
mov eax, dword [ebp - 0x4d0]
push edi
push eax
push ebx
call fcn.1e7072a0
mov ecx, dword [ebp - 0x4d0]
add esp, 0xc
cmp dword [ecx + 0x1c8], 0
jne 0x1e7090c2
push 0x108
lea eax, [edi + 0x128]
push 0
push eax
call sub.msvcrt.dll_memset
push ebx
push edi
call fcn.1e707360
add esp, 0x14
jmp 0x1e70928f
xor eax, eax
mov dword [ebp - 0x4cc], eax
mov dword [ebp - 0x4c4], eax
cmp dword [edi + 0x224], eax
jbe 0x1e70911c
mov eax, dword [edi + 0x228]
mov ebx, dword [edi + 0x224]
add eax, 0x50
mov edx, 1
lea esp, [esp]
test dword [eax + 8], 0x400
je 0x1e709115
mov ecx, dword [eax]
cmp ecx, 0x16
je 0x1e70910f
add ecx, 0xffffffe9
cmp ecx, edx
ja 0x1e709115
mov dword [ebp - 0x4c4], edx
jmp 0x1e709115
mov dword [ebp - 0x4cc], edx
add eax, 0x6c
sub ebx, edx
jne 0x1e7090f0
mov edx, dword [ebp - 0x4cc]
mov eax, dword [ebp - 0x4c4]
mov ecx, dword [ebp - 0x4d0]
push edx
mov edx, dword [ecx + 0x1c8]
push eax
mov eax, dword [edi + 0x124]
push edx
push eax
lea ebx, [edi + 0x11c]
push ebx
push 0
lea eax, [edi + 0x10]
push eax
call fcn.1e70bcf0
cmp dword [ebx], 0
je 0x1e709206
lea esp, [esp]
mov ecx, dword [ebx]
shl ecx, 4
push ecx
call fcn.1e70a400
add esp, 4
mov dword [edi + 0x120], eax
test eax, eax
je 0x1e709200
mov edx, dword [ebp - 0x4cc]
mov ecx, dword [ebp - 0x4c4]
push edx
mov edx, dword [ebp - 0x4d0]
push ecx
mov ecx, dword [edx + 0x1c8]
mov edx, dword [edi + 0x124]
push ecx
push edx
push ebx
push eax
lea eax, [edi + 0x10]
push eax
call fcn.1e70bcf0
cmp dword [ebx], 0
jne 0x1e709206
mov eax, dword [edi + 0x120]
push eax
call fcn.1e70a420
mov ecx, dword [ebp - 0x4cc]
mov eax, dword [ebp - 0x4d0]
mov edx, dword [ebp - 0x4c4]
add esp, 4
push ecx
push edx
mov dword [edi + 0x120], 0
mov ecx, dword [eax + 0x1c8]
mov edx, dword [edi + 0x124]
push ecx
push edx
push ebx
push 0
lea eax, [edi + 0x10]
push eax
call fcn.1e70bcf0
cmp dword [ebx], 0
jne 0x1e709160
jmp 0x1e709206
mov dword [ebx], 0
cmp dword [ebp - 0x4cc], 0
je 0x1e70927a
cmp dword [edi + 0x144], 0
jne 0x1e70927a
cmp dword [edi + 0x204], 0x16
je 0x1e70927a
mov edx, dword [ebx]
xor ecx, ecx
test edx, edx
jbe 0x1e70923f
mov eax, dword [edi + 0x120]
add eax, 0xc
cmp dword [eax], 0x16
je 0x1e70923f
inc ecx
add eax, 0x10
cmp ecx, edx
jb 0x1e709232
cmp ecx, edx
jb 0x1e70927a
xor ebx, ebx
cmp dword [edi + 0x224], ebx
jbe 0x1e70927a
xor ecx, ecx
mov edx, 0x400
mov eax, dword [edi + 0x228]
add eax, ecx
test dword [eax + 0x58], edx
je 0x1e70926e
cmp dword [eax + 0x50], 0x16
jne 0x1e70926e
and dword [eax + 0x58], 0xfffffbff
inc ebx
add ecx, 0x6c
cmp ebx, dword [edi + 0x224]
jb 0x1e709254
mov ecx, dword [ebp - 0x4d0]
push ecx
call fcn.1e7114d0
mov ebx, dword [ebp - 0x4c8]
add esp, 4
inc ebx
add edi, 0x240
mov dword [ebp - 0x4c8], ebx
cmp ebx, dword [esi + 0x2c]
jb 0x1e709030
lea edx, [ebp - 0x4c4]
push edx
xor ebx, ebx
push 0x1e6f1b68
push 0x80000002
mov dword [esi + 0x345c], ebx
mov dword [esi + 0x3460], ebx
mov dword [esi + 0x3464], ebx
mov dword [esi + 0x3468], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1e709334
mov edx, dword [ebp - 0x4c4]
lea eax, [ebp - 0x4c8]
push eax
lea edi, [esi + 0x346c]
push edi
lea ecx, [ebp - 0x4cc]
push ecx
push ebx
push 0x1e6f1b60
push edx
mov dword [ebp - 0x4c8], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1e709327
mov eax, 1
cmp dword [ebp - 0x4cc], eax
jne 0x1e709327
cmp byte [edi], bl
je 0x1e709327
mov dword [esi + 0x3468], eax
mov eax, dword [ebp - 0x4c4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x4c4]
push ecx
push 0x1e6f1b3c
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1e7093a1
lea edx, [ebp - 0x4c8]
push edx
mov edx, dword [ebp - 0x4c4]
lea eax, [ebp - 0x4cc]
push eax
lea ecx, [ebp - 0x4d0]
push ecx
push ebx
push 0x1e6f1b2c
push edx
mov dword [ebp - 0x4c8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1e709394
cmp dword [ebp - 0x4cc], ebx
setne al
mov dword [esi + 0x3454], eax
mov ecx, dword [ebp - 0x4c4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.1e72b65d
mov esp, ebp
pop ebp
ret 4