Function at 0x103b7a2
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 0x103b808
mov eax, dword [section..data]
cmp eax, section..data
je 0x103b7fe
test byte [eax + 0x1c], 2
je 0x103b7fe
push 0x1009b9c
push 0x1009bc0
push 0x55
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01013fed
mov edi, 0x80070057
jmp 0x103baac
push esi
push 0x858
mov dword [eax], ebx
call fcn.0104b5f8
cmp eax, ebx
je 0x103b824
mov ecx, eax
call fcn.0103a991
mov esi, eax
jmp 0x103b826
xor esi, esi
cmp esi, ebx
jne 0x103b85d
mov eax, dword [section..data]
cmp eax, section..data
je 0x103b853
test byte [eax + 0x1c], 2
je 0x103b853
push 0x100a0b0
push 0x1009bc0
push 0x56
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01013fed
mov edi, 0x8007000e
jmp 0x103baab
lea eax, [ebp - 0x210]
push eax
push 0x20019
push ebx
push 0x1009f80
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x103b886
xor edi, edi
inc edi
jmp 0x103ba9a
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x210]
call fcn.01039e41
push dword [ebp - 0x21c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
mov edi, eax
cmp edi, ebx
jge 0x103b8e5
mov eax, dword [section..data]
cmp eax, section..data
je 0x103ba94
test byte [eax + 0x1c], 2
je 0x103ba94
push edi
push 0x100a260
push 0x1009bc0
push 0x57
jmp 0x103ba80
cmp dword [ebp - 0x218], ebx
je 0x103b903
or dword [esi + 0x848], 1
cmp dword [ebp - 0x214], ebx
je 0x103b903
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.01039f64
mov eax, dword [esi]
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, esi
call dword [eax + 0x14]
mov edi, eax
test edi, edi
jge 0x103b969
mov eax, dword [section..data]
cmp eax, section..data
je 0x103ba94
test byte [eax + 0x1c], 2
je 0x103ba94
push edi
push 0x100a070
push 0x1009bc0
push 0x58
jmp 0x103ba80
cmp dword [ebp - 0x218], 0
je 0x103b989
or dword [esi + 0x848], 2
cmp dword [ebp - 0x214], 0
je 0x103b989
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.0103a0a9
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 0x103b9ed
mov eax, dword [section..data]
cmp eax, section..data
je 0x103ba94
test byte [eax + 0x1c], 2
je 0x103ba94
push edi
push 0x100a234
push 0x1009bc0
push 0x59
jmp 0x103ba80
cmp dword [ebp - 0x218], eax
je 0x103ba0b
or dword [esi + 0x848], 4
cmp dword [ebp - 0x214], eax
je 0x103ba0b
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 0x100a218
push dword [ebp - 0x210]
mov dword [ebp - 0x220], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x103ba8d
cmp dword [ebp - 0x228], 1
jne 0x103ba8d
cmp dword [ebp - 0x220], eax
jbe 0x103ba8d
mov eax, dword [esi]
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, esi
call dword [eax + 0x58]
mov edi, eax
test edi, edi
jge 0x103ba8d
mov eax, dword [section..data]
cmp eax, section..data
je 0x103ba94
test byte [eax + 0x1c], 2
je 0x103ba94
push edi
push 0x100a030
push 0x1009bc0
push 0x5a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01040d61
jmp 0x103ba94
mov dword [esi + 8], 1
xor ebx, ebx
cmp edi, ebx
je 0x103baa3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
jmp 0x103baab
mov eax, dword [ebp - 0x224]
mov dword [eax], esi
pop esi
cmp dword [ebp - 0x210], ebx
je 0x103bac0
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.01035675
leave
ret 4