Function at 0x103b772
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x1053d10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x210], ebx
mov word [ebp - 0x20c], bx
jne 0x103b7d8
mov eax, dword [section..data]
cmp eax, section..data
je 0x103b7ce
test byte [eax + 0x1c], 2
je 0x103b7ce
push 0x1009b1c
push 0x1009b40
push 0x55
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01013fed
mov edi, 0x80070057
jmp 0x103ba7c
push esi
push 0x858
mov dword [eax], ebx
call fcn.0104b5cb
cmp eax, ebx
je 0x103b7f4
mov ecx, eax
call fcn.0103a961
mov esi, eax
jmp 0x103b7f6
xor esi, esi
cmp esi, ebx
jne 0x103b82d
mov eax, dword [section..data]
cmp eax, section..data
je 0x103b823
test byte [eax + 0x1c], 2
je 0x103b823
push 0x100a030
push 0x1009b40
push 0x56
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01013fed
mov edi, 0x8007000e
jmp 0x103ba7b
lea eax, [ebp - 0x210]
push eax
push 0x20019
push ebx
push 0x1009f00
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x103b856
xor edi, edi
inc edi
jmp 0x103ba6a
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x210]
call fcn.01039e11
push dword [ebp - 0x21c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
mov edi, eax
cmp edi, ebx
jge 0x103b8b5
mov eax, dword [section..data]
cmp eax, section..data
je 0x103ba64
test byte [eax + 0x1c], 2
je 0x103ba64
push edi
push 0x100a1e0
push 0x1009b40
push 0x57
jmp 0x103ba50
cmp dword [ebp - 0x218], ebx
je 0x103b8d3
or dword [esi + 0x848], 1
cmp dword [ebp - 0x214], ebx
je 0x103b8d3
and dword [esi + 0x844], 0xfffffffe
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x214]
push eax
mov ebx, 0x208
push ebx
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
call fcn.01039f34
mov eax, dword [esi]
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, esi
call dword [eax + 0x14]
mov edi, eax
test edi, edi
jge 0x103b939
mov eax, dword [section..data]
cmp eax, section..data
je 0x103ba64
test byte [eax + 0x1c], 2
je 0x103ba64
push edi
push 0x1009ff0
push 0x1009b40
push 0x58
jmp 0x103ba50
cmp dword [ebp - 0x218], 0
je 0x103b959
or dword [esi + 0x848], 2
cmp dword [ebp - 0x214], 0
je 0x103b959
and dword [esi + 0x844], 0xfffffffd
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x210]
call fcn.0103a079
push dword [ebp - 0x21c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x84]
mov edi, eax
xor eax, eax
cmp edi, eax
jge 0x103b9bd
mov eax, dword [section..data]
cmp eax, section..data
je 0x103ba64
test byte [eax + 0x1c], 2
je 0x103ba64
push edi
push 0x100a1b4
push 0x1009b40
push 0x59
jmp 0x103ba50
cmp dword [ebp - 0x218], eax
je 0x103b9db
or dword [esi + 0x848], 4
cmp dword [ebp - 0x214], eax
je 0x103b9db
and dword [esi + 0x844], 0xfffffffb
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x228]
push ecx
push eax
push 0x100a198
push dword [ebp - 0x210]
mov dword [ebp - 0x220], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x103ba5d
cmp dword [ebp - 0x228], 1
jne 0x103ba5d
cmp dword [ebp - 0x220], eax
jbe 0x103ba5d
mov eax, dword [esi]
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, esi
call dword [eax + 0x58]
mov edi, eax
test edi, edi
jge 0x103ba5d
mov eax, dword [section..data]
cmp eax, section..data
je 0x103ba64
test byte [eax + 0x1c], 2
je 0x103ba64
push edi
push 0x1009fb0
push 0x1009b40
push 0x5a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01040d30
jmp 0x103ba64
mov dword [esi + 8], 1
xor ebx, ebx
cmp edi, ebx
je 0x103ba73
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
jmp 0x103ba7b
mov eax, dword [ebp - 0x224]
mov dword [eax], esi
pop esi
cmp dword [ebp - 0x210], ebx
je 0x103ba90
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop ebx
call fcn.0103563d
leave
ret 4