Function at 0x10003de0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x10029ad7
mov eax, dword fs:[0]
push eax
mov eax, 0x1080
call fcn.10013480
mov eax, dword [0x10035204]
xor eax, esp
mov dword [esp + 0x107c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10035204]
xor eax, esp
push eax
lea eax, [esp + 0x1094]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x10b0]
mov eax, dword [esp + 0x10ac]
mov edx, dword [esp + 0x10b8]
mov esi, dword [esp + 0x10a4]
mov edi, dword [esp + 0x10a8]
mov ebp, dword [esp + 0x10b4]
push 0x7fe
mov dword [esp + 0x1c], ecx
xor ebx, ebx
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x896]
xor eax, eax
push ebx
push ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], 0x400
mov word [esp + 0x89c], ax
call fcn.10012850
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x894]
push eax
lea ecx, [esp + 0x2c]
push ecx
push ebx
push edi
push esi
mov dword [esp + 0x3c], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10004051
xor edx, edx
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], dx
lea eax, [esp + 0x890]
mov dword [esp + 0x109c], ebx
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10003ed0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x894]
push eax
lea ecx, [esp + 0x4c]
call fcn.10002690
mov ecx, dword [esp + 0x58]
push ebx
push 0x1002bf64
push ecx
push ebx
lea ecx, [esp + 0x54]
call fcn.10003300
test eax, eax
je 0x1000403d
push 1
push ebx
push 0x1002b878
lea ecx, [esp + 0x50]
xor edi, edi
call fcn.100031e0
mov esi, eax
cmp esi, 0xffffffff
je 0x10003f6c
push esi
push ebx
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x50]
call fcn.100036c0
push 0xffffffffffffffff
push ebx
push eax
mov ecx, ebp
mov byte [esp + 0x10a8], 1
call fcn.10002590
lea ecx, [esp + 0x28]
mov byte [esp + 0x109c], bl
call fcn.100023c0
inc esi
push esi
push ebx
lea ecx, [esp + 0x4c]
call fcn.100021d0
mov edi, 1
push 1
push ebx
push 0x1002b878
lea ecx, [esp + 0x50]
call fcn.100031e0
mov esi, eax
cmp esi, 0xffffffff
je 0x10003fc6
push esi
push ebx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x50]
call fcn.100036c0
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
push ebx
push eax
mov byte [esp + 0x10a8], 2
call fcn.10002590
lea ecx, [esp + 0x28]
mov byte [esp + 0x109c], bl
call fcn.100023c0
inc esi
push esi
push ebx
lea ecx, [esp + 0x4c]
call fcn.100021d0
inc edi
push 1
push ebx
push 0x1002b878
lea ecx, [esp + 0x50]
call fcn.100031e0
mov esi, eax
cmp esi, 0xffffffff
je 0x10004020
push esi
push ebx
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x50]
call fcn.100036c0
mov ecx, dword [esp + 0x20]
push 0xffffffffffffffff
push ebx
push eax
mov byte [esp + 0x10a8], 3
call fcn.10002590
lea ecx, [esp + 0x28]
mov byte [esp + 0x109c], bl
call fcn.100023c0
inc esi
push esi
push ebx
lea ecx, [esp + 0x4c]
call fcn.100021d0
inc edi
push 1
push ebx
push 0x1002b878
lea ecx, [esp + 0x50]
call fcn.100031e0
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000407b
cmp edi, 3
je 0x10004080
cmp dword [esp + 0x5c], 8
jb 0x10004051
mov eax, dword [esp + 0x48]
push eax
call fcn.10012756
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x1094]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x107c]
xor ecx, esp
call fcn.10012840
add esp, 0x108c
ret
cmp edi, 3
jne 0x10004095
mov esi, dword [esp + 0x18]
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x4c]
push edx
mov ecx, esi
call fcn.10002590
jmp 0x100040da
push esi
push ebx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x50]
call fcn.100036c0
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffff
push ebx
push eax
mov byte [esp + 0x10a8], 4
call fcn.10002590
lea ecx, [esp + 0x28]
mov byte [esp + 0x109c], bl
call fcn.100023c0
inc esi
push esi
push ebx
lea ecx, [esp + 0x4c]
call fcn.100021d0
mov esi, dword [esp + 0x18]
push 0x417
lea ecx, [esp + 0x47d]
push ebx
push ecx
mov byte [esp + 0x484], bl
call fcn.10012850
push 0x417
lea edx, [esp + 0x71]
push ebx
push edx
mov byte [esp + 0x78], bl
call fcn.10012850
add esp, 0x18
mov dword [esp + 0x14], 0x418
mov edi, 8
cmp dword [esp + 0x1c], ebx
jbe 0x100041b0
cmp dword [esi + 0x18], edi
jb 0x1000412c
mov eax, dword [esi + 4]
jmp 0x1000412f
lea eax, [esi + 4]
push ebx
push ebx
push 0x400
lea ecx, [esp + 0x484]
push ecx
push 0xffffffffffffffff
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [esp + 0x478]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10004153
sub eax, edx
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x64]
push ecx
push eax
lea edx, [esp + 0x484]
push edx
call fcn.10001940
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x74]
push ecx
call fcn.10001fb0
add esp, 0x18
cmp eax, ebx
jl 0x10004190
mov byte [esp + eax + 0x60], bl
jmp 0x10004194
mov byte [esp + 0x60], bl
push 0x418
lea edx, [esp + 0x894]
push edx
push 0xffffffffffffffff
lea eax, [esp + 0x6c]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [esp + 0x890]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x100041c0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x894]
push ecx
mov ecx, esi
call fcn.10002690
cmp dword [esp + 0x5c], edi
jb 0x100041f2
mov edx, dword [esp + 0x48]
push edx
call fcn.10012756
add esp, 4
mov eax, 1
jmp 0x10004053