Function at 0x437a00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4897a3
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x4ab4ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
movzx ebx, byte [esi + 0x51]
neg ebx
sbb ebx, ebx
and ebx, 0x100
or ebx, 0xf003f
call fcn.00437740
lea edi, [esi + 4]
test al, al
je 0x437a71
cmp dword [edi + 0x18], 8
jb 0x437a5b
mov eax, dword [edi + 4]
jmp 0x437a5e
lea eax, [edi + 4]
mov edx, dword [esi]
lea ecx, [ebp - 0x4c]
push ecx
push ebx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
jmp 0x437a9a
cmp dword [edi + 0x18], 8
jb 0x437a7c
mov eax, dword [edi + 4]
jmp 0x437a7f
lea eax, [edi + 4]
lea ecx, [ebp - 0x6c]
push ecx
lea edx, [ebp - 0x4c]
push edx
push 0
push ebx
push 0
push 0
push 0
push eax
mov eax, dword [esi]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
xor eax, eax
cmp ebx, eax
jne 0x437c49
mov ebx, 7
xor ecx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], cx
mov dword [ebp - 4], eax
push edi
lea edx, [ebp - 0x68]
push str.Successfully_created
push edx
call fcn.00406340
mov byte [ebp - 4], 1
push 0x48e874
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.004059f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
push ecx
push eax
call fcn.0041d4f0
add esp, 0x20
mov byte [ebp - 4], 1
cmp dword [ebp - 0x30], 8
jb 0x437b03
mov edx, dword [ebp - 0x44]
push edx
call fcn.00456b63
add esp, 4
xor eax, eax
xor edi, edi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], edi
mov word [ebp - 0x44], ax
mov byte [ebp - 4], al
cmp dword [ebp - 0x50], 8
jb 0x437b26
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00456b63
add esp, 4
xor edx, edx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], edi
mov word [ebp - 0x64], dx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 8
jb 0x437b4b
mov eax, dword [ebp - 0x28]
push eax
call fcn.00456b63
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
mov word [ebp - 0x28], cx
cmp dword [esi + 0x34], edi
je 0x437c38
xor edx, edx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
mov word [ebp - 0x28], dx
mov ebx, 3
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x4c]
sub eax, 1
je 0x437bb0
sub eax, ebx
jne 0x437c0f
cmp dword [esi + 0x38], 8
jb 0x437b9d
mov eax, dword [esi + 0x24]
push 4
add esi, 0x44
push esi
push 4
push edi
push eax
mov eax, dword [ebp - 0x4c]
push eax
jmp 0x437c09
push 4
lea eax, [esi + 0x24]
add esi, 0x44
push esi
push 4
push edi
push eax
mov eax, dword [ebp - 0x4c]
push eax
jmp 0x437c09
lea ecx, [esi + 0x3c]
push ecx
lea edx, [ebp - 0x68]
push edx
call fcn.00437340
add esp, 8
mov byte [ebp - 4], 4
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404f40
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x68]
call fcn.00403ac0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
mov eax, 8
add ecx, ecx
cmp dword [ebp - 0x14], eax
jae 0x437bf0
lea edx, [ebp - 0x28]
cmp dword [esi + 0x38], eax
jb 0x437bfa
mov eax, dword [esi + 0x24]
jmp 0x437bfd
lea eax, [esi + 0x24]
push ecx
mov ecx, dword [esi + 0x4c]
push edx
mov edx, dword [ebp - 0x4c]
push ecx
push edi
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 8
jb 0x437c28
mov eax, dword [ebp - 0x28]
push eax
call fcn.00456b63
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], edi
mov word [ebp - 0x28], cx
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x437d07
push str.RegOpenKeyEx_RegCreateKeyEx__1__
lea ecx, [ebp - 0x12c]
call fcn.0041f6a0
mov dword [ebp - 4], 5
push edi
push eax
call fcn.004235a0
add esp, 8
lea ecx, [ebp - 0x48]
push ecx
mov ecx, eax
call fcn.00414270
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x12c]
call fcn.0041e4f0
push 8
xor edx, edx
mov edi, 7
xor esi, esi
push str.REGISTRY
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], esi
mov word [ebp - 0x28], dx
call fcn.00405130
mov byte [ebp - 4], 8
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x48]
push ecx
push ebx
call fcn.0041d9d0
add esp, 0xc
mov byte [ebp - 4], 7
mov ebx, 8
cmp dword [ebp - 0x14], ebx
jb 0x437cd5
mov edx, dword [ebp - 0x28]
push edx
call fcn.00456b63
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], esi
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x30], ebx
jb 0x437cf9
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.00456b63
add esp, 4
xor edx, edx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], esi
mov word [ebp - 0x44], dx
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045718a
mov esp, ebp
pop ebp
ret