Function at 0x100249b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007bf0b
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x100a04fc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x98], eax
xor ebx, ebx
mov esi, 0x10
mov eax, esi
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 4], ebx
call fcn.10073d20
mov dword [ebp - 0x10], esp
mov edi, esp
push 0xdead000b
lea ecx, [ebp - 0x54]
push 0xe3beef
push ecx
call fcn.10001af0
add esp, 0xc
cmp dword [eax + 0x14], esi
jb 0x10024a38
mov eax, dword [eax]
mov edx, dword [eax]
mov dword [edi], edx
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
mov edx, dword [eax + 8]
mov dword [edi + 8], edx
mov eax, dword [eax + 0xc]
mov dword [edi + 0xc], eax
cmp dword [ebp - 0x40], esi
jb 0x10024a60
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, 4
call fcn.10073d20
mov eax, esp
mov dword [ebp - 0x10], esp
mov dword [ebp - 0xa0], eax
cmp eax, ebx
je 0x10024a7f
mov dword [eax], 0xabab00e3
mov dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x10024aa7
mov edx, dword [ebp - 0xa0]
mov dword [edx], 0xcdcd00e3
jmp 0x10024aa7
test byte [0x100a4bb0], 1
mov dword [ebp - 0xa4], 6
jne 0x10024ae2
or dword [0x100a4bb0], 1
mov dword [ebp - 4], 2
call fcn.10022f20
push 0x10082b20
call fcn.10072493
add esp, 4
or esi, 0xffffffff
mov dword [ebp - 4], esi
jmp 0x10024ae5
or esi, 0xffffffff
lea eax, [ebp - 0xa4]
push eax
mov edi, 0x100a4b60
call fcn.100235e0
test al, al
je 0x10024c03
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea edi, [ebp - 0x38]
mov dword [ebp - 4], 3
call fcn.10023cb0
mov ecx, dword [eax + 0x1c]
cmp ecx, ebx
jne 0x10024b37
push 0xd
push str.EnterFunction
mov ecx, eax
call fcn.100041d0
jmp 0x10024b45
push str.EnterFunction
push ecx
call fcn.10012390
add esp, 8
push 0x1ff
push ebx
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.10001ab0
mov edi, eax
mov byte [ebp - 4], 4
test byte [0x100a4bb0], 1
jne 0x10024b87
or dword [0x100a4bb0], 1
mov byte [ebp - 4], 5
call fcn.10022f20
push 0x10082b20
call fcn.10072493
add esp, 4
mov byte [ebp - 4], 4
mov edx, dword [0x100a4b64]
mov eax, dword [edx + 4]
mov ecx, 0x100a4b64
mov dword [ebp - 0xa4], ecx
call eax
mov byte [ebp - 4], 6
mov ecx, dword [0x100a4bac]
cmp ecx, ebx
je 0x10024bd0
cmp dword [edi + 0x14], 8
jb 0x10024bb5
mov eax, dword [edi]
jmp 0x10024bb7
mov eax, edi
mov edx, dword [ecx]
push 0xe3
push str.RegistryHandler::SetStringValue
push str.RegistryHandler.cpp
push eax
mov eax, dword [edx + 8]
push 6
call eax
mov byte [ebp - 4], 4
mov edx, dword [0x100a4b64]
mov eax, dword [edx + 8]
mov ecx, 0x100a4b64
call eax
cmp dword [ebp - 0x40], 8
jb 0x10024bf7
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea edx, [ebp - 0x38]
push edx
mov dword [ebp - 4], esi
call fcn.10023b80
mov eax, dword [ebp - 0xa0]
cmp eax, ebx
je 0x10024c13
mov dword [eax], 0xcdcd00e4
test byte [0x100a4bb0], 1
mov dword [ebp - 0xa4], 6
jne 0x10024c49
or dword [0x100a4bb0], 1
mov dword [ebp - 4], 7
call fcn.10022f20
push 0x10082b20
call fcn.10072493
add esp, 4
mov dword [ebp - 4], esi
lea eax, [ebp - 0xa4]
push eax
mov edi, 0x100a4b60
call fcn.100235e0
test al, al
je 0x10024d93
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea edi, [ebp - 0x38]
mov dword [ebp - 4], 8
call fcn.10023cb0
mov edi, eax
mov eax, dword [edi + 0x1c]
cmp eax, ebx
jne 0x10024c9d
push 0x13
push str.EnterFunction_Name
mov ecx, edi
call fcn.100041d0
jmp 0x10024cab
push str.EnterFunction_Name
push eax
call fcn.10012390
add esp, 8
mov eax, dword [edi + 0x1c]
mov esi, dword [ebp - 0x9c]
cmp eax, ebx
jne 0x10024cc5
push 0xffffffffffffffff
push ebx
push esi
mov ecx, edi
call fcn.100040c0
jmp 0x10024ccf
push esi
push eax
call fcn.100125f0
add esp, 8
push 0x1ff
push ebx
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.10001ab0
mov edi, eax
mov byte [ebp - 4], 9
test byte [0x100a4bb0], 1
jne 0x10024d11
or dword [0x100a4bb0], 1
mov byte [ebp - 4], 0xa
call fcn.10022f20
push 0x10082b20
call fcn.10072493
add esp, 4
mov byte [ebp - 4], 9
mov edx, dword [0x100a4b64]
mov eax, dword [edx + 4]
mov ecx, 0x100a4b64
mov dword [ebp - 0xa4], ecx
call eax
mov byte [ebp - 4], 0xb
mov ecx, dword [0x100a4bac]
cmp ecx, ebx
je 0x10024d5a
cmp dword [edi + 0x14], 8
jb 0x10024d3f
mov eax, dword [edi]
jmp 0x10024d41
mov eax, edi
mov edx, dword [ecx]
push 0xe4
push str.RegistryHandler::SetStringValue
push str.RegistryHandler.cpp
push eax
mov eax, dword [edx + 8]
push 6
call eax
mov byte [ebp - 4], 9
mov edx, dword [0x100a4b64]
mov eax, dword [edx + 8]
mov ecx, 0x100a4b64
call eax
cmp dword [ebp - 0x40], 8
jb 0x10024d81
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea edx, [ebp - 0x38]
push edx
mov dword [ebp - 4], 0xffffffff
call fcn.10023b80
jmp 0x10024d99
mov esi, dword [ebp - 0x9c]
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xac]
push eax
lea edx, [ebp - 0xa8]
mov dword [ebp - 0xa8], ebx
call fcn.10026ea0
add esp, 4
test al, al
je 0x10025018
mov ecx, dword [ebp - 0x98]
mov edx, dword [ecx + 0x10]
cmp edx, ebx
jne 0x10024e01
cmp dword [esi + 0x14], 8
jb 0x10024deb
mov eax, dword [esi]
mov ecx, dword [ebp - 0xa8]
push 1
push 0x10083a78
push 1
push ebx
push eax
push ecx
jmp 0x10024e27
mov ecx, dword [ebp - 0xa8]
push 1
push 0x10083a78
push 1
push ebx
mov eax, esi
push eax
push ecx
jmp 0x10024e27
mov eax, 8
cmp dword [ecx + 0x14], eax
jb 0x10024e0d
mov ecx, dword [ecx]
cmp dword [esi + 0x14], eax
jb 0x10024e16
mov eax, dword [esi]
jmp 0x10024e18
mov eax, esi
add edx, edx
push edx
push ecx
push 1
push ebx
push eax
mov eax, dword [ebp - 0xa8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, ebx
je 0x1002501f
mov eax, dword [ebp - 0xa0]
cmp eax, ebx
je 0x10024e45
mov dword [eax], 0xcdcd00ff
test byte [0x100a4bb0], 1
mov dword [ebp - 0x98], 2
jne 0x10024e7f
or dword [0x100a4bb0], 1
mov dword [ebp - 4], 0xc
call fcn.10022f20
push 0x10082b20
call fcn.10072493
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x98]
push ecx
mov edi, 0x100a4b60
call fcn.100235e0
test al, al
je 0x10024f4a
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea edi, [ebp - 0x38]
mov dword [ebp - 4], 0xd
call fcn.10023cb0
mov edx, str.RegSetValueExW_failed._Name
mov esi, eax
call fcn.100237d0
mov ecx, dword [eax + 0x1c]
cmp ecx, ebx
jne 0x10024ee0
mov edx, dword [ebp - 0x9c]
push 0xffffffffffffffff
push ebx
push edx
mov ecx, eax
call fcn.100040c0
jmp 0x10024ef0
mov eax, dword [ebp - 0x9c]
push eax
push ecx
call fcn.100125f0
add esp, 8
push 0x1ff
push ebx
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.10001ab0
mov ebx, eax
push 0xff
push str.RegistryHandler::SetStringValue
push str.RegistryHandler.cpp
push 2
mov byte [ebp - 4], 0xe
call fcn.100230e0
mov ecx, eax
call fcn.10023680
cmp dword [ebp - 0x40], 8
jb 0x10024f38
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.10023b80
xor ebx, ebx
mov ecx, dword [ebp - 0xa8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x10025018
mov eax, dword [ebp - 0xa0]
cmp eax, ebx
je 0x10024f6f
mov dword [eax], 0xcdcd0102
lea edx, [ebp - 0x98]
push edx
mov dword [ebp - 0x98], 2
call fcn.100230e0
mov edi, eax
call fcn.100235e0
test al, al
je 0x10025018
mov eax, 0xf
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea edi, [ebp - 0x38]
mov dword [ebp - 4], eax
call fcn.10023cb0
mov edx, str.RegCloseKey_failed._Name
mov esi, eax
call fcn.100237d0
mov ecx, dword [ebp - 0x9c]
mov esi, eax
call fcn.100237a0
mov ecx, dword [ebp - 0x18]
push 0x1ff
push ebx
lea eax, [ebp - 0x54]
push eax
call fcn.10001ab0
mov ebx, eax
push 0x102
push str.RegistryHandler::SetStringValue
push str.RegistryHandler.cpp
push 2
mov byte [ebp - 4], 0x10
call fcn.100230e0
mov ecx, eax
call fcn.10023680
lea ecx, [ebp - 0x54]
call fcn.10002a10
mov ecx, edi
push ecx
mov dword [ebp - 4], 0xffffffff
call fcn.10023b80
xor al, al
jmp 0x100251b5
mov edx, dword [ebp - 0xa8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov eax, dword [ebp - 0xa0]
je 0x100250f7
cmp eax, ebx
je 0x10025044
mov dword [eax], 0xcdcd0108
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 2
call fcn.100230e0
mov edi, eax
call fcn.100235e0
test al, al
je 0x100250f0
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea edi, [ebp - 0x38]
mov dword [ebp - 4], 0x11
call fcn.10023cb0
mov edx, str.RegCloseKey_failed._Name
mov esi, eax
call fcn.100237d0
mov ecx, dword [ebp - 0x9c]
mov esi, eax
call fcn.100237a0
push 0x1ff
push ebx
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.10001ab0
mov ebx, eax
push 0x108
push str.RegistryHandler::SetStringValue
push str.RegistryHandler.cpp
push 2
mov byte [ebp - 4], 0x12
call fcn.100230e0
mov ecx, eax
call fcn.10023680
lea ecx, [ebp - 0x54]
call fcn.10002a10
mov edx, edi
push edx
mov dword [ebp - 4], 0xffffffff
call fcn.10023b80
xor al, al
jmp 0x100251b5
cmp eax, ebx
je 0x10025101
mov dword [eax], 0xcdcd010d
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 6
call fcn.100230e0
mov edi, eax
call fcn.100235e0
test al, al
je 0x100251b3
mov dword [ebp - 0x64], 0xf
mov dword [ebp - 0x68], ebx
mov byte [ebp - 0x78], bl
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
lea edi, [ebp - 0x78]
mov dword [ebp - 4], 0x13
call fcn.10023cb0
mov edx, str.ExitFunction_Name
mov esi, eax
call fcn.100237d0
mov ecx, dword [ebp - 0x9c]
mov esi, eax
call fcn.100237a0
push 0x1ff
push ebx
lea ecx, [ebp - 0x94]
push ecx
mov ecx, dword [ebp - 0x58]
call fcn.10001ab0
mov ebx, eax
push 0x10d
push str.RegistryHandler::SetStringValue
push str.RegistryHandler.cpp
push 6
mov byte [ebp - 4], 0x14
call fcn.100230e0
mov ecx, eax
call fcn.10023680
lea ecx, [ebp - 0x94]
call fcn.10002a10
mov edx, edi
push edx
mov dword [ebp - 4], 0xffffffff
call fcn.10023b80
mov al, 1
lea esp, [ebp - 0xc0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1007236c
mov esp, ebp
pop ebp
ret