Function at 0x437ed0
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474b4b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
mov eax, dword [0x4a5010]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov ecx, dword [ebx + 8]
lea eax, [ebp - 0x6c]
push eax
call fcn.00439f30
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 0x10
jb 0x437f2f
mov eax, dword [esi]
jmp 0x437f31
mov eax, esi
push dword [esi + 0x10]
push eax
call fcn.0043d810
cmp dword [ebp - 0x58], 0x10
lea eax, [ebp - 0x6c]
push dword [ebp - 0x5c]
cmovae eax, dword [ebp - 0x6c]
push eax
call fcn.0043d810
cmp dword [edi + 0x14], 0x10
xorps xmm0, xmm0
movups xmmword [ebp - 0x54], xmm0
movups xmmword [ebp - 0x44], xmm0
movq qword [ebp - 0x34], xmm0
jb 0x437f66
mov edi, dword [edi]
mov dword [ebp - 0x70], 0xf
mov dword [ebp - 0x74], 0
mov byte [ebp - 0x84], 0
cmp byte [edi], 0
jne 0x437f84
xor ecx, ecx
jmp 0x437f99
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x437f90
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x84]
call fcn.00439ab0
push 0xffffffffffffffff
mov byte [ebp - 4], 1
lea eax, [ebp - 0x84]
push 0
push eax
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x54], 0x80000001
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
call fcn.00426a30
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x70]
cmp eax, 0x10
jb 0x438003
inc eax
lea ecx, [ebp - 0x84]
push eax
push dword [ebp - 0x84]
call fcn.00421800
xor ecx, ecx
mov dword [ebp - 0x24], 0
xorps xmm0, xmm0
mov dword [ebp - 0x88], ecx
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov byte [ebp - 4], 5
xor edi, edi
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x438070
cmp eax, edi
jbe 0x438087
cmp dword [ebp - 0x58], 0x10
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x6c]
add eax, edi
push eax
call fcn.004392b0
mov eax, dword [ebp - 0x5c]
inc edi
cmp eax, edi
ja 0x438049
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x88], eax
mov eax, dword [esi + 0x10]
xor edi, edi
test eax, eax
je 0x4380ab
cmp eax, edi
jbe 0x438087
cmp dword [esi + 0x14], 0x10
jb 0x438091
mov eax, dword [esi]
jmp 0x438093
push str.invalid_string_position
call fcn.0043e09d
mov eax, esi
add eax, edi
lea ecx, [ebp - 0x20]
push eax
call fcn.004392b0
mov eax, dword [esi + 0x10]
inc edi
cmp eax, edi
ja 0x43807d
mov esi, dword [ebp - 0x1c]
jmp 0x4380ad
xor esi, esi
push 4
push str.code
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x70], 0xf
mov dword [ebp - 0x74], 0
mov byte [ebp - 0x84], 0
call fcn.00439ab0
lea ecx, [ebp - 0x54]
call fcn.0043db30
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test al, al
je 0x43810e
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x84]
mov ecx, dword [ebp - 0x88]
sub ecx, edx
cmp dword [ebp - 0x70], 0x10
push ecx
cmovae eax, dword [ebp - 0x84]
push edx
push 3
push 0
push eax
push dword [ebp - 0x38]
call edi
mov eax, dword [ebp - 0x70]
cmp eax, 0x10
jb 0x438129
inc eax
lea ecx, [ebp - 0x84]
push eax
push dword [ebp - 0x84]
call fcn.00421800
push 4
push str.path
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x70], 0xf
mov dword [ebp - 0x74], 0
mov byte [ebp - 0x84], 0
call fcn.00439ab0
lea ecx, [ebp - 0x54]
call fcn.0043db30
test al, al
je 0x43817e
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x84]
sub esi, ecx
cmp dword [ebp - 0x70], 0x10
push esi
cmovae eax, dword [ebp - 0x84]
push ecx
push 3
push 0
push eax
push dword [ebp - 0x38]
call edi
mov eax, dword [ebp - 0x70]
cmp eax, 0x10
jb 0x438199
inc eax
lea ecx, [ebp - 0x84]
push eax
push dword [ebp - 0x84]
call fcn.00421800
lea ecx, [ebp - 0x20]
call fcn.00439460
lea ecx, [ebp - 0x2c]
call fcn.00439460
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x4381be
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x3c]
cmp eax, 0x10
jb 0x4381d3
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.00421800
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
cmp eax, 0x10
jb 0x4381fa
inc eax
lea ecx, [ebp - 0x6c]
push eax
push dword [ebp - 0x6c]
call fcn.00421800
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043f53f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret