Function at 0x5d93f0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x81d317
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
mov eax, dword [esp + 0x118]
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x10], esi
call fcn.005d7300
mov ecx, esi
mov dword [esp + 0x11c], 0
mov dword [esi], 0x869e84
call dword [0x869e88]
test al, al
je 0x5d94ca
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x5d944e
mov eax, 0x8522f8
lea ecx, [esi + 0x38]
lea edx, [esi + 0x34]
push ecx
mov ecx, dword [esp + 0x138]
push edx
mov edx, dword [esi + 0x1c]
push ecx
push 2
push 0
push 0
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [esi + 0x18], eax
lea eax, [esi + 4]
test eax, eax
je 0x5d9480
lea edi, [eax + 4]
jmp 0x5d9482
xor edi, edi
push str.RegCreateKeyExW__
call fcn.007ac4d2
add esp, 4
mov ecx, edi
push eax
push str.RegCreateKeyExW__
call fcn.00403980
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
test al, al
je 0x5d94c6
push esi
lea ecx, [esp + 0xa0]
call fcn.005daf90
lea ecx, [esp + 0x9c]
push 0x8c1574
push ecx
call fcn.007ac5c6
mov byte [esi + 0x30], 1
mov edi, dword [esp + 0x12c]
mov dword [esi], 0x869fb8
mov dword [esp + 0x11c], 1
cmp dword [edi], 0
je 0x5d94fe
push 0x146
push str.C:ReposBvSrcNoCrtLibdatavect.h
push 0x8fcf74
call fcn.006d2b10
add esp, 0xc
mov ebp, dword [edi + 8]
cmp ebp, 0xffffffff
jbe 0x5d951a
push 0xe
push str.C:ReposBvSrcNoCrtLibNumCvt.h
push str.value___OutType__1_
call fcn.006d2b10
add esp, 0xc
cmp dword [edi], 0
je 0x5d9536
push 0x140
push str.C:ReposBvSrcNoCrtLibdatavect.h
push 0x8fcf74
call fcn.006d2b10
add esp, 0xc
mov edx, dword [esi]
mov edi, dword [edi + 4]
mov ecx, esi
call dword [edx + 8]
test al, al
jne 0x5d9664
mov eax, dword [esp + 0x128]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x5d9564
mov eax, dword [eax + 4]
test eax, eax
jne 0x5d9566
mov eax, 0x8522f8
jmp 0x5d9566
xor eax, eax
mov ecx, dword [esp + 0x130]
mov edx, dword [esi + 0x34]
push ebp
push edi
push ecx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ebp, [esi + 4]
mov dword [esi + 0x18], eax
test ebp, ebp
je 0x5d958c
add ebp, 4
jmp 0x5d958e
xor ebp, ebp
push str.RegSetValueExW__
call fcn.007ac4d2
add esp, 4
mov edi, eax
mov ecx, ebp
push 1
push edi
call fcn.00404d30
test al, al
je 0x5d95cc
mov eax, dword [ebp + 4]
push edi
push str.RegSetValueExW__
push eax
call fcn.004069b0
mov eax, dword [ebp + 4]
mov dword [ebp + 8], edi
add esp, 0xc
mov word [eax + edi*2], 0
lea eax, [eax + edi*2]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
test al, al
je 0x5d9664
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call dword [eax + 0x18]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x120], 2
call fcn.005cec50
mov dword [esp + 0x24], vtable.WWLib::BaseException.0
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x120], 4
call fcn.00404f20
mov edx, dword [esi]
lea eax, [esp + 0x70]
push eax
mov ecx, esi
call dword [edx + 0xc]
mov edx, dword [esi]
mov ecx, esi
mov byte [esp + 0x11c], 5
call dword [edx + 0x10]
lea ecx, [esp + 0x88]
mov dword [esp + 0x84], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x14]
lea edx, [esp + 0x24]
push 0x8c1574
push edx
mov byte [esp + 0x124], 1
mov dword [esp + 0x2c], 0x869e24
call fcn.007ac5c6
mov ecx, dword [esp + 0x114]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x114
ret 0x14