Function at 0x5d9680
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x81d367
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov esi, ecx
push ebx
mov dword [esp + 0x18], esi
call fcn.004d2780
mov eax, dword [esp + 0x12c]
mov cl, byte [esp + 0x13]
lea edi, [esi + 0x20]
mov dword [esi], vtable.WWLib::CWinApiBase_1_.0
mov dword [esi + 0x1c], eax
push ebx
mov byte [edi], cl
mov ecx, edi
call fcn.00404f20
push 0x951210
call fcn.007ac4d2
add esp, 4
mov ecx, edi
push eax
push 0x951210
call fcn.00403980
lea ebp, [esi + 0x34]
mov byte [esi + 0x30], bl
mov dword [esi + 0x18], ebx
mov dword [ebp], ebx
mov ecx, esi
mov dword [esp + 0x124], ebx
mov dword [esi], 0x869e84
call dword [0x869e88]
test al, al
mov ebx, 1
je 0x5d97a4
mov eax, dword [esi + 0x28]
test eax, eax
je 0x5d972f
mov edi, dword [edi + 4]
test edi, edi
jne 0x5d972b
mov eax, 0x8522f8
jmp 0x5d9731
mov eax, edi
jmp 0x5d9731
xor eax, eax
mov edx, dword [esi + 0x1c]
push ebp
push 2
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [esi + 0x18], eax
lea eax, [esi + 4]
test eax, eax
je 0x5d9750
lea edi, [eax + 4]
jmp 0x5d9752
xor edi, edi
push str.RegOpenKeyExW__
call fcn.007ac4d2
add esp, 4
mov ecx, edi
push eax
push str.RegOpenKeyExW__
call fcn.00403980
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
test al, al
je 0x5d97a1
push esi
lea ecx, [esp + 0xa8]
call fcn.00537590
lea ecx, [esp + 0xa4]
push 0x8c1574
push ecx
mov dword [esp + 0xac], 0x869e24
call fcn.007ac5c6
mov byte [esi + 0x30], bl
mov ecx, esi
mov dword [esp + 0x124], ebx
mov dword [esi], 0x869fb8
call dword [0x869fc0]
test al, al
jne 0x5d98db
mov eax, dword [esp + 0x130]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x5d97dd
mov eax, dword [eax + 4]
test eax, eax
jne 0x5d97df
mov eax, 0x8522f8
jmp 0x5d97df
xor eax, eax
mov edx, dword [esp + 0x138]
mov ecx, dword [esp + 0x134]
push edx
mov edx, dword [esp + 0x140]
push ecx
push edx
push 0
push eax
mov eax, dword [ebp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ebp, [esi + 4]
mov dword [esi + 0x18], eax
test ebp, ebp
je 0x5d9813
add ebp, 4
jmp 0x5d9815
xor ebp, ebp
push str.RegSetValueExW__
call fcn.007ac4d2
add esp, 4
mov edi, eax
mov ecx, ebp
push ebx
push edi
call fcn.00404d30
test al, al
je 0x5d984b
mov eax, dword [ebp + 4]
push edi
push str.RegSetValueExW__
push eax
call fcn.004069b0
add esp, 0xc
mov ecx, ebp
push edi
call fcn.00404c90
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
test al, al
je 0x5d98db
mov eax, dword [esi]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call dword [eax + 0x18]
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x128], 2
call fcn.005daec0
push 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x128], 4
call fcn.00404f20
mov edx, dword [esi]
lea eax, [esp + 0x78]
push eax
mov ecx, esi
call dword [edx + 0xc]
mov edx, dword [esi]
mov ecx, esi
mov byte [esp + 0x124], 5
call dword [edx + 0x10]
lea ecx, [esp + 0x90]
mov dword [esp + 0x8c], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x14]
lea edx, [esp + 0x2c]
push 0x8c1574
push edx
mov byte [esp + 0x12c], 1
mov dword [esp + 0x34], 0x869e24
call fcn.007ac5c6
mov ecx, dword [esp + 0x11c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x118
ret 0x14