Function at 0x429690
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x44cec1
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x45f2b0]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45f2b0]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x18], eax
mov ebx, 2
mov dword [esp + 0xa0], ebx
mov eax, dword [esp + 0xb0]
mov esi, pe_nt_image_headers32
mov dword [esp + 0x14], 0
cmp dword [esp + 0xc4], esi
jae 0x429706
lea eax, [esp + 0xb0]
lea ecx, [esp + 0x14]
push ecx
push 0xf003f
push 0
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebp, eax
cmp ebp, ebx
jne 0x4298b8
mov eax, dword [esp + 0xb0]
cmp dword [esp + 0xc4], esi
jae 0x42973f
lea eax, [esp + 0xb0]
push 0
lea edx, [esp + 0x18]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ebp, eax
call fcn.004178a0
test eax, eax
je 0x42976f
call fcn.004353a0
mov eax, dword [esp + 0xb0]
cmp dword [esp + 0xc4], esi
jae 0x429786
lea eax, [esp + 0xb0]
push eax
push closesocket
lea eax, [esp + 0x28]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [esi + 0x18], 0xf
lea edi, [esi + 4]
mov dword [esi + 0x14], 0
mov byte [edi], 0
mov eax, dword [esi + 0x18]
mov dword [esp + 0x44], esp
cmp eax, 0x10
jb 0x4297ba
mov ecx, dword [edi]
jmp 0x4297bc
mov ecx, edi
cmp ecx, 0x455f78
ja 0x4297f7
cmp eax, 0x10
jb 0x4297cd
mov ecx, dword [edi]
jmp 0x4297cf
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
cmp edx, 0x455f78
jbe 0x4297f7
cmp eax, 0x10
jb 0x4297e3
mov edi, dword [edi]
push 0x38
mov eax, 0x455f78
sub eax, edi
push eax
push esi
mov ecx, esi
call fcn.00402d10
jmp 0x42983b
cmp eax, 0x38
jae 0x429809
mov ecx, dword [esi + 0x14]
push ecx
push 0x38
mov ecx, esi
call fcn.00403480
mov ecx, dword [esi + 0x18]
cmp ecx, 0x10
jb 0x429815
mov eax, dword [edi]
jmp 0x429817
mov eax, edi
push 0x38
push 0x455f78
push ecx
push eax
call fcn.00437feb
add esp, 0x10
cmp dword [esi + 0x18], 0x10
mov dword [esi + 0x14], 0x38
jb 0x429837
mov edi, dword [edi]
mov byte [edi + 0x38], 0
lea esi, [esp + 0x64]
call fcn.004014c0
mov byte [esp + 0xac], 3
call fcn.00401580
mov esi, pe_nt_image_headers32
mov byte [esp + 0xa8], 4
cmp dword [eax + 0x18], esi
jb 0x429868
mov eax, dword [eax + 4]
jmp 0x42986b
add eax, 4
mov edx, dword [esp + 0x20]
push eax
push 1
push edx
call fcn.0041c990
add esp, 0x14
cmp dword [esp + 0x38], esi
jb 0x42988e
mov eax, dword [esp + 0x24]
push eax
call fcn.00437f8b
add esp, 4
lea esi, [esp + 0x3c]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
mov byte [esp + 0xa0], bl
call fcn.00429620
mov esi, pe_nt_image_headers32
cmp ebp, 5
jne 0x429a02
mov eax, dword [esp + 0xb0]
cmp dword [esp + 0xc4], esi
jae 0x4298d8
lea eax, [esp + 0xb0]
push eax
push closesocket
lea ecx, [esp + 0x28]
push ecx
sub esp, 0x1c
mov esi, esp
xor ebp, ebp
mov dword [esi + 0x18], 0xf
lea edi, [esi + 4]
mov dword [esi + 0x14], ebp
mov byte [edi], 0
mov eax, dword [esi + 0x18]
mov ebx, pe_nt_image_headers32
mov dword [esp + 0x44], esp
cmp eax, ebx
jb 0x42990e
mov ecx, dword [edi]
jmp 0x429910
mov ecx, edi
cmp ecx, str.e6Eee
ja 0x429949
cmp eax, ebx
jb 0x429920
mov ecx, dword [edi]
jmp 0x429922
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
cmp edx, str.e6Eee
jbe 0x429949
cmp eax, ebx
jb 0x429935
mov edi, dword [edi]
push 0x3b
mov eax, str.e6Eee
sub eax, edi
push eax
push esi
mov ecx, esi
call fcn.00402d10
jmp 0x42998b
cmp eax, 0x3b
jae 0x42995b
mov ecx, dword [esi + 0x14]
push ecx
push 0x3b
mov ecx, esi
call fcn.00403480
mov ecx, dword [esi + 0x18]
cmp ecx, ebx
jb 0x429966
mov eax, dword [edi]
jmp 0x429968
mov eax, edi
push 0x3b
push str.e6Eee
push ecx
push eax
call fcn.00437feb
add esp, 0x10
mov dword [esi + 0x14], 0x3b
cmp dword [esi + 0x18], ebx
jb 0x429987
mov edi, dword [edi]
mov byte [edi + 0x3b], 0
lea esi, [esp + 0x64]
call fcn.004014c0
mov byte [esp + 0xac], 5
call fcn.00401580
mov byte [esp + 0xa8], 6
cmp dword [eax + 0x18], ebx
jb 0x4299b3
mov eax, dword [eax + 4]
jmp 0x4299b6
add eax, 4
mov edx, dword [esp + 0x20]
push eax
push 1
push edx
call fcn.0041c990
add esp, 0x14
cmp dword [esp + 0x38], ebx
jb 0x4299d9
mov eax, dword [esp + 0x24]
push eax
call fcn.00437f8b
add esp, 4
lea esi, [esp + 0x3c]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebp
mov byte [esp + 0x24], 0
call fcn.00429620
call fcn.00417b30
mov esi, pe_nt_image_headers32
jmp 0x429ba9
test ebp, ebp
je 0x429b47
mov eax, dword [esp + 0xb0]
cmp dword [esp + 0xc4], esi
jae 0x429a21
lea eax, [esp + 0xb0]
push eax
push closesocket
push ebp
lea ecx, [esp + 0x2c]
push ecx
sub esp, 0x1c
mov esi, esp
mov ebp, 0xf
mov dword [esi + 0x18], ebp
lea edi, [esi + 4]
mov dword [esi + 0x14], 0
mov byte [edi], 0
mov eax, dword [esi + 0x18]
mov ebx, pe_nt_image_headers32
mov dword [esp + 0x48], esp
cmp eax, ebx
jb 0x429a5b
mov ecx, dword [edi]
jmp 0x429a5d
mov ecx, edi
cmp ecx, str._DRTSN
ja 0x429a96
cmp eax, ebx
jb 0x429a6d
mov ecx, dword [edi]
jmp 0x429a6f
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
cmp edx, str._DRTSN
jbe 0x429a96
cmp eax, ebx
jb 0x429a82
mov edi, dword [edi]
push 0x3e
mov eax, str._DRTSN
sub eax, edi
push eax
push esi
mov ecx, esi
call fcn.00402d10
jmp 0x429ad8
cmp eax, 0x3e
jae 0x429aa8
mov ecx, dword [esi + 0x14]
push ecx
push 0x3e
mov ecx, esi
call fcn.00403480
mov ecx, dword [esi + 0x18]
cmp ecx, ebx
jb 0x429ab3
mov eax, dword [edi]
jmp 0x429ab5
mov eax, edi
push 0x3e
push str._DRTSN
push ecx
push eax
call fcn.00437feb
add esp, 0x10
mov dword [esi + 0x14], 0x3e
cmp dword [esi + 0x18], ebx
jb 0x429ad4
mov edi, dword [edi]
mov byte [edi + 0x3e], 0
lea esi, [esp + 0x68]
call fcn.004014c0
mov byte [esp + 0xb0], 9
call fcn.004018b0
mov byte [esp + 0xac], 0xa
cmp dword [eax + 0x18], ebx
jb 0x429b00
mov eax, dword [eax + 4]
jmp 0x429b03
add eax, 4
mov edx, dword [esp + 0x24]
push eax
push 1
push edx
call fcn.0041c990
add esp, 0x18
cmp dword [esp + 0x38], ebx
jb 0x429b26
mov eax, dword [esp + 0x24]
push eax
call fcn.00437f8b
add esp, 4
lea esi, [esp + 0x3c]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
call fcn.00429620
mov esi, pe_nt_image_headers32
jmp 0x429ba9
mov edx, dword [esp + 0x14]
test edx, edx
je 0x429be7
mov ecx, dword [esp + 0xe8]
cmp dword [esp + 0xfc], esi
jae 0x429b6a
lea ecx, [esp + 0xe8]
mov eax, dword [esp + 0xcc]
cmp dword [esp + 0xe0], esi
jae 0x429b81
lea eax, [esp + 0xcc]
mov edi, dword [esp + 0xf8]
push edi
push ecx
push 1
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call fcn.0042f900
test eax, eax
je 0x429ba9
call fcn.00406c60
call fcn.0041a0f0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x429be7
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00417a20
test eax, eax
je 0x429bc6
call fcn.0041a1c0
call fcn.00417a90
sub eax, 1
jne 0x429be7
call dword [sym.imp.USER32.dll_GetActiveWindow]
call dword [sym.imp.USER32.dll_GetCapture]
call dword [sym.imp.USER32.dll_GetClipboardOwner]
call fcn.004353a0
cmp dword [esp + 0xc4], esi
jb 0x429c00
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.00437f8b
add esp, 4
mov edi, 0xf
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc0], 0
mov byte [esp + 0xb0], 0
cmp dword [esp + 0xe0], esi
jb 0x429c38
mov edx, dword [esp + 0xcc]
push edx
call fcn.00437f8b
add esp, 4
mov dword [esp + 0xe0], edi
mov dword [esp + 0xdc], 0
mov byte [esp + 0xcc], 0
cmp dword [esp + 0xfc], esi
jb 0x429c6b
mov eax, dword [esp + 0xe8]
push eax
call fcn.00437f8b
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.00437983
add esp, 0x90
ret 0x58