Function at 0x103b0e6
Capabilities:
Delete registry key
Delete registry value
Persist via default file association registry key
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xae0
mov eax, dword [0x1046190]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
xor esi, esi
cmp eax, esi
mov dword [ebp - 0xabc], eax
mov dword [ebp - 0xac8], ecx
mov dword [ebp - 0xae0], ebx
mov dword [ebp - 0xab0], esi
mov dword [ebp - 0xab8], esi
mov dword [ebp - 0xab4], 1
mov dword [ebp - 0xac0], esi
je 0x103c31e
push edi
lea ecx, [ebp - 0xab0]
push ecx
push 0x2001f
push esi
push eax
mov edi, 0x80000000
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x103c31b
push dword [ebp - 0xab0]
inc eax
mov dword [ebp - 0xad4], esi
mov dword [ebp - 0xac4], eax
mov dword [ebp - 0xadc], esi
mov dword [ebp - 0xad0], eax
mov dword [ebp - 0xad8], esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0xabc]
mov ebx, 0x103
push 0x100a4f0
lea eax, [ebp - 0x450]
push ebx
push eax
call fcn.01028b64
add esp, 0x10
lea eax, [ebp - 0xab0]
push eax
push 0x2001f
push esi
lea eax, [ebp - 0x450]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x103b355
lea eax, [ebp - 0xab8]
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0xab4]
push eax
push esi
push esi
push dword [ebp - 0xab0]
mov dword [ebp - 0xab8], 0x244
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x103b349
cmp dword [ebp - 0xab4], 1
je 0x103b21a
cmp dword [ebp - 0xab4], 2
jne 0x103b349
lea eax, [ebp - 0x248]
push eax
call fcn.010387a2
test eax, eax
je 0x103b349
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.msvcrt.dll__wcslwr]
pop ecx
lea eax, [ebp - 0x248]
push eax
call fcn.01038841
test eax, eax
je 0x103b349
lea eax, [ebp - 0xab8]
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0xab4]
push eax
push esi
push 0x100a340
push dword [ebp - 0xab0]
mov dword [ebp - 0xac4], esi
mov dword [ebp - 0xad4], 1
mov dword [ebp - 0xab8], 0x244
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x103b349
cmp dword [ebp - 0xab4], 1
je 0x103b2af
cmp dword [ebp - 0xab4], 2
jne 0x103b349
lea eax, [ebp - 0x248]
push eax
push 0x121
lea eax, [ebp - 0x694]
push eax
call fcn.01028a67
lea eax, [ebp - 0x694]
push eax
call dword [sym.imp.msvcrt.dll__wcslwr]
pop ecx
lea eax, [ebp - 0x694]
push eax
call fcn.01038841
test eax, eax
jne 0x103b349
lea eax, [ebp - 0x248]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x103b2ee
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x248]
push eax
push dword [ebp - 0xab4]
push esi
push esi
push dword [ebp - 0xab0]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x100a8f0
push dword [ebp - 0xab0]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea eax, [ebp - 0x694]
push eax
call fcn.010388e4
mov dword [ebp - 0xac0], eax
mov dword [ebp - 0xac4], 1
push dword [ebp - 0xab0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0xabc]
lea eax, [ebp - 0x450]
push 0x100a8bc
push ebx
push eax
call fcn.01028b64
add esp, 0x10
lea eax, [ebp - 0xab0]
push eax
push 0x2001f
push esi
lea eax, [ebp - 0x450]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x103b4be
lea eax, [ebp - 0xab8]
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0xab4]
push eax
push esi
push 0x10021cc
push dword [ebp - 0xab0]
mov dword [ebp - 0xacc], esi
mov dword [ebp - 0xab8], 0x244
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x103b49c
cmp dword [ebp - 0xab4], 1
jne 0x103b49c
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.msvcrt.dll__wcsupr]
lea eax, [ebp - 0x248]
push eax
push dword [0x10472a8]
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 0xc
test eax, eax
jne 0x103b49c
lea eax, [ebp - 0xab8]
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0xab4]
push eax
push esi
push 0x100a8f0
push dword [ebp - 0xab0]
mov dword [ebp - 0xab8], 0x244
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x103b492
cmp dword [ebp - 0xab4], 1
jne 0x103b492
lea eax, [ebp - 0x248]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x103b451
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x248]
push eax
push 1
push esi
push 0x10021cc
push dword [ebp - 0xab0]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x100a8f0
push dword [ebp - 0xab0]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x103b49c
mov dword [ebp - 0xacc], 1
push dword [ebp - 0xab0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xacc], esi
je 0x103b4be
lea eax, [ebp - 0x450]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp dword [ebp - 0xad4], esi
je 0x103b6f5
push dword [ebp - 0xabc]
lea eax, [ebp - 0x450]
push 0x100a8a0
push ebx
push eax
call fcn.01028b64
add esp, 0x10
lea eax, [ebp - 0xab0]
push eax
push 0x20006
push esi
lea eax, [ebp - 0x450]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x103b521
push 0x100a884
push dword [ebp - 0xab0]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0xab0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0xabc]
lea eax, [ebp - 0x450]
push 0x100a490
push ebx
push eax
call fcn.01028b64
add esp, 0x10
cmp dword [ebp - 0xac0], esi
je 0x103b60e
lea eax, [ebp - 0xab0]
push eax
push 0x2001f
push esi
lea eax, [ebp - 0x450]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x103b60e
push dword [ebp - 0xabc]
lea eax, [ebp - 0x450]
push 0x100a4c4
push ebx
push eax
mov dword [ebp - 0xac0], esi
call fcn.01028b64
add esp, 0x10
push esi
lea eax, [ebp - 0xac0]
push eax
push esi
push 0x2001f
push esi
push esi
push esi
lea eax, [ebp - 0x450]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x103b5da
push dword [ebp - 0xac0]
push dword [ebp - 0xab0]
call fcn.01033018
test eax, eax
je 0x103b5ce
mov dword [ebp - 0xac4], 1
push dword [ebp - 0xac0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0xab0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0xabc]
lea eax, [ebp - 0x450]
push 0x100a490
push ebx
push eax
call fcn.01028b64
add esp, 0x10
lea eax, [ebp - 0x450]
push eax
push edi
call fcn.01033666
push dword [ebp - 0xabc]
lea eax, [ebp - 0x450]
push 0x100a8a0
push ebx
push eax
call fcn.01028b64
add esp, 0x10
cmp dword [ebp - 0xac4], esi
je 0x103b6e8
lea eax, [ebp - 0xab0]
push eax
push 0x2001f
push esi
lea eax, [ebp - 0x450]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x103b6f5
lea eax, [ebp - 0xab8]
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0xab4]
push eax
push esi
push 0x100a340
push dword [ebp - 0xab0]
mov dword [ebp - 0xab8], 0x244
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x103b6da
cmp dword [ebp - 0xab4], 1
jne 0x103b6da
lea eax, [ebp - 0x248]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x103b69f
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x248]
push eax
push 1
push esi
push esi
push dword [ebp - 0xab0]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x100a340
push dword [ebp - 0xab0]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0xab0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x103b6f5
lea eax, [ebp - 0x450]
push eax
push edi
call fcn.01033666
cmp dword [ebp - 0xac8], esi
mov dword [ebp - 0xac0], esi
je 0x103bd35
push dword [ebp - 0xac8]
lea eax, [ebp - 0x450]
push dword [ebp - 0xabc]
push 0x100a51c
push ebx
push eax
call fcn.01028b64
add esp, 0x14
lea eax, [ebp - 0xab0]
push eax
push 0x2001f
push esi
lea eax, [ebp - 0x450]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x103b934
lea eax, [ebp - 0xab8]
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0xab4]
push eax
push esi
push esi
push dword [ebp - 0xab0]
mov dword [ebp - 0xab8], 0x244
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x103b928
cmp dword [ebp - 0xab4], 1
je 0x103b796
cmp dword [ebp - 0xab4], 2
jne 0x103b928
lea eax, [ebp - 0x248]
push eax
call fcn.010387a2
test eax, eax
je 0x103b928
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.msvcrt.dll__wcslwr]
pop ecx
lea eax, [ebp - 0x248]
push eax
call fcn.01038841
test eax, eax
je 0x103b928
push dword [ebp - 0xac8]
lea eax, [ebp - 0x450]
push dword [ebp - 0xabc]
mov dword [ebp - 0xac4], esi
push 0x100a86c
push ebx
push eax
mov dword [ebp - 0xad0], esi
mov dword [ebp - 0xadc], 1
call fcn.01028b64
add esp, 0x14
lea eax, [ebp - 0xac4]
push eax
push 0x20006
push esi
lea eax, [ebp - 0x450]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x103b83f
push 0x100a884
push dword [ebp - 0xac4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0xac4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0xab8]
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0xab4]
push eax
push esi
push 0x100a340
push dword [ebp - 0xab0]
mov dword [ebp - 0xab8], 0x244
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x103b928
cmp dword [ebp - 0xab4], 1
je 0x103b88e
cmp dword [ebp - 0xab4], 2
jne 0x103b928
lea eax, [ebp - 0x248]
push eax
push 0x121
lea eax, [ebp - 0x694]
push eax
call fcn.01028a67
lea eax, [ebp - 0x694]
push eax
call dword [sym.imp.msvcrt.dll__wcslwr]
pop ecx
lea eax, [ebp - 0x694]
push eax
call fcn.01038841
test eax, eax
jne 0x103b928
lea eax, [ebp - 0x248]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x103b8cd
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x248]
push eax
push dword [ebp - 0xab4]
push esi
push esi
push dword [ebp - 0xab0]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x100a8f0
push dword [ebp - 0xab0]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea eax, [ebp - 0x694]
push eax
call fcn.010388e4
mov dword [ebp - 0xac0], eax
mov dword [ebp - 0xad0], 1
push dword [ebp - 0xab0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0xac8]
lea eax, [ebp - 0x450]
push dword [ebp - 0xabc]
push 0x100a83c
push ebx
push eax
call fcn.01028b64
add esp, 0x14
lea eax, [ebp - 0xab0]
push eax
push 0x2001f
push esi
lea eax, [ebp - 0x450]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x103baa3
lea eax, [ebp - 0xab8]
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0xab4]
push eax
push esi
push 0x10021cc
push dword [ebp - 0xab0]
mov dword [ebp - 0xacc], esi
mov dword [ebp - 0xab8], 0x244
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x103ba81
cmp dword [ebp - 0xab4], 1
jne 0x103ba81
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.msvcrt.dll__wcsupr]
lea eax, [ebp - 0x248]
push eax
push dword [0x10472a8]
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 0xc
test eax, eax
jne 0x103ba81
lea eax, [ebp - 0xab8]
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0xab4]
push eax
push esi
push 0x100a8f0
push dword [ebp - 0xab0]
mov dword [ebp - 0xab8], 0x244
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x103ba77
cmp dword [ebp - 0xab4], 1
jne 0x103ba77
lea eax, [ebp - 0x248]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x103ba36
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x248]
push eax
push 1
push esi
push 0x10021cc
push dword [ebp - 0xab0]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x100a8f0
push dword [ebp - 0xab0]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x103ba81
mov dword [ebp - 0xacc], 1
push dword [ebp - 0xab0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xacc], esi
je 0x103baa3
lea eax, [ebp - 0x450]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp dword [ebp - 0xadc], esi
je 0x103bd35
push dword [ebp - 0xac8]
lea eax, [ebp - 0x450]
push dword [ebp - 0xabc]
push 0x100a80c
push ebx
push eax
call fcn.01028b64
add esp, 0x14
cmp dword [ebp - 0xac0], esi
je 0x103bbae
lea eax, [ebp - 0xab0]
push eax
push 0x2001f
push esi
lea eax, [ebp - 0x450]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x103bbae
push dword [ebp - 0xac8]
lea eax, [ebp - 0x450]
push dword [ebp - 0xabc]
mov dword [ebp - 0xac4], esi
push 0x100a80c
push ebx
push eax
call fcn.01028b64
add esp, 0x14
push esi
lea eax, [ebp - 0xac4]
push eax
push esi
push 0x2001f
push esi
push esi
push esi
lea eax, [ebp - 0x450]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x103bb74
push dword [ebp - 0xac4]
push dword [ebp - 0xab0]
call fcn.01033018
test eax, eax
je 0x103bb68
mov dword [ebp - 0xad0], 1
push dword [ebp - 0xac4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0xab0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0xac8]
lea eax, [ebp - 0x450]
push dword [ebp - 0xabc]
push 0x100a80c
push ebx
push eax
call fcn.01028b64
add esp, 0x14
lea eax, [ebp - 0x450]
push eax
push edi
call fcn.01033666
push dword [ebp - 0xac8]
lea eax, [ebp - 0x450]
push dword [ebp - 0xabc]
push 0x100a86c
push ebx
push eax
call fcn.01028b64
add esp, 0x14
cmp dword [ebp - 0xad0], esi
je 0x103bd28
lea eax, [ebp - 0xab0]
push eax
push 0x2001f
push esi
lea eax, [ebp - 0x450]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x103bd35
lea eax, [ebp - 0xab8]
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0xab4]
push eax
push esi
push 0x100a340
push dword [ebp - 0xab0]
mov dword [ebp - 0xab8], 0x244
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x103bc80
cmp dword [ebp - 0xab4], 1
jne 0x103bc80
lea eax, [ebp - 0x248]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x103bc45
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x248]
push eax
push 1
push esi
push esi
push dword [ebp - 0xab0]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x100a340
push dword [ebp - 0xab0]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0xac8]
call fcn.010387a2
test eax, eax
je 0x103bd1a
push 0x1004598
push dword [ebp - 0xac8]
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x103bd1a
push 0x105
lea eax, [ebp - 0xaac]
push eax
call fcn.01033bb5
test eax, eax
je 0x103bd1a
lea eax, [ebp - 0xaac]
push eax
push 0x100a6b8
lea eax, [ebp - 0x8a0]
push 0x105
push eax
call fcn.01028b64
add esp, 0x10
test eax, eax
jl 0x103bd1a
lea eax, [ebp - 0x8a0]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x103bcec
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x8a0]
push eax
push 2
push esi
push 0x10059e4
push dword [ebp - 0xab0]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0xab0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x103bd35
lea eax, [ebp - 0x450]
push eax
push edi
call fcn.01033666
push dword [ebp - 0xabc]
lea eax, [ebp - 0x450]
push 0x100a47c
push ebx
push eax
call fcn.01028b64
add esp, 0x10
lea eax, [ebp - 0xab0]
push eax
push 0x2001f
push esi
lea eax, [ebp - 0x450]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x103c29e
lea eax, [ebp - 0xab8]
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0xab4]
push eax
push esi
push esi
push dword [ebp - 0xab0]
mov dword [ebp - 0xab8], 0x244
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x103bfd1
cmp dword [ebp - 0xab4], 1
jne 0x103bfd1
lea eax, [ebp - 0x248]
push eax
call fcn.010387a2
test eax, eax
je 0x103bfd1
lea eax, [ebp - 0x248]
push 0x100a544
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x103be65
cmp dword [ebp - 0xad4], esi
je 0x103be65
lea eax, [ebp - 0xab8]
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0xab4]
push eax
push esi
push 0x100a340
push dword [ebp - 0xab0]
mov dword [ebp - 0xad8], 1
mov dword [ebp - 0xab8], 0x244
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x103be5f
cmp dword [ebp - 0xab4], 1
jne 0x103be5f
lea eax, [ebp - 0x248]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x103be3e
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x248]
push eax
push 1
jmp 0x103bfb2
push esi
jmp 0x103bfc5
cmp dword [ebp - 0xadc], esi
je 0x103bfd1
push dword [ebp - 0xac8]
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x103bfd1
push 0x1004598
push dword [ebp - 0xac8]
mov dword [ebp - 0xad8], 1
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x103bf42
lea eax, [ebp - 0xab8]
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0xab4]
push eax
push esi
push 0x10059e4
push dword [ebp - 0xab0]
mov dword [ebp - 0xab8], 0x244
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x103bf42
cmp dword [ebp - 0xab4], 1
je 0x103befa
cmp dword [ebp - 0xab4], 2
jne 0x103bf42
lea eax, [ebp - 0x248]
push eax
call fcn.010387a2
test eax, eax
je 0x103bf42
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.msvcrt.dll__wcslwr]
lea eax, [ebp - 0x248]
mov dword [esp], 0x10029bc
push eax
call dword [sym.imp.msvcrt.dll_wcsstr]
test eax, eax
pop ecx
pop ecx
je 0x103bf42
push 0x10059e4
push dword [ebp - 0xab0]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea eax, [ebp - 0xab8]
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0xab4]
push eax
push esi
push 0x100a340
push dword [ebp - 0xab0]
mov dword [ebp - 0xab8], 0x244
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x103bfd1
cmp dword [ebp - 0xab4], 1
je 0x103bf89
cmp dword [ebp - 0xab4], 2
jne 0x103bfd1
lea eax, [ebp - 0x248]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x103bf92
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x248]
push eax
push dword [ebp - 0xab4]
push esi
push esi
push dword [ebp - 0xab0]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x100a340
push dword [ebp - 0xab0]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0xab0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xad8], esi
je 0x103c29e
push 0x1009aec
push dword [ebp - 0xabc]
lea eax, [ebp - 0x450]
push 0x1004f5c
push ebx
push eax
mov dword [ebp - 0xac0], esi
call fcn.01028b64
add esp, 0x14
lea eax, [ebp - 0xab0]
push eax
push 0x2001f
push esi
lea eax, [ebp - 0x450]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x103c0df
lea eax, [ebp - 0xab8]
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0xab4]
push eax
push esi
push 0x100a340
push dword [ebp - 0xab0]
mov dword [ebp - 0xab8], 0x244
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x103c0cb
cmp dword [ebp - 0xab4], 1
je 0x103c079
cmp dword [ebp - 0xab4], 2
jne 0x103c0cb
lea eax, [ebp - 0x248]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x103c082
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x248]
push eax
push dword [ebp - 0xab4]
push esi
push esi
push dword [ebp - 0xab0]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x100a340
push dword [ebp - 0xab0]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [ebp - 0xac0], 1
push dword [ebp - 0xab0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xac0], esi
jne 0x103c0ec
lea eax, [ebp - 0x450]
push eax
push edi
call fcn.01033666
push 0x10021cc
push dword [ebp - 0xabc]
lea eax, [ebp - 0x450]
push 0x1004f5c
push ebx
push eax
mov dword [ebp - 0xac0], 1
call fcn.01028b64
add esp, 0x14
lea eax, [ebp - 0xab0]
push eax
push 0x2001f
push esi
lea eax, [ebp - 0x450]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x103c29e
lea eax, [ebp - 0xab8]
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0xab4]
push eax
push esi
push 0x100a7f0
push dword [ebp - 0xab0]
mov dword [ebp - 0xab8], 0x244
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x103c27d
cmp dword [ebp - 0xab4], 1
jne 0x103c27d
lea eax, [ebp - 0xab8]
push eax
lea eax, [ebp - 0x7c4]
push eax
lea eax, [ebp - 0xab4]
push eax
push esi
push esi
push dword [ebp - 0xab0]
mov dword [ebp - 0xab8], 0x12c
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x103c27d
cmp dword [ebp - 0xab4], 1
jne 0x103c27d
lea eax, [ebp - 0x7c4]
push eax
call fcn.010387a2
test eax, eax
je 0x103c27d
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x7c4]
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x103c27d
lea eax, [ebp - 0xab8]
push eax
lea eax, [ebp - 0x7c4]
push eax
lea eax, [ebp - 0xab4]
push eax
push esi
push 0x100a340
push dword [ebp - 0xab0]
mov dword [ebp - 0xab8], 0x12c
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x103c277
cmp dword [ebp - 0xab4], 1
jne 0x103c277
lea eax, [ebp - 0x248]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x103c23a
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x248]
push eax
push 1
push esi
push esi
push dword [ebp - 0xab0]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x100a340
push dword [ebp - 0xab0]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x103c27d
mov dword [ebp - 0xac0], esi
push dword [ebp - 0xab0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xac0], esi
jne 0x103c29e
lea eax, [ebp - 0x450]
push eax
push edi
call fcn.01033666
push dword [ebp - 0xabc]
lea eax, [ebp - 0x450]
push 0x100a47c
push ebx
push eax
call fcn.01028b64
add esp, 0x10
lea eax, [ebp - 0xab0]
push eax
push 0x20019
push esi
lea eax, [ebp - 0x450]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x103c31d
push esi
push esi
push esi
push esi
lea eax, [ebp - 0xab8]
push eax
lea eax, [ebp - 0x248]
push eax
push esi
push dword [ebp - 0xab0]
mov dword [ebp - 0xab8], 0x122
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x103c30d
mov eax, dword [ebp - 0xae0]
mov dword [eax], esi
push dword [ebp - 0xab0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x103c31d
mov dword [ebx], esi
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.01031a01
leave
ret 0x10