Function at 0x1008243b
Capabilities:
Resolve function by parsing pe exports
Set registry value

Disassembly:
sub esp, 0x20
cmp dword [0x1023a248], 0
mov dword [0x1023a2ac], 1
jne 0x10083ef2
add esp, 0x20
ret
mov edx, dword [0x1024123c]
imul edx, edx, 0xc
add edx, dword [0x1023a2c0]
push ebp
push esi
push edi
xor ebp, ebp
mov esi, dword [edx + 4]
cmp esi, dword [0x10241240]
jg 0x1010e6d4
push 0x48
pop eax
mov dword [esp + 0x10], eax
cmp dword [0x10241238], eax
jg 0x1010e708
mov eax, dword [0x10241e44]
test eax, eax
jne 0x1010e725
mov ecx, dword [0x10241e40]
mov edi, dword [sym.imp.msvcr100.dll_free]
push ebx
mov edx, dword [0x1023a248]
test ecx, ecx
jne 0x1010e745
mov eax, dword [edx]
push edx
call dword [eax + 0x98]
test eax, eax
je 0x1008402d
lea eax, [esp + 0x10]
push eax
push 1
push ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x2c], ebp
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov eax, dword [esp + 0x10]
push ebp
push 4
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x30], 0x68
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov eax, dword [0x1023a248]
mov ecx, dword [eax]
push ebp
push dword [esp + 0x14]
push eax
call dword [ecx + 0x28]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
push 2
push ebp
push ebp
push eax
call dword [ecx + 0x14]
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x14]
call dword [sym.imp.ole32.dll_GetHGlobalFromStream]
push dword [esp + 0x20]
call dword [sym.imp.kernel32.dll_GlobalLock]
mov ebx, eax
lea eax, [esp + 0x1c]
push eax
push SysReAllocString
mov dword [esp + 0x24], ebp
call fcn.100f1caf
test eax, eax
jne 0x10084019
mov ecx, dword [0x10239cd8]
mov eax, 0x100b62e8
cmp dword [ecx + 0x78], ebp
jne 0x10083fff
mov eax, 0x100b62e4
push esi
push ebx
push 3
push ebp
push eax
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [esp + 0x20]
call dword [sym.imp.kernel32.dll_GlobalUnlock]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [0x10241234]
call dword [0x1023a0e8]
call fcn.10083ecd
mov eax, dword [0x1023a2c0]
pop ebx
test eax, eax
je 0x10084052
push eax
call edi
pop ecx
mov dword [0x1023a2c0], ebp
mov eax, dword [0x10241e48]
test eax, eax
jne 0x1010e80e
mov eax, dword [0x10241e4c]
test eax, eax
jne 0x1010e817
mov eax, dword [0x10241e50]
test eax, eax
jne 0x1010e820
mov eax, dword [0x10241e44]
test eax, eax
jne 0x1010e829
pop edi
pop esi
mov dword [0x1023a2ac], ebp
pop ebp
jmp 0x10082455
mov eax, dword [edx]
mov ecx, dword [eax]
push ebp
lea eax, [esi - 1]
push eax
push dword [edx]
call dword [ecx + 0x24]
mov ecx, dword [0x1024123c]
mov eax, dword [0x1023a2c0]
imul ecx, ecx, 0xc
dec dword [eax + ecx + 4]
mov edx, dword [0x1024123c]
imul edx, edx, 0xc
add edx, dword [0x1023a2c0]
jmp 0x10083f06
push eax
call fcn.1017d785
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [0x10241238]
jge 0x10083f28
jmp 0x1010e708
cmp dword [eax + 8], ebp
jne 0x1010e73d
cmp dword [eax + 4], ebp
je 0x1010e73d
mov eax, dword [eax + 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
jmp 0x10083f28
mov eax, dword [eax + 0xc]
jmp 0x10083f2d
or dword [esp + 0x18], 0xffffffff
lea esi, [esp + 0x10]
push esi
lea esi, [esp + 0x1c]
push esi
lea esi, [esp + 0x1c]
push esi
push 1
push ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
push dword [ecx + 0xc]
mov eax, dword [edx]
push dword [ecx + 8]
push edx
call dword [eax + 0x3c]
jmp 0x1010e86b
mov edx, dword [0x10241e40]
mov eax, dword [edx]
cmp eax, dword [esp + 0x10]
jne 0x1010e848
mov esi, dword [0x10241238]
mov ecx, ebp
test esi, esi
jle 0x1010e7b7
mov ebp, dword [0x1023a2c0]
lea eax, [esi - 1]
lea ebx, [ebp + 8]
cmp ecx, eax
je 0x1010e7ad
mov eax, dword [ebx]
cmp eax, dword [edx + 4]
je 0x1010e7d4
lea eax, [esi - 1]
inc ecx
add ebx, 0xc
cmp ecx, esi
jl 0x1010e79f
xor ebp, ebp
mov eax, dword [0x10241e44]
test eax, eax
je 0x1010e848
mov ecx, dword [edx + 4]
cmp dword [eax], ecx
je 0x1010e841
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1010e848
jmp 0x1010e7c7
imul ecx, ecx, 0xc
mov ecx, dword [ecx + ebp]
xor ebp, ebp
test ecx, ecx
je 0x1010e7b7
mov eax, dword [ecx]
push ebp
push dword [esp + 0x1c]
push ecx
call dword [eax + 0x24]
mov ecx, dword [0x10241e40]
mov eax, dword [ecx + 0x14]
push ecx
mov dword [0x10244678], eax
call edi
pop ecx
mov ecx, dword [0x10244678]
mov dword [0x10241e40], ecx
jmp 0x10083f42
push eax
call edi
pop ecx
jmp 0x1008405f
push eax
call edi
pop ecx
jmp 0x1008406c
push eax
call edi
pop ecx
jmp 0x10084079
mov esi, dword [eax + 0xc]
push eax
call edi
mov eax, esi
pop ecx
mov dword [0x10241e44], eax
test esi, esi
je 0x10084086
jmp 0x1010e829
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x1010e7e0
mov eax, dword [0x1023a248]
mov ecx, dword [eax]
lea esi, [esp + 0x10]
push esi
lea esi, [esp + 0x1c]
push esi
lea esi, [esp + 0x1c]
push esi
push 1
push ebp
push dword [edx + 0xc]
push dword [edx + 8]
push eax
call dword [ecx + 0x3c]
test eax, eax
je 0x1010e7eb
jmp 0x1010e775