Function at 0x103b81c
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 0x103b882
mov eax, dword [section..data]
cmp eax, section..data
je 0x103b878
test byte [eax + 0x1c], 2
je 0x103b878
push 0x1009c24
push 0x1009c48
push 0x55
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01013fed
mov edi, 0x80070057
jmp 0x103bb26
push esi
push 0x858
mov dword [eax], ebx
call fcn.0104b68d
cmp eax, ebx
je 0x103b89e
mov ecx, eax
call fcn.0103aa0b
mov esi, eax
jmp 0x103b8a0
xor esi, esi
cmp esi, ebx
jne 0x103b8d7
mov eax, dword [section..data]
cmp eax, section..data
je 0x103b8cd
test byte [eax + 0x1c], 2
je 0x103b8cd
push 0x100a138
push 0x1009c48
push 0x56
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01013fed
mov edi, 0x8007000e
jmp 0x103bb25
lea eax, [ebp - 0x210]
push eax
push 0x20019
push ebx
push 0x100a008
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x103b900
xor edi, edi
inc edi
jmp 0x103bb14
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x210]
call fcn.01039ea1
push dword [ebp - 0x21c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
mov edi, eax
cmp edi, ebx
jge 0x103b95f
mov eax, dword [section..data]
cmp eax, section..data
je 0x103bb0e
test byte [eax + 0x1c], 2
je 0x103bb0e
push edi
push 0x100a2e8
push 0x1009c48
push 0x57
jmp 0x103bafa
cmp dword [ebp - 0x218], ebx
je 0x103b97d
or dword [esi + 0x848], 1
cmp dword [ebp - 0x214], ebx
je 0x103b97d
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.01039fc4
mov eax, dword [esi]
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, esi
call dword [eax + 0x14]
mov edi, eax
test edi, edi
jge 0x103b9e3
mov eax, dword [section..data]
cmp eax, section..data
je 0x103bb0e
test byte [eax + 0x1c], 2
je 0x103bb0e
push edi
push 0x100a0f8
push 0x1009c48
push 0x58
jmp 0x103bafa
cmp dword [ebp - 0x218], 0
je 0x103ba03
or dword [esi + 0x848], 2
cmp dword [ebp - 0x214], 0
je 0x103ba03
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.0103a109
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 0x103ba67
mov eax, dword [section..data]
cmp eax, section..data
je 0x103bb0e
test byte [eax + 0x1c], 2
je 0x103bb0e
push edi
push 0x100a2bc
push 0x1009c48
push 0x59
jmp 0x103bafa
cmp dword [ebp - 0x218], eax
je 0x103ba85
or dword [esi + 0x848], 4
cmp dword [ebp - 0x214], eax
je 0x103ba85
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 0x100a2a0
push dword [ebp - 0x210]
mov dword [ebp - 0x220], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x103bb07
cmp dword [ebp - 0x228], 1
jne 0x103bb07
cmp dword [ebp - 0x220], eax
jbe 0x103bb07
mov eax, dword [esi]
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, esi
call dword [eax + 0x58]
mov edi, eax
test edi, edi
jge 0x103bb07
mov eax, dword [section..data]
cmp eax, section..data
je 0x103bb0e
test byte [eax + 0x1c], 2
je 0x103bb0e
push edi
push 0x100a0b8
push 0x1009c48
push 0x5a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01040e76
jmp 0x103bb0e
mov dword [esi + 8], 1
xor ebx, ebx
cmp edi, ebx
je 0x103bb1d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
jmp 0x103bb25
mov eax, dword [ebp - 0x224]
mov dword [eax], esi
pop esi
cmp dword [ebp - 0x210], ebx
je 0x103bb3a
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.010356d1
leave
ret 4