Function at 0x421820
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
push edi
mov eax, dword [0x58bb50]
xor eax, 0x7204
mov ecx, dword [0x58bb54]
xor ecx, 0
push 0
push 0x20019
push ecx
push eax
call fcn.00567560
push 0
push 5
push edx
push eax
call fcn.00567560
mov esi, eax
mov edi, edx
add esi, 0x3802bc
adc edi, 0
push 0
push 0x7204
mov edx, dword [0x58bb44]
push edx
mov eax, dword [0x58bb40]
push eax
call fcn.00567560
push 0
push 0x1c
push edx
push eax
call fcn.00567440
add esi, eax
adc edi, edx
add esi, 0x20019
adc edi, 0
xor esi, 0x1c
xor edi, 0
push edi
push esi
call fcn.0041fbd0
add esp, 8
mov dword [ebp - 0x68], eax
push 0
push 0x7204
mov ecx, dword [0x58bb44]
push ecx
mov edx, dword [0x58bb40]
push edx
call fcn.00567560
push 0
push 0x1c
push edx
push eax
call fcn.00567440
mov esi, eax
mov edi, edx
mov eax, dword [0x58bb50]
xor eax, 0x7204
mov ecx, dword [0x58bb54]
xor ecx, 0
push 0
push 5
push ecx
push eax
call fcn.00567560
add eax, 0x1c
adc edx, 0
add eax, esi
adc edx, edi
add eax, 1
adc edx, 0
xor eax, 0x1c
xor edx, 0
push edx
push eax
call fcn.0041fbd0
add esp, 8
mov dword [ebp - 0x6c], eax
xor edx, edx
mov byte [ebp - 1], dl
lea eax, [ebp - 0x1fb]
push eax
lea ecx, [ebp - 1]
call fcn.00422460
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
jmp 0x42193c
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x16
jae 0x421975
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x14]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0x5c]
add edx, dword [ebp - 0x10]
movsx eax, byte [edx]
xor eax, ecx
mov byte [ebp - 2], al
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x60]
add edx, dword [ebp - 0x10]
mov al, byte [ebp - 2]
mov byte [edx], al
jmp 0x421933
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x64], ecx
mov edx, 0x16
shl edx, 0
mov eax, dword [ebp - 0x64]
mov byte [eax + edx], 0
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x70], ecx
xor edx, edx
mov dword [ebp - 0x100], 0x10cdc
mov dword [ebp - 0xfc], edx
mov eax, dword [ebp - 0x100]
mov ecx, dword [ebp - 0xfc]
xor eax, 0x1c
xor ecx, 0
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], ecx
xor edx, edx
mov dword [ebp - 0x108], 0x1c
mov dword [ebp - 0x104], edx
mov eax, dword [0x58bb40]
xor eax, 0x7204
mov ecx, dword [0x58bb44]
xor ecx, 0
push 0
push 6
push ecx
push eax
call fcn.00567560
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], edx
xor edx, edx
mov dword [ebp - 0x120], 0x10cc0
mov dword [ebp - 0x11c], edx
mov eax, dword [ebp - 0x108]
mov ecx, dword [ebp - 0x104]
mov edx, dword [ebp - 0x10c]
add eax, dword [ebp - 0x110]
adc ecx, edx
add eax, 1
adc ecx, 0
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], ecx
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x114]
mov edx, dword [ebp - 0x11c]
sub eax, dword [ebp - 0x120]
sbb ecx, edx
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], ecx
mov eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x124]
mov edx, dword [ebp - 0x130]
mov esi, dword [ebp - 0x12c]
push esi
push edx
push ecx
push eax
call fcn.00567440
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], edx
lea eax, [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x68]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
mov eax, dword [ebp - 0x70]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cdq
mov ecx, dword [ebp - 0x138]
mov esi, dword [ebp - 0x134]
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x144], esi
mov edx, dword [ebp - 0x140]
cmp edx, dword [ebp - 0x148]
jne 0x421c31
mov eax, dword [ebp - 0x13c]
cmp eax, dword [ebp - 0x144]
jne 0x421c31
mov ecx, dword [ebp - 0x74]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x1b0]
mov dword [ebp - 0x78], edx
mov ecx, dword [ebp - 0x78]
call fcn.0041b910
mov dword [ebp - 0x18], 0x57b604
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x18]
mov dl, byte [ecx]
mov byte [ebp - 3], dl
add dword [ebp - 0x18], 1
cmp byte [ebp - 3], 0
jne 0x421b22
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x7c]
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
push ecx
push 0x57b604
lea ecx, [ebp - 0x1b0]
call fcn.0041a1e0
mov edx, dword [ebp - 0x1a0]
mov dword [ebp - 0x84], edx
cmp dword [ebp - 0x84], 0xf
jae 0x421b9b
cmp dword [ebp - 0x1a0], 0
jne 0x421b78
mov dword [ebp - 0x38], 1
jmp 0x421b7f
mov dword [ebp - 0x38], 0
movzx eax, byte [ebp - 0x38]
test eax, eax
jne 0x421b9b
lea ecx, [ebp - 0x1b0]
push ecx
lea ecx, [ebp - 0x1b0]
call fcn.00414e70
jmp 0x421ba8
push 0
lea ecx, [ebp - 0x1b0]
call fcn.0041bb40
cmp dword [ebp - 0x1a0], 0
jne 0x421bba
mov dword [ebp - 0x3c], 1
jmp 0x421bc1
mov dword [ebp - 0x3c], 0
movzx edx, byte [ebp - 0x3c]
test edx, edx
je 0x421c21
push 8
lea ecx, [ebp - 0x1b0]
call fcn.004ef4d0
mov dword [ebp - 0x1c], str.j3l6lrek
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x1c]
mov dl, byte [ecx]
mov byte [ebp - 4], dl
add dword [ebp - 0x1c], 1
cmp byte [ebp - 4], 0
jne 0x421be9
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x88]
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
push ecx
push str.j3l6lrek
lea ecx, [ebp - 0x1b0]
call fcn.004172e0
lea ecx, [ebp - 0x1b0]
call fcn.00417140
jmp 0x422374
mov edx, dword [0x58bb50]
xor edx, 0x7204
mov eax, dword [0x58bb54]
xor eax, 0
push 0
push 0x20006
push eax
push edx
call fcn.00567560
push 0
push 5
push edx
push eax
call fcn.00567560
mov esi, eax
mov edi, edx
add esi, 0x3800a8
adc edi, 0
push 0
push 0x7204
mov ecx, dword [0x58bb44]
push ecx
mov edx, dword [0x58bb40]
push edx
call fcn.00567560
push 0
push 0x1c
push edx
push eax
call fcn.00567440
add esi, eax
adc edi, edx
add esi, 0x20006
adc edi, 0
xor esi, 0x1c
xor edi, 0
push edi
push esi
call fcn.0041fbd0
add esp, 8
mov dword [ebp - 0x9c], eax
push 0
push 0x7204
mov eax, dword [0x58bb44]
push eax
mov ecx, dword [0x58bb40]
push ecx
call fcn.00567560
push 0
push 0x1c
push edx
push eax
call fcn.00567440
mov esi, eax
mov edi, edx
mov edx, dword [0x58bb50]
xor edx, 0x7204
mov eax, dword [0x58bb54]
xor eax, 0
push 0
push 5
push eax
push edx
call fcn.00567560
add eax, 0x1c
adc edx, 0
add eax, esi
adc edx, edi
add eax, 1
adc edx, 0
xor eax, 0x1c
xor edx, 0
push edx
push eax
call fcn.0041fbd0
add esp, 8
mov dword [ebp - 0xa0], eax
xor ecx, ecx
mov byte [ebp - 5], cl
lea edx, [ebp - 0x213]
push edx
lea ecx, [ebp - 5]
call fcn.00422520
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0
jmp 0x421d49
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x16
jae 0x421d8e
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x24]
movsx eax, byte [edx]
mov ecx, dword [ebp - 0x90]
add ecx, dword [ebp - 0x20]
movsx edx, byte [ecx]
xor edx, eax
mov byte [ebp - 6], dl
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
add ecx, dword [ebp - 0x20]
mov dl, byte [ebp - 6]
mov byte [ecx], dl
jmp 0x421d40
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x98], eax
mov ecx, 0x16
shl ecx, 0
mov edx, dword [ebp - 0x98]
mov byte [edx + ecx], 0
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0xa4], eax
xor ecx, ecx
mov dword [ebp - 0x150], 0x10cdc
mov dword [ebp - 0x14c], ecx
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp - 0x14c]
xor edx, 0x1c
xor eax, 0
mov dword [ebp - 0x168], edx
mov dword [ebp - 0x164], eax
xor ecx, ecx
mov dword [ebp - 0x158], 0x1c
mov dword [ebp - 0x154], ecx
mov edx, dword [0x58bb40]
xor edx, 0x7204
mov eax, dword [0x58bb44]
xor eax, 0
push 0
push 6
push eax
push edx
call fcn.00567560
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x15c], edx
xor ecx, ecx
mov dword [ebp - 0x170], 0x10cc0
mov dword [ebp - 0x16c], ecx
mov edx, dword [ebp - 0x158]
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x15c]
add edx, dword [ebp - 0x160]
adc eax, ecx
add edx, 1
adc eax, 0
mov dword [ebp - 0x180], edx
mov dword [ebp - 0x17c], eax
mov edx, dword [ebp - 0x168]
mov eax, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x16c]
sub edx, dword [ebp - 0x170]
sbb eax, ecx
mov dword [ebp - 0x178], edx
mov dword [ebp - 0x174], eax
mov edx, dword [ebp - 0x178]
mov eax, dword [ebp - 0x174]
mov ecx, dword [ebp - 0x180]
mov esi, dword [ebp - 0x17c]
push esi
push ecx
push eax
push edx
call fcn.00567440
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x184], edx
push 0
lea edx, [ebp - 0x40]
push edx
push 0
mov eax, dword [ebp - 0x9c]
push eax
mov ecx, dword [ebp - 0xa0]
push ecx
push 0
push 0
mov edx, dword [ebp - 0xa4]
push edx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cdq
mov ecx, dword [ebp - 0x188]
mov esi, dword [ebp - 0x184]
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x18c], edx
mov dword [ebp - 0x198], ecx
mov dword [ebp - 0x194], esi
mov edx, dword [ebp - 0x190]
cmp edx, dword [ebp - 0x198]
jne 0x42229a
mov eax, dword [ebp - 0x18c]
cmp eax, dword [ebp - 0x194]
jne 0x42229a
mov dword [ebp - 0xb8], 1
mov eax, dword [0x58bb48]
cdq
mov esi, eax
mov edi, edx
add esi, 8
adc edi, 0
mov eax, dword [0x58bb4c]
cdq
add eax, 0x7204
adc edx, 0
push 0
push 0x7204
push edx
push eax
call fcn.00567560
mov ecx, eax
mov ebx, edx
add ecx, 4
adc ebx, 0
mov eax, dword [0x58bb4c]
cdq
add eax, 8
adc edx, 0
push edx
push eax
push ebx
push ecx
call fcn.00567560
add esi, eax
adc edi, edx
add esi, 0x7204
adc edi, 0
push edi
push esi
call fcn.0041fb00
add esp, 8
mov dword [ebp - 0xb4], eax
mov edx, dword [0x58bb50]
xor edx, 0x7204
mov eax, dword [0x58bb54]
xor eax, 0
push 0
push 4
push eax
push edx
call fcn.00567560
push 0
push 5
push edx
push eax
call fcn.00567560
mov esi, eax
mov edi, edx
add esi, 0x70
adc edi, 0
push 0
push 0x7204
mov ecx, dword [0x58bb44]
push ecx
mov edx, dword [0x58bb40]
push edx
call fcn.00567560
push 0
push 0x1c
push edx
push eax
call fcn.00567440
add esi, eax
adc edi, edx
add esi, 4
adc edi, 0
xor esi, 0x1c
xor edi, 0
push edi
push esi
call fcn.0041fbd0
add esp, 8
mov dword [ebp - 0xbc], eax
push 0
push 0x7204
mov eax, dword [0x58bb44]
push eax
mov ecx, dword [0x58bb40]
push ecx
call fcn.00567560
push 0
push 0x1c
push edx
push eax
call fcn.00567440
mov esi, eax
mov edi, edx
mov edx, dword [0x58bb50]
xor edx, 0x7204
mov eax, dword [0x58bb54]
xor eax, 0
push 0
push 0
push eax
push edx
call fcn.00567560
push 0
push 5
push edx
push eax
call fcn.00567560
add eax, esi
adc edx, edi
xor eax, 0x1c
xor edx, 0
push edx
push eax
call fcn.0041fbd0
add esp, 8
mov dword [ebp - 0xc0], eax
xor ecx, ecx
mov byte [ebp - 7], cl
lea edx, [ebp - 0x1e3]
push edx
lea ecx, [ebp - 7]
call fcn.004225e0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0
jmp 0x4220ab
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 9
jae 0x4220f0
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0xa8], ecx
mov edx, dword [ebp - 0x2c]
movsx eax, byte [edx]
mov ecx, dword [ebp - 0xa8]
add ecx, dword [ebp - 0x28]
movsx edx, byte [ecx]
xor edx, eax
mov byte [ebp - 8], dl
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
add ecx, dword [ebp - 0x28]
mov dl, byte [ebp - 8]
mov byte [ecx], dl
jmp 0x4220a2
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0xb0], eax
mov ecx, 9
shl ecx, 0
mov edx, dword [ebp - 0xb0]
mov byte [edx + ecx], 0
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0xc8], ecx
mov edx, dword [ebp - 0xb4]
push edx
lea eax, [ebp - 0xb8]
push eax
mov ecx, dword [ebp - 0xbc]
push ecx
mov edx, dword [ebp - 0xc0]
push edx
mov eax, dword [ebp - 0xc4]
push eax
mov ecx, dword [ebp - 0xc8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x40]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x1c8]
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
call fcn.0041b910
mov dword [ebp - 0x30], 0x57b604
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0xd0], ecx
mov edx, dword [ebp - 0x30]
mov al, byte [edx]
mov byte [ebp - 9], al
add dword [ebp - 0x30], 1
cmp byte [ebp - 9], 0
jne 0x422187
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], ecx
mov edx, dword [ebp - 0xd4]
push edx
push 0x57b604
lea ecx, [ebp - 0x1c8]
call fcn.0041a1e0
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0xf
jae 0x422209
cmp dword [ebp - 0x1b8], 0
jne 0x4221e6
mov dword [ebp - 0x44], 1
jmp 0x4221ed
mov dword [ebp - 0x44], 0
movzx ecx, byte [ebp - 0x44]
test ecx, ecx
jne 0x422209
lea edx, [ebp - 0x1c8]
push edx
lea ecx, [ebp - 0x1c8]
call fcn.00414e70
jmp 0x422216
push 0
lea ecx, [ebp - 0x1c8]
call fcn.0041bb40
cmp dword [ebp - 0x1b8], 0
jne 0x422228
mov dword [ebp - 0x48], 1
jmp 0x42222f
mov dword [ebp - 0x48], 0
movzx eax, byte [ebp - 0x48]
test eax, eax
je 0x42228f
push 8
lea ecx, [ebp - 0x1c8]
call fcn.004ef4d0
mov dword [ebp - 0x34], str.j3l6lrek
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov dword [ebp - 0xdc], ecx
mov edx, dword [ebp - 0x34]
mov al, byte [edx]
mov byte [ebp - 0xa], al
add dword [ebp - 0x34], 1
cmp byte [ebp - 0xa], 0
jne 0x422257
mov ecx, dword [ebp - 0x34]
sub ecx, dword [ebp - 0xdc]
mov dword [ebp - 0xe0], ecx
mov edx, dword [ebp - 0xe0]
push edx
push str.j3l6lrek
lea ecx, [ebp - 0x1c8]
call fcn.004172e0
lea ecx, [ebp - 0x1c8]
call fcn.00417140
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov edx, dword [0x591f6c]
cmp edx, dword [ecx + 4]
jle 0x4222ea
push 0x591f6c
call fcn.0053f46a
add esp, 4
cmp dword [0x591f6c], 0xffffffff
jne 0x4222ea
mov ecx, 0x591f70
call fcn.0041f450
push 0x56b790
call fcn.0053f39a
add esp, 4
push 0x591f6c
call fcn.0053f419
add esp, 4
mov dword [ebp - 0x4c], 0x591f70
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [eax + 4]
sub edx, dword [ecx]
sar edx, 3
cmp edx, 0x64
jae 0x42236a
mov byte [ebp - 0xb], 1
mov dword [ebp - 0x50], 0x591f70
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x50]
mov edx, dword [eax + 4]
sub edx, dword [ecx]
sar edx, 3
xor edx, 0x36
mov dword [ebp - 0xec], edx
lea eax, [ebp - 0x1d0]
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 0xe4]
mov dl, byte [ebp - 0xb]
mov byte [ecx], dl
lea eax, [ebp - 0x1cc]
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0xe8]
mov edx, dword [ebp - 0xec]
mov dword [ecx], edx
lea eax, [ebp - 0x1d0]
push eax
mov ecx, 0x591f70
call fcn.004f5a80
jmp 0x422374
mov ecx, 0x591f70
call fcn.004ee980
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx]
mov eax, dword [0x591f6c]
cmp eax, dword [edx + 4]
jle 0x4223c4
push 0x591f6c
call fcn.0053f46a
add esp, 4
cmp dword [0x591f6c], 0xffffffff
jne 0x4223c4
mov ecx, 0x591f70
call fcn.0041f450
push 0x56b790
call fcn.0053f39a
add esp, 4
push 0x591f6c
call fcn.0053f419
add esp, 4
mov dword [ebp - 0x54], 0x591f70
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x54]
mov eax, dword [ecx + 4]
sub eax, dword [edx]
sar eax, 3
cmp eax, 0x64
jae 0x422444
mov byte [ebp - 0xc], 1
mov dword [ebp - 0x58], 0x591f70
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x58]
mov eax, dword [ecx + 4]
sub eax, dword [edx]
sar eax, 3
xor eax, 0x36
mov dword [ebp - 0xf8], eax
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 0xf0], ecx
mov edx, dword [ebp - 0xf0]
mov al, byte [ebp - 0xc]
mov byte [edx], al
lea ecx, [ebp - 0x1d4]
mov dword [ebp - 0xf4], ecx
mov edx, dword [ebp - 0xf4]
mov eax, dword [ebp - 0xf8]
mov dword [edx], eax
lea ecx, [ebp - 0x1d8]
push ecx
mov ecx, 0x591f70
call fcn.004f5a80
jmp 0x42244e
mov ecx, 0x591f70
call fcn.004ee980
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret