Function at 0x4a1c30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5f1627
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x10e4
call fcn.005c1b90
mov eax, dword [0x6656b0]
xor eax, esp
mov dword [esp + 0x10e0], eax
push ebx
push esi
push edi
mov eax, dword [0x6656b0]
xor eax, esp
push eax
lea eax, [esp + 0x10f8]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, ecx
mov esi, 0xf
mov dword [esp + 0x1c], edi
mov dword [esp + 0x98], esi
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
mov dword [esp + 0x1100], ebx
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
mov byte [esp + 0x1100], 1
mov eax, 7
xor ecx, ecx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], cx
mov byte [esp + 0x1100], 2
xor edx, edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], dx
mov byte [esp + 0x1100], 3
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
mov byte [esp + 0x1100], 4
cmp dword [edi + 0x28], ebx
jne 0x4a1dfd
mov byte [esp + 0x1100], 3
cmp dword [esp + 0x44], 0x10
jb 0x4a1d27
mov eax, dword [esp + 0x30]
push eax
call fcn.004c4802
add esp, 4
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
mov byte [esp + 0x1100], 2
mov edi, 8
cmp dword [esp + 0x60], edi
jb 0x4a1d53
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.004c4802
add esp, 4
xor edx, edx
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], dx
mov byte [esp + 0x1100], 1
cmp dword [esp + 0x7c], edi
jb 0x4a1d81
mov eax, dword [esp + 0x68]
push eax
call fcn.004c4802
add esp, 4
xor ecx, ecx
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], cx
mov byte [esp + 0x1100], bl
cmp dword [esp + 0xb4], 0x10
jb 0x4a1db5
mov edx, dword [esp + 0xa0]
push edx
call fcn.004c4802
add esp, 4
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
mov dword [esp + 0x1100], 0xffffffff
cmp dword [esp + 0x98], 0x10
jb 0x4a1def
mov eax, dword [esp + 0x84]
push eax
call fcn.004c4802
add esp, 4
mov dword [esp + 0x98], esi
xor al, al
jmp 0x4a234f
mov eax, dword [edi + 0x74]
lea ecx, [eax - 1]
cmp ecx, 0x16
ja 0x4a1e1b
mov ecx, dword [eax*4 + 0x667e54]
mov dword [esp + 0x28], ecx
cmp ecx, ebx
jne 0x4a1f1f
push eax
push 0x62ea80
call fcn.004a7cf0
add esp, 8
mov byte [esp + 0x1100], 3
cmp dword [esp + 0x44], 0x10
jb 0x4a1e45
mov edx, dword [esp + 0x30]
push edx
call fcn.004c4802
add esp, 4
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
mov byte [esp + 0x1100], 2
mov edi, 8
cmp dword [esp + 0x60], edi
jb 0x4a1e71
mov eax, dword [esp + 0x4c]
push eax
call fcn.004c4802
add esp, 4
xor ecx, ecx
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], cx
mov byte [esp + 0x1100], 1
cmp dword [esp + 0x7c], edi
jb 0x4a1e9f
mov edx, dword [esp + 0x68]
push edx
call fcn.004c4802
add esp, 4
xor eax, eax
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], ax
mov byte [esp + 0x1100], bl
cmp dword [esp + 0xb4], 0x10
jb 0x4a1ed3
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.004c4802
add esp, 4
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
mov dword [esp + 0x1100], 0xffffffff
cmp dword [esp + 0x98], 0x10
jb 0x4a1def
mov edx, dword [esp + 0x84]
push edx
call fcn.004c4802
add esp, 4
mov dword [esp + 0x98], esi
xor al, al
jmp 0x4a234f
mov esi, 8
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], ebx
cmp dword [edi + 0x90], esi
jb 0x4a1f39
mov eax, dword [edi + 0x7c]
jmp 0x4a1f3c
lea eax, [edi + 0x7c]
push eax
lea ecx, [esp + 0x84]
call fcn.004bc9f0
add esp, 4
cmp dword [edi + 0xac], esi
jb 0x4a1f5c
mov eax, dword [edi + 0x98]
jmp 0x4a1f62
lea eax, [edi + 0x98]
push eax
lea ecx, [esp + 0xa0]
call fcn.004bc9f0
mov ecx, dword [edi + 0xc0]
sub ecx, dword [edi + 0xbc]
add edi, 0xb0
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
add esp, 4
test eax, eax
jle 0x4a2260
nop
push 0x810
lea ecx, [esp + 0x8e0]
push ebx
push ecx
call fcn.005bfee0
add esp, 0xc
push 0x810
lea edx, [esp + 0xd0]
push ebx
push edx
call fcn.005bfee0
mov ecx, dword [0x62ea70]
mov edx, dword [0x62ea74]
mov esi, dword [0x62ea78]
xor eax, eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], ecx
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov dword [esp + 0xe4], eax
mov dword [esp + 0xdc], edx
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
mov dword [esp + 0xe0], esi
mov esi, dword [esp + 0x20]
add eax, edx
add esp, 0xc
cmp esi, eax
mov ebx, 0x1000000
mov dword [esp + 0xdc], ebx
mov dword [esp + 0x18], 0x14
jge 0x4a2141
mov eax, esi
mov ebx, 8
call fcn.004a2620
add eax, 0x20
cmp dword [eax + 0x18], ebx
jb 0x4a206e
mov ecx, dword [eax + 4]
mov dword [esp + 0x14], ecx
jmp 0x4a2075
add eax, 4
mov dword [esp + 0x14], eax
mov eax, esi
call fcn.004a2620
cmp dword [eax + 0x18], ebx
jb 0x4a2086
mov ebx, dword [eax + 4]
jmp 0x4a2089
lea ebx, [eax + 4]
mov edx, dword [esp + 0x14]
push 9
push edx
mov eax, esi
call fcn.004a2620
mov eax, dword [eax + 0x1c]
push eax
push ebx
push str._s_d__s_c
lea ecx, [esp + 0x5c]
call fcn.004bc870
mov eax, dword [esp + 0x60]
add esp, 0x14
cmp dword [esp + 0x60], 8
jae 0x4a20bc
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x30]
call fcn.004bc9f0
mov eax, dword [esp + 0x44]
add esp, 4
cmp eax, 0x800
jbe 0x4a20e3
push 0x62eb30
call fcn.004a7cf0
add esp, 4
jmp 0x4a211b
mov ecx, dword [esp + 0x18]
lea ebx, [eax + ecx]
cmp ebx, 0x800
ja 0x4a213d
cmp dword [esp + 0x44], 0x10
mov ecx, dword [esp + 0x30]
jae 0x4a2101
lea ecx, [esp + 0x30]
mov edx, dword [esp + 0x18]
push eax
push ecx
lea eax, [esp + edx + 0xd4]
push eax
call fcn.005c2250
add esp, 0xc
mov dword [esp + 0x18], ebx
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
inc esi
add ecx, edx
cmp esi, ecx
jl 0x4a2051
mov dword [esp + 0x14], esi
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
xor edx, edx
mov eax, ebx
div dword [ecx + 4]
test edx, edx
je 0x4a2169
mov ecx, dword [ecx + 4]
mov eax, ebx
xor edx, edx
div ecx
sub ecx, edx
add ebx, ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x18], ebx
mov edx, dword [esp + 0xa0]
mov eax, 0x10
cmp dword [esp + 0xb4], eax
jae 0x4a2185
lea edx, [esp + 0xa0]
cmp dword [esp + 0x98], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x24], edx
jae 0x4a21a0
lea eax, [esp + 0x84]
mov ecx, dword [ecx + 8]
push ebx
mov ebx, dword [esp + 0x20]
lea edx, [esp + 0xd0]
push edx
mov edx, dword [ebx + 0x74]
push 1
push ecx
mov ecx, dword [esp + 0x34]
push eax
push edx
lea edx, [esp + 0x8f4]
call fcn.004a07a0
add esp, 0x18
test al, al
je 0x4a239b
cmp dword [ebx + 0x70], 8
jb 0x4a21de
mov ebx, dword [ebx + 0x5c]
jmp 0x4a21e1
add ebx, 0x5c
mov eax, dword [esp + 0x20]
push eax
push ebx
push str._s_d
lea ecx, [esp + 0x70]
call fcn.004bc870
mov ecx, dword [esp + 0x74]
add esp, 0xc
cmp dword [esp + 0x7c], 8
jae 0x4a2207
lea ecx, [esp + 0x68]
mov eax, dword [esp + 0x1c]
xor ebx, ebx
mov dword [eax + 0x34], ebx
mov eax, dword [eax + 0x28]
cmp eax, ebx
je 0x4a24a5
mov edx, dword [esp + 0x18]
push edx
lea edx, [esp + 0x8e0]
push edx
push 3
push ebx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, ebx
jne 0x4a2381
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
inc dword [esp + 0x20]
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jl 0x4a1fa0
mov byte [esp + 0x1100], 3
cmp dword [esp + 0x44], 0x10
jb 0x4a227c
mov eax, dword [esp + 0x30]
push eax
call fcn.004c4802
add esp, 4
mov edi, 0xf
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
mov byte [esp + 0x1100], 2
cmp dword [esp + 0x60], 8
jb 0x4a22a9
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.004c4802
add esp, 4
mov esi, 7
xor edx, edx
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], dx
mov byte [esp + 0x1100], 1
cmp dword [esp + 0x7c], 8
jb 0x4a22d9
mov eax, dword [esp + 0x68]
push eax
call fcn.004c4802
add esp, 4
xor ecx, ecx
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], cx
mov byte [esp + 0x1100], bl
mov esi, 0x10
cmp dword [esp + 0xb4], esi
jb 0x4a230d
mov edx, dword [esp + 0xa0]
push edx
call fcn.004c4802
add esp, 4
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
mov dword [esp + 0x1100], 0xffffffff
cmp dword [esp + 0x98], esi
jb 0x4a2346
mov eax, dword [esp + 0x84]
push eax
call fcn.004c4802
add esp, 4
mov al, 1
mov dword [esp + 0x98], edi
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
mov ecx, dword [esp + 0x10f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10e0]
xor ecx, esp
call fcn.005b7e8e
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x1c]
push eax
push str.CRegistry::RegSetValueForBinary___:
mov dword [esi + 0x34], eax
call fcn.004a7cf0
add esp, 8
jmp 0x4a24a9
push 0x62eba8
call fcn.004a7cf0
add esp, 4
mov esi, ebx
call fcn.004a0b40
mov byte [esp + 0x1100], 3
cmp dword [esp + 0x44], 0x10
jb 0x4a23cb
mov ecx, dword [esp + 0x30]
push ecx
call fcn.004c4802
add esp, 4
xor ebx, ebx
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
mov byte [esp + 0x1100], 2
mov edi, 8
cmp dword [esp + 0x60], edi
jb 0x4a23fd
mov edx, dword [esp + 0x4c]
push edx
call fcn.004c4802
add esp, 4
mov esi, 7
xor eax, eax
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], ax
mov byte [esp + 0x1100], 1
cmp dword [esp + 0x7c], edi
jb 0x4a242c
mov ecx, dword [esp + 0x68]
push ecx
call fcn.004c4802
add esp, 4
xor edx, edx
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], dx
mov byte [esp + 0x1100], bl
mov esi, 0x10
cmp dword [esp + 0xb4], esi
jb 0x4a2460
mov eax, dword [esp + 0xa0]
push eax
call fcn.004c4802
add esp, 4
mov edi, 0xf
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
mov dword [esp + 0x1100], 0xffffffff
cmp dword [esp + 0x98], esi
jb 0x4a249e
mov ecx, dword [esp + 0x84]
push ecx
call fcn.004c4802
add esp, 4
xor al, al
jmp 0x4a2348
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0x34]
push eax
push str.CCipherRegistry::CipherRegWrite___:
call fcn.004a7cf0
add esp, 8
call fcn.004a0b40
mov byte [esp + 0x1100], 3
cmp dword [esp + 0x44], 0x10
jb 0x4a24db
mov edx, dword [esp + 0x30]
push edx
call fcn.004c4802
add esp, 4
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
mov byte [esp + 0x1100], 2
mov edi, 8
cmp dword [esp + 0x60], edi
jb 0x4a250b
mov eax, dword [esp + 0x4c]
push eax
call fcn.004c4802
add esp, 4
mov esi, 7
xor ecx, ecx
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], cx
mov byte [esp + 0x1100], 1
cmp dword [esp + 0x7c], edi
jb 0x4a253a
mov edx, dword [esp + 0x68]
push edx
call fcn.004c4802
add esp, 4
xor eax, eax
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], ax
mov byte [esp + 0x1100], bl
mov esi, 0x10
cmp dword [esp + 0xb4], esi
jb 0x4a256e
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.004c4802
add esp, 4
mov edi, 0xf
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
mov dword [esp + 0x1100], 0xffffffff
cmp dword [esp + 0x98], esi
jb 0x4a249e
mov edx, dword [esp + 0x84]
push edx
call fcn.004c4802
add esp, 4
xor al, al
jmp 0x4a2348