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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54ccdf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x810
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esp
push 0
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], 0
call fcn.004aabb0
mov eax, dword [ebx + 0x450]
push 0
push 0
push 0x1032
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
setne cl
mov byte [ebp - 0x38], cl
lea ecx, [ebp - 0x94]
call fcn.00533ae5
cmp eax, 1
jne 0x435b11
mov al, byte [ebp + 8]
lea edx, [ebp - 0x28]
test al, al
je 0x435743
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 [0x5bb170]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x218]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x5bb1d0]
push ecx
push edx
push str._s__.txt_.txt_s__._.
push eax
call fcn.0051d0e8
add esp, 0x10
jmp 0x435780
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 - 0x218]
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 [0x5bb16c]
push ecx
push str._s__.ef2_.ef2
push edx
call fcn.0051d0e8
add esp, 0xc
lea eax, [ebp - 0x218]
push ebx
push eax
push 6
lea ecx, [ebp - 0x28]
push 0
push ecx
push 0
lea ecx, [ebp - 0x410]
call fcn.005309e5
mov ecx, dword [0x5ba8bc]
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x198]
push edx
push eax
push 0
push 0
push str.ExpImpIniPath
push ecx
mov byte [ebp - 4], 2
mov dword [ebp - 0x30], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4357f6
mov edi, dword [0x5ba794]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x198]
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 edi, [ebp - 0x198]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x435814
lea ecx, [ebp - 0x198]
mov dword [ebp - 0x388], ecx
lea ecx, [ebp - 0x410]
call fcn.00530b47
cmp eax, 1
je 0x43582d
mov byte [ebp - 4], 3
jmp 0x435af7
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x410]
push edx
call fcn.00530c22
mov edi, dword [eax]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x198]
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 - 0x2c]
call fcn.00537b04
lea ecx, [ebp - 0x198]
push 0x5c
push ecx
call fcn.0051c7b0
add esp, 8
test eax, eax
je 0x4358ac
mov byte [eax], 0
lea edi, [ebp - 0x198]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea edx, [ebp - 0x198]
push ecx
push edx
push 1
push eax
mov eax, dword [0x5ba8bc]
push str.ExpImpIniPath
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [0x5b5ecc]
mov dword [ebp - 0x14], ecx
push 1
push ecx
mov edx, esp
mov dword [ebp - 0x1c], esp
push edx
lea ecx, [ebp - 0x410]
mov byte [ebp - 4], 4
call fcn.00530c22
lea ecx, [ebp - 0x81c]
call fcn.004c0570
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 5
sub eax, 0
je 0x435a38
dec eax
je 0x43595e
dec eax
jne 0x435ad8
mov eax, dword [ebx + 0x1bc]
xor esi, esi
mov edi, dword [eax + 8]
cmp esi, edi
jge 0x435ad8
mov al, byte [ebp + 8]
test al, al
je 0x43593e
mov edx, dword [ebx + 0x1bc]
lea ecx, [ebp - 0x14]
mov eax, esi
push ecx
mov ecx, dword [edx + 4]
shl eax, 4
mov edx, dword [ecx + eax]
mov ecx, ebx
add edx, 0x20
push edx
call fcn.00435600
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x81c]
push eax
call fcn.004c0710
inc esi
jmp 0x4358fd
mov ecx, dword [ebx + 0x1bc]
mov edx, esi
shl edx, 4
mov eax, dword [ecx + 4]
mov ecx, dword [eax + edx]
push ecx
lea ecx, [ebp - 0x81c]
call fcn.004c0780
inc esi
jmp 0x4358fd
mov edx, dword [ebx + 0x450]
push 2
push 0xffffffffffffffff
push 0x100c
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x435ad8
dec eax
push 2
mov dword [ebp - 0x1c], eax
push eax
mov eax, dword [ebx + 0x450]
push 0x100c
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebx + 0x1bc]
inc eax
mov dword [ebp - 0x18], eax
mov edi, dword [ecx + 8]
dec edi
xor esi, esi
cmp esi, edi
jg 0x435978
mov edx, dword [ebp - 0x1c]
lea ecx, [ebx + 0x434]
push edx
call fcn.00531e51
mov ecx, dword [ebx + 0x1bc]
mov edx, esi
shl edx, 4
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + edx]
cmp dword [edx + 0x408], eax
je 0x4359db
inc esi
jmp 0x4359ac
test esi, esi
jl 0x435978
mov al, byte [ebp + 8]
test al, al
je 0x435a18
mov ecx, dword [ebx + 0x1bc]
lea eax, [ebp - 0x14]
shl esi, 4
mov edx, dword [ecx + 4]
push eax
mov ecx, ebx
mov eax, dword [edx + esi]
add eax, 0x20
push eax
call fcn.00435600
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x81c]
call fcn.004c0710
jmp 0x435978
mov edx, dword [ebx + 0x1bc]
shl esi, 4
mov eax, dword [edx + 4]
mov ecx, dword [eax + esi]
push ecx
lea ecx, [ebp - 0x81c]
call fcn.004c0780
jmp 0x435978
mov eax, dword [0x5ba984]
test eax, eax
je 0x435ad8
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x435ad8
mov edx, dword [eax + 0x10]
mov eax, dword [edx]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x435ad8
mov edx, dword [eax + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebx + 0x1bc]
mov dword [ebp - 0x18], ecx
mov ecx, dword [edx + 8]
dec ecx
xor eax, eax
cmp eax, ecx
jg 0x435a5b
mov edi, dword [edx + 4]
mov esi, eax
shl esi, 4
mov esi, dword [edi + esi]
mov edi, dword [ebp - 0x1c]
cmp dword [esi + 0x408], edi
je 0x435a96
inc eax
jmp 0x435a79
test eax, eax
jl 0x435a5b
mov ecx, dword [edx + 4]
shl eax, 4
mov eax, dword [ecx + eax]
mov cl, byte [ebp + 8]
test cl, cl
je 0x435aca
lea edx, [ebp - 0x14]
add eax, 0x20
push edx
push eax
mov ecx, ebx
call fcn.00435600
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x81c]
push eax
call fcn.004c0710
jmp 0x435a5b
push eax
lea ecx, [ebp - 0x81c]
call fcn.004c0780
jmp 0x435a5b
lea ecx, [ebp - 0x81c]
mov byte [ebp - 4], 4
call fcn.004c06d0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00537b04
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x364]
call fcn.00537b04
lea ecx, [ebp - 0x410]
mov byte [ebp - 4], 1
call fcn.00533726
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0
call fcn.00533726
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4