Function at 0x43ecd0
Capabilities:
Check if file exists
Delete file
Delete registry key
Move file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca613
mov eax, dword fs:[0]
push eax
sub esp, 0x72c
mov eax, dword [0x50545c]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6f0], ecx
mov dword [ebp - 0x5d0], 0
push str._______Update_________
call fcn.0042fb40
add esp, 4
lea eax, [ebp - 0x588]
push eax
mov ecx, 0x506c08
call fcn.00432f50
mov dword [ebp - 0x6f4], eax
mov ecx, dword [ebp - 0x6f4]
mov dword [ebp - 0x6f8], ecx
mov dword [ebp - 4], 0
push 0
push 0
mov edx, dword [ebp - 0x6f8]
push edx
mov ecx, dword [ebp - 0x6f0]
call fcn.00441450
mov dword [ebp - 0x474], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x588]
call fcn.004129d0
cmp dword [ebp - 0x474], 0
je 0x43ed84
mov eax, dword [ebp - 0x474]
jmp 0x43f5aa
mov ecx, dword [ebp - 0x6f0]
call fcn.00432c70
push 0x96
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x6f0]
call fcn.00455394
push str.config.ini
mov eax, dword [ebp - 0x6f0]
add eax, 0xc4
push eax
lea ecx, [ebp - 0x584]
push ecx
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x584]
push edx
push 0x80
lea eax, [ebp - 0x57c]
push eax
push str.esafenet_cdgregedit_2008_10_16_by_ludf
push str.client
push str.update
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x57c]
push ecx
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43ee26
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x6f0]
call fcn.00432c70
push 1
mov ecx, dword [ebp - 0x6f0]
call fcn.00441dd0
test eax, eax
jne 0x43ee5e
mov dword [ebp - 0x58c], 0xb
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x584]
call fcn.004129d0
mov eax, dword [ebp - 0x58c]
jmp 0x43f5aa
mov ecx, 0x506c08
call fcn.0043cbb0
test eax, eax
je 0x43ee76
push 0
call fcn.0043cd80
add esp, 4
mov ecx, dword [ebp - 0x6f0]
call fcn.00442180
mov ecx, dword [ebp - 0x6f0]
call fcn.0043cc00
mov ecx, dword [ebp - 0x6f0]
call fcn.00433cf0
push 0x96
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x6f0]
call fcn.00433f00
push 0x96
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x6f0]
call fcn.00442a10
mov ecx, dword [ebp - 0x6f0]
call fcn.00440040
lea ecx, [ebp - 0x44c]
call fcn.00401940
mov byte [ebp - 4], 2
lea eax, [ebp - 0x590]
push eax
mov ecx, dword [ebp - 0x6f0]
call fcn.00432f50
mov dword [ebp - 0x6fc], eax
mov ecx, dword [ebp - 0x6fc]
mov dword [ebp - 0x700], ecx
mov byte [ebp - 4], 3
push str.config.ini
mov edx, dword [ebp - 0x700]
push edx
lea eax, [ebp - 0x594]
push eax
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x704], eax
mov ecx, dword [ebp - 0x704]
mov dword [ebp - 0x5dc], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x5dc]
mov eax, dword [edx]
mov dword [ebp - 0x5e0], eax
mov ecx, dword [ebp - 0x6f0]
mov edx, dword [ecx + 0xc0]
mov dword [ebp - 0x5e4], edx
push 0
mov eax, dword [ebp - 0x5e0]
push eax
mov ecx, dword [ebp - 0x5e4]
push ecx
lea ecx, [ebp - 0x44c]
call fcn.0040c110
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x594]
call fcn.004129d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x590]
call fcn.004129d0
push ecx
mov ecx, esp
mov dword [ebp - 0x598], esp
push str.system32
call fcn.00412370
mov dword [ebp - 0x708], eax
mov ecx, dword [ebp - 0x6f0]
call fcn.00434360
push ecx
mov ecx, esp
mov dword [ebp - 0x59c], esp
push str.system32_64
call fcn.00412370
mov dword [ebp - 0x70c], eax
mov ecx, dword [ebp - 0x6f0]
call fcn.00434360
push ecx
mov ecx, esp
mov dword [ebp - 0x5a0], esp
push str.drivers
call fcn.00412370
mov dword [ebp - 0x710], eax
mov ecx, dword [ebp - 0x6f0]
call fcn.00434360
push ecx
mov ecx, esp
mov dword [ebp - 0x5a4], esp
push str.drivers_64
call fcn.00412370
mov dword [ebp - 0x714], eax
mov ecx, dword [ebp - 0x6f0]
call fcn.00434360
push ecx
mov ecx, esp
mov dword [ebp - 0x5a8], esp
push 0x4d3c44
call fcn.00412370
mov dword [ebp - 0x718], eax
mov ecx, dword [ebp - 0x6f0]
call fcn.00434360
push ecx
mov ecx, esp
mov dword [ebp - 0x5ac], esp
push str.Client_64
call fcn.00412370
mov dword [ebp - 0x71c], eax
mov ecx, dword [ebp - 0x6f0]
call fcn.00434360
push ecx
mov ecx, esp
mov dword [ebp - 0x5b0], esp
push str.MediaSecX86
call fcn.00412370
mov dword [ebp - 0x720], eax
mov ecx, dword [ebp - 0x6f0]
call fcn.00434360
push ecx
mov ecx, esp
mov dword [ebp - 0x5b4], esp
push str.MediaSecX64
call fcn.00412370
mov dword [ebp - 0x724], eax
mov ecx, dword [ebp - 0x6f0]
call fcn.00434360
push 0x4d5488
lea ecx, [ebp - 0x460]
call fcn.00412290
mov byte [ebp - 4], 5
lea edx, [ebp - 0x460]
push edx
mov eax, dword [ebp - 0x6f0]
add eax, 0xc0
push eax
lea ecx, [ebp - 0x458]
push ecx
call fcn.0040f190
add esp, 0xc
mov byte [ebp - 4], 6
push 0x4d4bb8
lea ecx, [ebp - 0x10]
call fcn.00412290
mov byte [ebp - 4], 7
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x6f0]
add eax, 0xc0
push eax
lea ecx, [ebp - 0x45c]
push ecx
call fcn.0040f190
add esp, 0xc
mov byte [ebp - 4], 8
xor edx, edx
mov word [ebp - 0x470], dx
xor eax, eax
mov dword [ebp - 0x46e], eax
mov dword [ebp - 0x46a], eax
mov dword [ebp - 0x466], eax
mov word [ebp - 0x462], ax
mov ecx, dword [ebp - 0x458]
push ecx
push 8
lea edx, [ebp - 0x470]
push edx
push str.5222
push str.VCUDPPORT
push str.Server
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [ebp - 0x45c]
push eax
lea ecx, [ebp - 0x470]
push ecx
push str.VCUDPPORT
push str.Server
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 0x6f0]
call fcn.00442d50
mov ecx, dword [ebp - 0x6f0]
call fcn.004420b0
lea ecx, [ebp - 0x454]
call fcn.00412230
mov byte [ebp - 4], 9
push 0x104
push 0x104
lea ecx, [ebp - 0x454]
call fcn.004450e0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x454]
call fcn.00425740
push str.PackageInfo.ini
lea ecx, [ebp - 0x18]
call fcn.00412290
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x6f0]
add eax, 0xc0
push eax
lea ecx, [ebp - 0x580]
push ecx
call fcn.0040f190
add esp, 0xc
mov byte [ebp - 4], 0xb
xor edx, edx
mov word [ebp - 0x22c], dx
push 0x206
push 0
lea eax, [ebp - 0x22a]
push eax
call fcn.004931a0
add esp, 0xc
mov ecx, dword [ebp - 0x580]
push ecx
push 0x104
lea edx, [ebp - 0x22c]
push edx
push 0x4d1180
push str.Client
push str.Version
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00412290
mov byte [ebp - 4], 0xc
push 0x20
lea ecx, [ebp - 0x1c]
call fcn.0040ed00
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx - 0xc]
mov dword [ebp - 0x6a0], edx
cmp dword [ebp - 0x6a0], 3
jle 0x43f2e1
push 3
lea eax, [ebp - 0x5bc]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040f040
mov dword [ebp - 0x728], eax
mov ecx, dword [ebp - 0x728]
mov dword [ebp - 0x6a4], ecx
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x5d0]
or edx, 1
mov dword [ebp - 0x5d0], edx
push 0x4d4684
mov ecx, dword [ebp - 0x6a4]
call fcn.004276a0
neg eax
sbb eax, eax
add eax, 1
movzx eax, al
test eax, eax
je 0x43f2e1
mov dword [ebp - 0x72c], 1
jmp 0x43f2eb
mov dword [ebp - 0x72c], 0
mov cl, byte [ebp - 0x72c]
mov byte [ebp - 0x5b5], cl
mov dword [ebp - 4], 0xc
mov edx, dword [ebp - 0x5d0]
and edx, 1
je 0x43f31b
and dword [ebp - 0x5d0], 0xfffffffe
lea ecx, [ebp - 0x5bc]
call fcn.004129d0
movzx eax, byte [ebp - 0x5b5]
test eax, eax
je 0x43f33c
mov ecx, dword [ebp - 0x6f0]
call fcn.0043e2a0
mov ecx, dword [ebp - 0x6f0]
call fcn.0043df60
push 0x31
push 0x68
call fcn.0042f3a0
add esp, 8
cmp eax, 1
jne 0x43f36b
push 4
push 0
mov ecx, dword [ebp - 0x454]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 0x6f0]
call fcn.00433bf0
jmp 0x43f3d1
mov ecx, dword [ebp - 0x6f0]
call fcn.00434450
push ecx
mov edx, esp
mov dword [ebp - 0x5c0], esp
mov dword [ebp - 0x6b4], edx
mov eax, dword [ebp - 0x454]
sub eax, 0x10
mov dword [ebp - 0x6ac], eax
mov ecx, dword [ebp - 0x6ac]
push ecx
call fcn.00412ee0
add esp, 4
mov dword [ebp - 0x6b0], eax
mov edx, dword [ebp - 0x6b0]
add edx, 0x10
mov eax, dword [ebp - 0x6b4]
mov dword [eax], edx
mov ecx, dword [ebp - 0x6b4]
mov dword [ebp - 0x730], ecx
mov ecx, dword [ebp - 0x6f0]
call fcn.0043ca50
push 4
push 0
mov edx, dword [ebp - 0x454]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, dword [ebp - 0x584]
mov dword [ebp - 0x6b8], eax
mov ecx, dword [ebp - 0x6b8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x43f410
push 4
push 0
mov edx, dword [ebp - 0x584]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, 0x506c08
call fcn.0043cbb0
test eax, eax
je 0x43f428
push 1
call fcn.0043cd80
add esp, 4
lea eax, [ebp - 0x5c4]
push eax
mov ecx, 0x506c08
call fcn.00432f50
mov dword [ebp - 0x734], eax
mov ecx, dword [ebp - 0x734]
mov dword [ebp - 0x738], ecx
mov byte [ebp - 4], 0xe
push str.UpdatePatch.ini
mov edx, dword [ebp - 0x738]
push edx
lea eax, [ebp - 0x5c8]
push eax
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x6bc], eax
mov ecx, dword [ebp - 0x6bc]
mov edx, dword [ecx]
mov dword [ebp - 0x6c0], edx
mov eax, dword [ebp - 0x6c0]
push eax
push 0
push str.dsip
push 0x4d450c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x478], eax
lea ecx, [ebp - 0x5c8]
call fcn.004129d0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x5c4]
call fcn.004129d0
push str.C:ESTSIPEstSip.exe
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0x450], eax
cmp dword [ebp - 0x478], 0
jne 0x43f50a
cmp dword [ebp - 0x450], 0
jne 0x43f50a
push str.EstMsAddin.MSWord
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push str.EstMsAddin.MSExcel
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push str.EstMsAddin.MSPowerPoint
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov dword [ebp - 0x5cc], 0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1c]
call fcn.004129d0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x580]
call fcn.004129d0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x18]
call fcn.004129d0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x454]
call fcn.004129d0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x45c]
call fcn.004129d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x10]
call fcn.004129d0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x458]
call fcn.004129d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x460]
call fcn.004129d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44c]
call fcn.004019f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x584]
call fcn.004129d0
mov eax, dword [ebp - 0x5cc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0049318c
mov esp, ebp
pop ebp
ret