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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54cda5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8d0
xor eax, eax
push ebx
mov dword [ebp - 0x14], 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 - 0x30], ebx
lea edx, [ebp - 0x38]
je 0x435c31
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 - 0x4d0]
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 0x435c6e
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 - 0x4d0]
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__.ief_.ef2_.ief
push edx
call fcn.0051d0e8
add esp, 0xc
lea eax, [ebp - 0x4d0]
push ebx
push eax
push 0x1004
lea ecx, [ebp - 0x38]
push 0
push ecx
push 1
lea ecx, [ebp - 0x338]
call fcn.005309e5
mov edi, dword [ebp + 0xc]
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 4], 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x435db0
mov ecx, dword [0x5ba8bc]
lea edx, [ebp - 0x3c]
lea eax, [ebp - 0x140]
push edx
push eax
push 0
push 0
push str.ExpImpIniPath
push ecx
mov dword [ebp - 0x3c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x435cfa
mov edi, dword [0x5ba794]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x140]
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 - 0x140]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x435d18
lea ecx, [ebp - 0x140]
mov dword [ebp - 0x2b0], ecx
lea ecx, [ebp - 0x338]
call fcn.00530b47
cmp eax, 1
je 0x435d31
mov byte [ebp - 4], 2
jmp 0x4361d3
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x338]
push edx
call fcn.00530c22
mov edi, dword [eax]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x140]
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 - 0x140]
push 0x5c
push ecx
call fcn.0051c7b0
add esp, 8
test eax, eax
je 0x435db0
mov byte [eax], 0
lea edi, [ebp - 0x140]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea edx, [ebp - 0x140]
push ecx
push edx
push 1
push eax
mov eax, dword [0x5ba8bc]
push str.ExpImpIniPath
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor esi, esi
mov dword [ebp - 0x28], 0x55e4e4
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov edx, dword [ebp + 0xc]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [ebp - 4], 3
je 0x435dde
mov eax, edx
jmp 0x435dfa
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x338]
call fcn.00530c22
mov dword [ebp - 0x14], 1
mov eax, dword [eax]
mov byte [ebp - 4], 4
push esi
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push eax
call fcn.00537b72
lea ecx, [ebp - 0x8dc]
call fcn.004c0570
mov al, byte [ebp - 0x14]
mov dword [ebp - 4], 6
test al, 1
je 0x435e28
lea ecx, [ebp - 0x2c]
call fcn.00537b04
mov al, byte [ebp + 8]
test al, al
je 0x435e40
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x8dc]
push edx
call fcn.004c0d70
jmp 0x435e4f
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x8dc]
push eax
call fcn.004c08e0
test al, al
jne 0x435ec7
mov al, byte [ebp + 8]
push 0x10030
test al, al
je 0x435e6f
mov ecx, dword [0x5bb4a4]
mov edx, dword [0x5bb4a0]
push ecx
push edx
jmp 0x435e7c
mov eax, dword [0x5bb4a4]
mov ecx, dword [0x5bb49c]
push eax
push ecx
mov ecx, ebx
call fcn.00535af8
lea ecx, [ebp - 0x8dc]
mov byte [ebp - 4], 3
call fcn.004c06d0
mov dword [ebp - 0x28], 0x55e4f0
mov edx, dword [ebp - 0x24]
mov byte [ebp - 4], 7
cmp edx, esi
je 0x435ebe
mov ecx, dword [ebp - 0x20]
mov eax, edx
mov esi, ecx
dec ecx
test esi, esi
je 0x435eb5
add eax, 0x10
jmp 0x435ea9
push edx
call fcn.005380ca
add esp, 4
mov byte [ebp - 4], 8
jmp 0x4361d3
cmp dword [ebp - 0x20], esi
jne 0x435f29
mov edx, dword [0x5bb4a4]
mov eax, dword [0x5bb498]
push 0x10040
push edx
push eax
mov ecx, ebx
call fcn.00535af8
lea ecx, [ebp - 0x8dc]
mov byte [ebp - 4], 3
call fcn.004c06d0
mov dword [ebp - 0x28], 0x55e4f0
mov edx, dword [ebp - 0x24]
mov byte [ebp - 4], 9
cmp edx, esi
je 0x435f20
mov ecx, dword [ebp - 0x20]
mov eax, edx
mov esi, ecx
dec ecx
test esi, esi
je 0x435f17
add eax, 0x10
jmp 0x435f0b
push edx
call fcn.005380ca
add esp, 4
mov byte [ebp - 4], 0xa
jmp 0x4361d3
lea ecx, [ebx + 0x61c]
push esi
push ecx
lea ecx, [ebp - 0x450]
call fcn.00416b60
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x3f0], edx
call fcn.00533ae5
cmp eax, 1
jne 0x436176
mov eax, dword [0x5b5ecc]
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x1bc]
mov byte [ebp - 4], 0xd
mov dword [ebp + 8], esi
mov eax, dword [eax + 8]
mov dword [ebx + 0x1e8], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x20]
cmp ecx, eax
jge 0x4360bf
mov eax, dword [ebp - 0x24]
mov edx, ecx
shl edx, 4
mov esi, dword [edx + eax]
test esi, esi
je 0x4360b7
lea ecx, [ebp + 0xc]
push 0
push ecx
lea ecx, [esi + 0x20]
call fcn.004e1180
mov edx, dword [esi + 0x38]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebx + 0x1bc]
push 0
push edx
push eax
call fcn.004435e0
mov edi, eax
test edi, edi
jl 0x43602d
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, ebx
call fcn.0043ef30
test eax, eax
je 0x4360a7
cmp eax, 3
jne 0x435ffd
mov ecx, esi
call fcn.004f5e70
push esi
call fcn.005380ca
add esp, 4
mov ecx, ebx
push edi
call fcn.0043f0c0
inc dword [ebp + 8]
jmp 0x435f7e
cmp eax, 2
jne 0x43602d
mov edx, dword [ebx + 0x1bc]
shl edi, 4
mov eax, dword [edx + 4]
mov ecx, dword [eax + edi]
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x43602d
push eax
lea edx, [esi + 0x1dc]
push 0x597ddc
push edx
call fcn.0053091a
add esp, 0xc
mov eax, dword [esi + 0x54]
lea ecx, [ebp - 0x14]
push eax
call fcn.00537c8d
lea ecx, [ebp - 0x14]
push 1
push ecx
mov ecx, dword [ebx + 0x1bc]
push esi
call fcn.00443bc0
cmp eax, 2
je 0x4360a7
mov ecx, dword [ebx + 0x1bc]
push esi
call fcn.00443880
test eax, eax
jl 0x4360a7
push esi
lea ecx, [ebx + 0x1c8]
call fcn.004971b0
push 1
push 0
mov ecx, esi
call fcn.004fac90
mov ecx, dword [0x5ba984]
test ecx, ecx
je 0x43608f
mov edx, dword [esi + 0x408]
push edx
push 1
call fcn.0049dd10
push 1
push 0
push esi
lea ecx, [ebx + 0x434]
call fcn.0045e840
inc dword [ebp + 8]
jmp 0x435f7e
mov ecx, esi
call fcn.004f5e70
push esi
call fcn.005380ca
add esp, 4
inc dword [ebp + 8]
jmp 0x435f7e
mov eax, dword [ebx + 0x1f8]
test eax, eax
je 0x4360d1
push eax
mov ecx, ebx
call fcn.00438410
push 0
push 0
push 0
push 0xfffffffffffffffe
push ebx
push 0x427da0
call fcn.00538218
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xc
call fcn.00537b04
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xb
call fcn.00537b04
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x28]
call fcn.00426e00
lea ecx, [ebp - 0x374]
mov byte [ebp - 4], 0x12
call fcn.00531b80
lea ecx, [ebp - 0x3b0]
mov byte [ebp - 4], 0x11
call fcn.0053f876
lea ecx, [ebp - 0x3ec]
mov byte [ebp - 4], 0x10
call fcn.0053f876
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 6
call fcn.00533726
lea ecx, [ebp - 0x8dc]
mov byte [ebp - 4], 3
call fcn.004c06d0
mov dword [ebp - 0x28], 0x55e4f0
mov edx, dword [ebp - 0x24]
mov byte [ebp - 4], 0x13
test edx, edx
je 0x4361cf
mov ecx, dword [ebp - 0x20]
mov eax, edx
mov esi, ecx
dec ecx
test esi, esi
je 0x4361c6
add eax, 0x10
jmp 0x43616a
xor edi, edi
mov eax, dword [ebp - 0x20]
mov dword [ebp + 8], edi
cmp edi, eax
jge 0x4360fc
mov ecx, dword [ebp - 0x24]
mov eax, edi
shl eax, 4
mov esi, dword [eax + ecx]
test esi, esi
je 0x4361c3
mov ecx, esi
mov byte [ebp - 4], 0xe
call fcn.004f5e70
push esi
call fcn.005380ca
add esp, 4
mov dword [ebp - 4], 0xb
inc edi
jmp 0x436178
inc edi
jmp 0x436178
push edx
call fcn.005380ca
add esp, 4
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x28c]
call fcn.00537b04
lea ecx, [ebp - 0x338]
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 8