Function at 0x10084af
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x100e0a8]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x23c], ebx
mov word [ebp - 0x2c], 0xff2d
mov word [ebp - 0x2a], 0xff33
mov word [ebp - 0x28], 0x20
mov word [ebp - 0x26], 0x30b4
mov word [ebp - 0x24], 0x30b7
mov word [ebp - 0x22], 0x30c3
mov word [ebp - 0x20], 0x30af
mov word [ebp - 0x1e], bx
mov word [ebp - 0x1c], 0x7d30
mov word [ebp - 0x1a], 0x660e
mov word [ebp - 0x18], 0x9ad4
mov word [ebp - 0x16], bx
mov word [ebp - 0x14], 0xad74
mov word [ebp - 0x12], 0xb9bc
mov word [ebp - 0x10], 0xccb4
mov word [ebp - 0xe], bx
mov word [ebp - 0xc], 0x65b0
mov word [ebp - 0xa], 0x5b8b
mov word [ebp - 8], 0x4f53
mov word [ebp - 6], bx
call dword [sym.imp.KERNEL32.dll_GetACP]
mov dword [ebp - 0x244], eax
sub eax, 0x3a4
je 0x1008598
sub eax, 4
je 0x100857b
sub eax, 0xd
je 0x1008576
dec eax
je 0x1008571
lea eax, [ebp - 0x22c]
push 0x10020e0
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
jmp 0x10085b3
lea eax, [ebp - 0x1c]
jmp 0x100857e
lea eax, [ebp - 0x14]
jmp 0x100857e
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
mov dword [ebp - 0x23c], 0xe0000
jmp 0x10085b3
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
mov dword [ebp - 0x23c], 0xc0000
pop ecx
pop ecx
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
lea esi, [eax + eax + 2]
lea eax, [ebp - 0x230]
push eax
push 2
push ebx
push 0x1001b14
push 0x80000003
mov dword [ebp - 0x248], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100868e
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [ebp - 0x22c]
push eax
push 1
push ebx
push 0x10020cc
push dword [ebp - 0x230]
call esi
push 4
lea eax, [ebp - 0x238]
push eax
push 4
push ebx
mov edi, 0x10020b4
push edi
push dword [ebp - 0x230]
mov dword [ebp - 0x238], 0x36
call esi
test eax, eax
je 0x1008646
push dword [ebp - 0x230]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10087f5
lea eax, [ebp - 0x240]
push eax
mov dword [ebp - 0x240], ebx
call fcn.01007402
test al, al
je 0x1008835
lea eax, [ebp - 0x234]
push eax
push dword [ebp - 0x240]
mov dword [ebp - 0x234], ebx
push 0x80000003
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
push dword [ebp - 0x240]
je 0x100869d
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0100b28a
leave
ret
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
push 4
lea eax, [ebp - 0x238]
push eax
push 4
push ebx
push edi
push dword [ebp - 0x234]
mov dword [ebp - 0x238], 0x36
call esi
test eax, eax
jne 0x10087d7
mov eax, dword [ebp - 0x244]
push 4
pop edi
push edi
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x238]
push eax
push edi
push ebx
push 0x10020a0
push dword [ebp - 0x234]
call esi
test eax, eax
je 0x100871c
cmp dword [ebp - 0x230], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x100870a
push dword [ebp - 0x230]
call esi
push dword [ebp - 0x234]
call esi
push 0x10020a0
jmp 0x10087f6
mov eax, dword [ebp - 0x23c]
push edi
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x238]
push eax
push edi
push ebx
push 0x100208c
push dword [ebp - 0x234]
call esi
test eax, eax
je 0x100876b
cmp dword [ebp - 0x230], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x1008759
push dword [ebp - 0x230]
call esi
push dword [ebp - 0x234]
call esi
push 0x100208c
jmp 0x10087f6
push edi
lea eax, [ebp - 0x238]
push eax
push edi
push ebx
push 0x1002074
push dword [ebp - 0x234]
mov dword [ebp - 0x238], 0x190
call esi
test eax, eax
je 0x10087b5
cmp dword [ebp - 0x230], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x10087a6
push dword [ebp - 0x230]
call esi
push dword [ebp - 0x234]
call esi
push 0x1002074
jmp 0x10087f6
push edi
lea eax, [ebp - 0x238]
push eax
push edi
push ebx
mov edi, 0x1002058
push edi
push dword [ebp - 0x234]
mov dword [ebp - 0x238], ebx
call esi
test eax, eax
je 0x100880a
cmp dword [ebp - 0x230], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x10087ed
push dword [ebp - 0x230]
call esi
push dword [ebp - 0x234]
call esi
push edi
push 0xc0000fc1
push 1
call fcn.0100828a
add esp, 0xc
jmp 0x100868e
push dword [ebp - 0x248]
lea eax, [ebp - 0x22c]
push eax
push 1
push ebx
push 0x10020cc
push dword [ebp - 0x234]
call esi
push dword [ebp - 0x234]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
push dword [ebp - 0x230]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
jmp 0x1008690