Function at 0x45e1e0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9ff0
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x50dc94]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x540d68
call fcn.0047fe40
push 0x540c64
call fcn.0047ff20
mov edi, dword [0x540c64]
add esp, 8
mov esi, dword [edi]
mov edx, SHChangeNotifyRegister
cmp esi, edi
je 0x45e51c
cmp dword [esi + 0x24], 8
lea eax, [esi + 0x10]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xa8], ecx
jb 0x45e267
mov eax, dword [eax]
mov dword [ebp - 0xa4], eax
cmp ecx, 8
jae 0x45e280
movups xmm0, xmmword [eax]
mov dword [ebp - 0x18], ecx
mov ecx, 7
movups xmmword [ebp - 0x28], xmm0
jmp 0x45e30a
mov eax, ecx
mov dword [ebp - 0xb0], htonl
or eax, 7
mov dword [ebp - 0xb4], 8
cmp eax, 0x7ffffffe
mov dword [ebp - 0xc4], eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0xb8], SHChangeNotifyRegister
cmova eax, edx
mov dword [ebp - 0xbc], htonl
mov dword [ebp - 0xac], eax
inc eax
push eax
mov dword [ebp - 0xc0], SHChangeNotifyRegister
call fcn.004140b0
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0x28], eax
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0xa4]
push eax
call fcn.004b4938
mov eax, dword [ebp - 0xa8]
add esp, 0xc
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
cmp ecx, 8
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.softwareFortinetFortiClientSslvpnTunnels
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 5
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push str._s_s
mov word [ecx], ax
call fcn.00410410
lea eax, [ebp - 0x88]
push eax
call fcn.0045dd90
add esp, 0x24
cmp dword [eax + 0x14], 8
jb 0x45e35f
mov eax, dword [eax]
push eax
push SHChangeNotifyRegister
call fcn.004a7eca
mov edx, dword [ebp - 0x74]
add esp, 8
mov dword [ebp - 0xa4], eax
cmp edx, 8
jb 0x45e3b6
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45e3a6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45e516
push edx
push ecx
call fcn.004aebf7
mov eax, dword [ebp - 0xa4]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], cx
test eax, eax
je 0x45e48b
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0045aec0
add esp, 8
cmp dword [ebp - 0x48], 0
je 0x45e42f
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
push str.DATA2
push dword [ebp - 0xa4]
call fcn.004a7f60
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x58]
add esp, 0xc
cmp dword [ebp - 0x44], 8
cmovae ecx, dword [ebp - 0x58]
add eax, eax
je 0x45e42f
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub eax, 1
jne 0x45e424
push dword [ebp - 0xa4]
call fcn.004a7ed0
mov edx, dword [ebp - 0x44]
add esp, 4
cmp edx, 8
jb 0x45e477
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45e46d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45e516
push edx
push ecx
call fcn.004aebf7
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x45e4c8
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45e4be
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45e516
push edx
push ecx
call fcn.004aebf7
add esp, 8
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x45e4f7
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x45e4f0
nop word [eax + eax]
cmp esi, dword [eax + 8]
jne 0x45e4f0
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x45e4e0
mov esi, eax
jmp 0x45e22c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x45e22c
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x45e505
jmp 0x45e22c
call dword [0x4c59b0]
mov edi, dword [0x540d68]
mov esi, dword [edi]
cmp esi, edi
je 0x45e82a
nop dword [eax]
cmp dword [esi + 0x24], 8
lea eax, [esi + 0x10]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0xa4], ecx
jb 0x45e55e
mov eax, dword [eax]
mov dword [ebp - 0xa8], eax
cmp ecx, 8
jae 0x45e577
movups xmm0, xmmword [eax]
mov dword [ebp - 0x30], ecx
mov ecx, 7
movups xmmword [ebp - 0x40], xmm0
jmp 0x45e601
mov eax, ecx
mov dword [ebp - 0xcc], htonl
or eax, 7
mov dword [ebp - 0xd0], 8
cmp eax, 0x7ffffffe
mov dword [ebp - 0xe0], eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0xd4], SHChangeNotifyRegister
cmova eax, edx
mov dword [ebp - 0xd8], htonl
mov dword [ebp - 0xac], eax
inc eax
push eax
mov dword [ebp - 0xdc], SHChangeNotifyRegister
call fcn.004140b0
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0x40], eax
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0xa8]
push eax
call fcn.004b4938
mov eax, dword [ebp - 0xa4]
add esp, 0xc
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
push 0x4db2c0
cmp ecx, 8
mov dword [ebp - 4], 1
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
push str.softwareFortinetFortiClientIPSecTunnels
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 8
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push 0x4db320
mov word [ecx], ax
call fcn.00410410
lea eax, [ebp - 0xa0]
push eax
call fcn.0045dd90
add esp, 0x28
cmp dword [eax + 0x14], 8
jb 0x45e65b
mov eax, dword [eax]
push eax
push SHChangeNotifyRegister
call fcn.004a7eca
mov edx, dword [ebp - 0x8c]
add esp, 8
mov dword [ebp - 0xa4], eax
cmp edx, 8
jb 0x45e6b5
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45e6a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45e516
push edx
push ecx
call fcn.004aebf7
mov eax, dword [ebp - 0xa4]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], cx
test eax, eax
je 0x45e797
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0045ac00
add esp, 8
cmp dword [ebp - 0x60], 0
je 0x45e73b
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
push str.Pass
push dword [ebp - 0xa4]
call fcn.004a7f60
mov eax, dword [ebp - 0x60]
lea ecx, [ebp - 0x70]
add esp, 0xc
cmp dword [ebp - 0x5c], 8
cmovae ecx, dword [ebp - 0x70]
add eax, eax
je 0x45e73b
nop dword [eax]
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub eax, 1
jne 0x45e730
push dword [ebp - 0xa4]
call fcn.004a7ed0
mov edx, dword [ebp - 0x5c]
add esp, 4
cmp edx, 8
jb 0x45e783
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45e779
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45e516
push edx
push ecx
call fcn.004aebf7
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x45e7d8
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45e7ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45e516
push edx
push ecx
call fcn.004aebf7
add esp, 8
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x45e804
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x45e800
nop word [eax + eax]
cmp esi, dword [eax + 8]
jne 0x45e800
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x45e7f0
mov esi, eax
jmp 0x45e81c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x45e81c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x45e810
cmp esi, edi
je 0x45e82a
mov edx, SHChangeNotifyRegister
jmp 0x45e530
push str.softwareFortinetFortiClient
push SHChangeNotifyRegister
call fcn.004a7eca
mov esi, eax
add esp, 8
test esi, esi
je 0x45e857
push str.FA_DPSTORE
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push esi
call fcn.004a7ed0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ae9c0
mov esp, ebp
pop ebp
ret