Function at 0x10074de
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x100a140]
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xf4], eax
xor eax, eax
lea edi, [ebp - 0x114]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x23
pop ecx
mov esi, 0x1002568
lea edi, [ebp - 0xe0]
rep movsd dword es:[edi], dword [esi]
xor ebx, ebx
push ebx
lea eax, [ebp - 0x108]
push eax
push 1
lea eax, [ebp - 0xe0]
push eax
mov dword [ebp - 0x104], 2
mov dword [ebp - 0x100], ebx
mov dword [ebp - 0xf8], ebx
mov dword [ebp - 0x108], ebx
movsw word es:[edi], word [esi]
mov dword [ebp - 0x118], 0xc
mov dword [ebp - 0x110], ebx
call dword [0x1001028]
test eax, eax
jne 0x1007578
call dword [fcn.010010d0]
mov edi, eax
jmp 0x1007740
mov eax, dword [ebp - 0x108]
mov esi, dword [0x1001024]
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0x118]
push eax
push 0xf003f
push ebx
push ebx
push ebx
push 0x10024f8
push 0x80000002
call esi
mov edi, eax
cmp edi, ebx
jne 0x1007740
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0xf8]
push eax
push ebx
push 0x20006
push ebx
push ebx
push ebx
push dword [ebp - 0xf4]
push dword [ebp - 0x100]
call esi
mov edi, eax
cmp edi, ebx
jne 0x1007740
mov esi, dword [0x1001020]
push 0xe
push 0x10024e8
push 2
push ebx
push 0x10024c8
push dword [ebp - 0xf8]
call esi
mov edi, eax
cmp edi, ebx
jne 0x1007740
push 4
lea eax, [ebp - 0x10c]
push eax
push 4
push ebx
push 0x10024b8
push dword [ebp - 0xf8]
mov dword [ebp - 0x10c], 1
call esi
mov edi, eax
cmp edi, ebx
jne 0x1007740
push 4
lea eax, [ebp - 0x10c]
push eax
push 4
push ebx
push 0x100249c
push dword [ebp - 0xf8]
mov dword [ebp - 0x10c], 1
call esi
mov edi, eax
cmp edi, ebx
jne 0x1007740
mov esi, dword [ebp - 0xfc]
cmp esi, ebx
je 0x1007740
jmp 0x1007683
mov esi, dword [ebp - 0xfc]
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0xf4]
push eax
push ebx
push 0x20006
push ebx
push ebx
push ebx
push dword [esi + 8]
mov dword [ebp - 0xf4], ebx
push dword [ebp - 0xf8]
call dword [0x1001024]
mov edi, eax
cmp edi, ebx
jne 0x100771c
mov esi, dword [esi + 4]
lea edi, [ebp - 0xf0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xf0]
movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x50]
push eax
movsd dword es:[edi], dword [esi]
call fcn.01007402
mov esi, dword [0x1001020]
push 0x4a
lea eax, [ebp - 0x50]
push eax
push 1
push ebx
push 0x1002490
push dword [ebp - 0xf4]
call esi
mov edi, dword [ebp - 0xfc]
push dword [edi + 0xc]
call dword [0x10011c0]
pop ecx
shl eax, 1
push eax
push dword [edi + 0xc]
push 1
push ebx
push 0x100247c
push dword [ebp - 0xf4]
call esi
mov esi, dword [ebp - 0xfc]
mov edi, eax
cmp dword [ebp - 0xf4], ebx
je 0x1007730
push dword [ebp - 0xf4]
call dword [0x1001004]
mov esi, dword [esi]
cmp esi, ebx
mov dword [ebp - 0xfc], esi
jne 0x100767d
push dword [ebp - 0x108]
call dword [0x1001068]
cmp dword [ebp - 0xf8], ebx
je 0x1007760
push dword [ebp - 0xf8]
call dword [0x1001004]
cmp dword [ebp - 0x100], ebx
je 0x1007774
push dword [ebp - 0x100]
call dword [0x1001004]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
pop ebx
call fcn.01007d97
leave
ret 8