Function at 0x452810
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b7b65
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8d8
xor eax, eax
push ebx
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], eax
mov al, byte [ebp + 8]
push esi
push edi
mov ebx, ecx
test al, al
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ebx
lea edx, [ebp - 0x38]
je 0x452891
mov edi, str..txt
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [0x683128]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x4d8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x683188]
push ecx
push edx
push str._s__.txt_.txt_s__._.
push eax
call fcn.005851fa
add esp, 0x10
jmp 0x4528ce
mov edi, str..ef2
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x4d8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x683124]
push ecx
push str._s__.ef2__.ief_.ef2_.ief
push edx
call fcn.005851fa
add esp, 0xc
lea eax, [ebp - 0x4d8]
push ebx
push eax
push 0x1004
lea ecx, [ebp - 0x38]
push 0
push ecx
push 1
lea ecx, [ebp - 0x340]
call fcn.00599af3
mov ebx, dword [ebp + 0xc]
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [ebp - 4], 1
jne 0x452a43
mov ecx, dword [0x6825d4]
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x148]
push edx
push eax
push 0
push 0
push str.ExpImpIniPath
push ecx
mov dword [ebp - 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x45298d
mov edx, dword [0x67da2c]
mov dword [ebp + 0xc], edx
mov eax, dword [0x682450]
mov byte [ebp - 4], 2
test eax, eax
jne 0x45294e
mov eax, 0x682454
lea ecx, [ebp + 0xc]
push ecx
push eax
call fcn.00476f40
mov edi, dword [ebp + 0xc]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x148]
mov eax, ecx
mov esi, edi
mov edi, edx
mov byte [ebp - 4], 1
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp + 0xc]
call fcn.005a0c5d
lea edi, [ebp - 0x148]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4529ab
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x2b8], ecx
lea ecx, [ebp - 0x340]
call fcn.00599c55
cmp eax, 1
je 0x4529c4
mov byte [ebp - 4], 3
jmp 0x452e66
lea edx, [ebp + 0xc]
lea ecx, [ebp - 0x340]
push edx
call fcn.00599d30
mov edi, dword [eax]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x148]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp + 0xc]
call fcn.005a0c5d
lea ecx, [ebp - 0x148]
push 0x5c
push ecx
call fcn.005857a0
add esp, 8
test eax, eax
je 0x452a43
mov byte [eax], 0
lea edi, [ebp - 0x148]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea edx, [ebp - 0x148]
push ecx
push edx
push 1
push eax
mov eax, dword [0x6825d4]
push str.ExpImpIniPath
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp - 0x2c]
call fcn.0041f900
mov dword [ebp - 0x2c], 0x5d07c4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 4], 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x452a68
mov eax, ebx
jmp 0x452a84
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x340]
call fcn.00599d30
mov dword [ebp - 0x30], 1
mov eax, dword [eax]
mov byte [ebp - 4], 5
push 0
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push eax
call fcn.005a0ccb
lea ecx, [ebp - 0x8e4]
call fcn.005000c0
mov al, byte [ebp - 0x30]
mov dword [ebp - 4], 7
test al, 1
je 0x452ab3
lea ecx, [ebp - 0x18]
call fcn.005a0c5d
mov bl, byte [ebp + 8]
test bl, bl
je 0x452acb
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x8e4]
push edx
call fcn.005008d0
jmp 0x452ada
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x8e4]
push eax
call fcn.00500430
test al, al
jne 0x452b30
test bl, bl
push 0x10030
je 0x452af7
mov ecx, dword [0x683454]
mov edx, dword [0x683450]
push ecx
push edx
jmp 0x452b04
mov eax, dword [0x683454]
mov ecx, dword [0x68344c]
push eax
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.0059ec51
lea ecx, [ebp - 0x8e4]
mov byte [ebp - 4], 4
call fcn.00500220
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0041fac0
mov byte [ebp - 4], 8
jmp 0x452e66
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x452b95
mov edx, dword [0x683454]
mov eax, dword [0x683448]
mov ecx, dword [ebp - 0x14]
push 0x10040
push edx
push eax
call fcn.0059ec51
lea ecx, [ebp - 0x8e4]
mov byte [ebp - 4], 4
call fcn.00500220
mov dword [ebp - 0x2c], 0x5d07d0
mov edx, dword [ebp - 0x28]
mov byte [ebp - 4], 9
test edx, edx
je 0x452b8c
mov ecx, dword [ebp - 0x24]
mov eax, edx
mov esi, ecx
dec ecx
test esi, esi
je 0x452b83
add eax, 0x10
jmp 0x452b77
push edx
call fcn.0059d022
add esp, 4
mov byte [ebp - 4], 0xa
jmp 0x452e66
mov esi, dword [ebp - 0x14]
push 0
lea ecx, [esi + 0x674]
push ecx
lea ecx, [ebp - 0x458]
call fcn.004212c0
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x458]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x3f8], edx
call fcn.0059cbf3
cmp eax, 1
jne 0x452e09
mov eax, dword [0x67da2c]
mov dword [ebp + 8], eax
mov ecx, dword [esi + 0x1c0]
mov byte [ebp - 4], 0xc
mov eax, dword [ecx + 8]
mov dword [esi + 0x1f0], eax
xor eax, eax
mov dword [ebp + 0xc], eax
cmp eax, dword [ebp - 0x24]
jge 0x452d5e
mov edx, dword [ebp - 0x28]
shl eax, 4
mov esi, dword [eax + edx]
test esi, esi
je 0x452d4f
lea eax, [ebp + 8]
push 0
push eax
lea ecx, [esi + 0x20]
call fcn.005305f0
mov ecx, dword [esi + 0x38]
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
push 0
push ecx
mov ecx, dword [ebx + 0x1c0]
push edx
call fcn.004659c0
mov edi, eax
test edi, edi
jl 0x452caa
mov eax, dword [ebp + 8]
mov ecx, ebx
push eax
call fcn.0045d570
test eax, eax
jne 0x452c57
mov ecx, esi
call fcn.0054f610
push esi
call fcn.0059d022
add esp, 4
jmp 0x452d4f
cmp eax, 3
jne 0x452c79
mov ecx, esi
call fcn.0054f610
push esi
call fcn.0059d022
add esp, 4
mov ecx, ebx
push edi
call fcn.0045d700
jmp 0x452d4f
cmp eax, 2
jne 0x452caa
mov ecx, dword [ebx + 0x1c0]
shl edi, 4
mov edx, dword [ecx + 4]
mov edi, dword [edx + edi]
mov eax, dword [edi + 0x5c]
test eax, eax
je 0x452caa
mov eax, dword [edi + 0x54]
test eax, eax
jne 0x452c9e
lea eax, [edi + 0x58]
push eax
lea ecx, [esi + 0xf4]
call fcn.00401ee0
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x452cb4
lea eax, [esi + 0x58]
xor edi, edi
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x3c], edi
mov word [ebp - 0x40], di
call fcn.00401ee0
mov ecx, dword [ebx + 0x1c0]
lea eax, [ebp - 0x44]
push 1
push eax
push esi
mov byte [ebp - 4], 0xd
call fcn.00465f90
cmp eax, 2
je 0x452d33
mov ecx, dword [ebx + 0x1c0]
push esi
call fcn.00465c70
cmp eax, edi
jl 0x452d33
push esi
lea ecx, [ebx + 0x1cc]
call fcn.004d2550
push 1
push edi
mov ecx, esi
call fcn.00556a00
mov ecx, dword [0x6826e8]
cmp ecx, edi
je 0x452d22
mov edx, dword [esi + 0x400]
push edx
push 1
call fcn.004d7710
push 1
push edi
push esi
lea ecx, [ebx + 0x488]
call fcn.0048adf0
jmp 0x452d43
mov ecx, esi
call fcn.0054f610
push esi
call fcn.0059d022
add esp, 4
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xc
call fcn.00401070
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp - 0x14]
inc eax
mov dword [ebp + 0xc], eax
jmp 0x452bed
mov eax, dword [esi + 0x204]
test eax, eax
je 0x452d70
push eax
mov ecx, esi
call fcn.00455780
push 0
push 0
push 0
push 0xfffffffffffffffe
push esi
push 0x43e600
call fcn.005a125b
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xb
call fcn.005a0c5d
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x2c]
call fcn.0043cf00
lea ecx, [ebp - 0x37c]
mov byte [ebp - 4], 0x12
call fcn.0059ac8e
lea ecx, [ebp - 0x3b8]
mov byte [ebp - 4], 0x11
call fcn.005a87a1
lea ecx, [ebp - 0x3f4]
mov byte [ebp - 4], 0x10
call fcn.005a87a1
lea ecx, [ebp - 0x458]
mov byte [ebp - 4], 7
call fcn.0059c834
lea ecx, [ebp - 0x8e4]
mov byte [ebp - 4], 4
call fcn.00500220
mov dword [ebp - 0x2c], 0x5d07d0
mov edx, dword [ebp - 0x28]
mov byte [ebp - 4], 0x13
test edx, edx
je 0x452e62
mov ecx, dword [ebp - 0x24]
mov eax, edx
mov esi, ecx
dec ecx
test esi, esi
je 0x452e59
add eax, 0x10
jmp 0x452dfd
xor edi, edi
mov eax, dword [ebp - 0x24]
mov dword [ebp + 8], edi
cmp edi, eax
jge 0x452d8f
mov ecx, dword [ebp - 0x28]
mov eax, edi
shl eax, 4
mov esi, dword [eax + ecx]
test esi, esi
je 0x452e56
mov ecx, esi
mov byte [ebp - 4], 0xe
call fcn.0054f610
push esi
call fcn.0059d022
add esp, 4
mov dword [ebp - 4], 0xb
inc edi
jmp 0x452e0b
inc edi
jmp 0x452e0b
push edx
call fcn.0059d022
add esp, 4
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x294]
call fcn.005a0c5d
lea ecx, [ebp - 0x340]
mov byte [ebp - 4], 0
call fcn.0059c834
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8