Function at 0x4236f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4475c0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x45a028]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [edi + 0x10]
mov ebx, 8
mov dword [ebp - 0x74], edx
cmp dword [edi + 0x14], ebx
jb 0x42372e
mov eax, dword [edi]
jmp 0x423730
mov eax, edi
lea ecx, [ecx + ecx + 2]
push ecx
push eax
push 1
push 0
push str.host
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x423854
mov esi, dword [edi + 0x1c]
cmp esi, dword [edi + 0x20]
je 0x42384a
lea ebx, [ebx]
xor edx, edx
push 0xd
mov eax, str.sourceReplace
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], dx
call fcn.00405f90
mov dword [ebp - 4], 0
mov ecx, esi
sub ecx, dword [edi + 0x1c]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
xor eax, eax
push 0xa
lea edx, [ebp - 0x38]
push edx
push ecx
mov word [ebp - 0x38], ax
mov dword [ebp - 0x36], eax
mov dword [ebp - 0x32], eax
mov dword [ebp - 0x2e], eax
mov dword [ebp - 0x2a], eax
mov word [ebp - 0x26], ax
call dword [sym.imp.MSVCR100.dll__itow]
lea eax, [ebp - 0x38]
add esp, 0xc
lea ecx, [eax + 2]
mov edi, edi
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4237d0
sub eax, ecx
sar eax, 1
push eax
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x70]
call fcn.00409ba0
mov ecx, dword [esi + 0x10]
cmp dword [esi + 0x14], ebx
jb 0x4237f7
mov eax, dword [esi]
jmp 0x4237f9
mov eax, esi
mov edx, dword [ebp - 0x70]
cmp dword [ebp - 0x5c], ebx
jae 0x423804
lea edx, [ebp - 0x70]
lea ecx, [ecx + ecx + 2]
push ecx
push eax
push 1
push 0
push edx
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
jne 0x42386f
cmp dword [ebp - 0x5c], 8
jb 0x423839
mov eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
add esi, 0x1c
mov ebx, 8
cmp esi, dword [edi + 0x20]
jne 0x423760
mov esi, dword [edi + 0x2c]
cmp esi, dword [edi + 0x30]
jne 0x42388b
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00441db6
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x5c], 8
jb 0x423882
mov ecx, dword [ebp - 0x70]
push ecx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
mov eax, ebx
jmp 0x423854
mov ebx, 8
xor edx, edx
push 0xa
mov eax, 0x44ff80
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], 0
mov word [ebp - 0x54], dx
call fcn.00405f90
mov dword [ebp - 4], 1
mov ecx, esi
sub ecx, dword [edi + 0x2c]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
xor eax, eax
push 0xa
lea edx, [ebp - 0x24]
push edx
push ecx
mov word [ebp - 0x24], ax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], ax
call dword [sym.imp.MSVCR100.dll__itow]
lea eax, [ebp - 0x24]
add esp, 0xc
lea ecx, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x423900
sub eax, ecx
sar eax, 1
push eax
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x54]
call fcn.00409ba0
mov ecx, dword [esi + 0x10]
cmp dword [esi + 0x14], ebx
jb 0x423927
mov eax, dword [esi]
jmp 0x423929
mov eax, esi
mov edx, dword [ebp - 0x54]
cmp dword [ebp - 0x40], ebx
jae 0x423934
lea edx, [ebp - 0x54]
lea ecx, [ecx + ecx + 2]
push ecx
push eax
push 1
push 0
push edx
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
jne 0x42397a
cmp dword [ebp - 0x40], 8
jb 0x423969
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
add esi, 0x1c
cmp esi, dword [edi + 0x30]
jne 0x423886
jmp 0x423852
cmp dword [ebp - 0x40], 8
jb 0x423882
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
mov eax, ebx
jmp 0x423854