Function at 0x436db0
Capabilities:
Delete file
Move file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1a38
mov eax, dword fs:[0]
push eax
sub esp, 0x6e4
mov eax, dword [0x4f7458]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6b0], ecx
mov dword [ebp - 0x5b8], 0
lea eax, [ebp - 0x578]
push eax
mov ecx, 0x4f89c8
call fcn.0042b8e0
mov dword [ebp - 0x6b4], eax
mov ecx, dword [ebp - 0x6b4]
mov dword [ebp - 0x6b8], ecx
mov dword [ebp - 4], 0
push 0
push 0
mov edx, dword [ebp - 0x6b8]
push edx
mov ecx, dword [ebp - 0x6b0]
call fcn.00439440
mov dword [ebp - 0x468], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x578]
call fcn.00402470
cmp dword [ebp - 0x468], 0
je 0x436e57
mov eax, dword [ebp - 0x468]
jmp 0x43759b
mov ecx, dword [ebp - 0x6b0]
call fcn.0042b570
push 0x96
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x6b0]
call fcn.0044d507
push str.config.ini
mov eax, dword [ebp - 0x6b0]
add eax, 0xc4
push eax
lea ecx, [ebp - 0x574]
push ecx
call fcn.0040f970
add esp, 0xc
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x574]
push edx
push 0x80
lea eax, [ebp - 0x56c]
push eax
push str.esafenet_cdgregedit_2008_10_16_by_ludf
push 0x4cf06c
push str.update
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x56c]
push ecx
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x436ef9
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x6b0]
call fcn.0042b570
push 1
mov ecx, dword [ebp - 0x6b0]
call fcn.00439ae0
test eax, eax
jne 0x436f31
mov dword [ebp - 0x57c], 0xb
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x574]
call fcn.00402470
mov eax, dword [ebp - 0x57c]
jmp 0x43759b
mov ecx, 0x4f89c8
call fcn.00434fb0
test eax, eax
je 0x436f49
push 0
call fcn.00435150
add esp, 4
mov ecx, dword [ebp - 0x6b0]
call fcn.00439dd0
mov ecx, dword [ebp - 0x6b0]
call fcn.00435000
mov ecx, dword [ebp - 0x6b0]
call fcn.0042c660
push 0x96
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x6b0]
call fcn.0042c870
push 0x96
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x6b0]
call fcn.0043a550
mov ecx, dword [ebp - 0x6b0]
call fcn.00438030
lea ecx, [ebp - 0x444]
call fcn.004027b0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x580]
push eax
mov ecx, dword [ebp - 0x6b0]
call fcn.0042b8e0
mov dword [ebp - 0x6bc], eax
mov ecx, dword [ebp - 0x6bc]
mov dword [ebp - 0x6c0], ecx
mov byte [ebp - 4], 3
push str.config.ini
mov edx, dword [ebp - 0x6c0]
push edx
lea eax, [ebp - 0x584]
push eax
call fcn.0040f970
add esp, 0xc
mov dword [ebp - 0x6c4], eax
mov ecx, dword [ebp - 0x6c4]
mov dword [ebp - 0x5c4], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x5c4]
mov eax, dword [edx]
mov dword [ebp - 0x5c8], eax
mov ecx, dword [ebp - 0x6b0]
mov edx, dword [ecx + 0xc0]
mov dword [ebp - 0x5cc], edx
push 0
mov eax, dword [ebp - 0x5c8]
push eax
mov ecx, dword [ebp - 0x5cc]
push ecx
lea ecx, [ebp - 0x444]
call fcn.0040bca0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x584]
call fcn.00402470
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x580]
call fcn.00402470
push ecx
mov ecx, esp
mov dword [ebp - 0x588], esp
push str.system32
call fcn.00411370
mov dword [ebp - 0x6c8], eax
mov ecx, dword [ebp - 0x6b0]
call fcn.0042ccb0
push ecx
mov ecx, esp
mov dword [ebp - 0x58c], esp
push str.system32_64
call fcn.00411370
mov dword [ebp - 0x6cc], eax
mov ecx, dword [ebp - 0x6b0]
call fcn.0042ccb0
push ecx
mov ecx, esp
mov dword [ebp - 0x590], esp
push str.drivers
call fcn.00411370
mov dword [ebp - 0x6d0], eax
mov ecx, dword [ebp - 0x6b0]
call fcn.0042ccb0
push ecx
mov ecx, esp
mov dword [ebp - 0x594], esp
push str.drivers_64
call fcn.00411370
mov dword [ebp - 0x6d4], eax
mov ecx, dword [ebp - 0x6b0]
call fcn.0042ccb0
push ecx
mov ecx, esp
mov dword [ebp - 0x598], esp
push 0x4ca84c
call fcn.00411370
mov dword [ebp - 0x6d8], eax
mov ecx, dword [ebp - 0x6b0]
call fcn.0042ccb0
push ecx
mov ecx, esp
mov dword [ebp - 0x59c], esp
push str.Client_64
call fcn.00411370
mov dword [ebp - 0x6dc], eax
mov ecx, dword [ebp - 0x6b0]
call fcn.0042ccb0
push ecx
mov ecx, esp
mov dword [ebp - 0x5a0], esp
push str.MediaSecX86
call fcn.00411370
mov dword [ebp - 0x6e0], eax
mov ecx, dword [ebp - 0x6b0]
call fcn.0042ccb0
push ecx
mov ecx, esp
mov dword [ebp - 0x5a4], esp
push str.MediaSecX64
call fcn.00411370
mov dword [ebp - 0x6e4], eax
mov ecx, dword [ebp - 0x6b0]
call fcn.0042ccb0
push str.EstConfig.ini
lea ecx, [ebp - 0x454]
call fcn.00411290
mov byte [ebp - 4], 5
lea edx, [ebp - 0x454]
push edx
mov eax, dword [ebp - 0x6b0]
add eax, 0xc0
push eax
lea ecx, [ebp - 0x44c]
push ecx
call fcn.0040f890
add esp, 0xc
mov byte [ebp - 4], 6
push 0x4cb21c
lea ecx, [ebp - 0x10]
call fcn.00411290
mov byte [ebp - 4], 7
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x6b0]
add eax, 0xc0
push eax
lea ecx, [ebp - 0x450]
push ecx
call fcn.0040f890
add esp, 0xc
mov byte [ebp - 4], 8
xor edx, edx
mov word [ebp - 0x464], dx
xor eax, eax
mov dword [ebp - 0x462], eax
mov dword [ebp - 0x45e], eax
mov dword [ebp - 0x45a], eax
mov word [ebp - 0x456], ax
mov ecx, dword [ebp - 0x44c]
push ecx
push 8
lea edx, [ebp - 0x464]
push edx
push str.5222
push str.VCUDPPORT
push str.Server
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [ebp - 0x450]
push eax
lea ecx, [ebp - 0x464]
push ecx
push str.VCUDPPORT
push str.Server
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 0x6b0]
call fcn.0043a890
mov ecx, dword [ebp - 0x6b0]
call fcn.00439d00
lea ecx, [ebp - 0x448]
call fcn.004023d0
mov byte [ebp - 4], 9
push 0x104
push 0x104
lea ecx, [ebp - 0x448]
call fcn.00411420
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x448]
call fcn.00411480
push str.PackageInfo.ini
lea ecx, [ebp - 0x18]
call fcn.00411290
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x6b0]
add eax, 0xc0
push eax
lea ecx, [ebp - 0x570]
push ecx
call fcn.0040f890
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.0048ac80
add esp, 0xc
mov ecx, dword [ebp - 0x570]
push ecx
push 0x104
lea edx, [ebp - 0x22c]
push edx
push 0x4c83b4
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.00411290
mov byte [ebp - 4], 0xc
push 0x20
lea ecx, [ebp - 0x1c]
call fcn.0040f4b0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx - 0xc]
mov dword [ebp - 0x670], edx
cmp dword [ebp - 0x670], 3
jle 0x4373b4
push 3
lea eax, [ebp - 0x5ac]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040f740
mov dword [ebp - 0x6e8], eax
mov ecx, dword [ebp - 0x6e8]
mov dword [ebp - 0x674], ecx
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x5b8]
or edx, 1
mov dword [ebp - 0x5b8], edx
push 0x4caeb4
mov ecx, dword [ebp - 0x674]
call fcn.0043c140
neg eax
sbb eax, eax
add eax, 1
movzx eax, al
test eax, eax
je 0x4373b4
mov dword [ebp - 0x6ec], 1
jmp 0x4373be
mov dword [ebp - 0x6ec], 0
mov cl, byte [ebp - 0x6ec]
mov byte [ebp - 0x5a5], cl
mov dword [ebp - 4], 0xc
mov edx, dword [ebp - 0x5b8]
and edx, 1
je 0x4373ee
and dword [ebp - 0x5b8], 0xfffffffe
lea ecx, [ebp - 0x5ac]
call fcn.00402470
movzx eax, byte [ebp - 0x5a5]
test eax, eax
je 0x43740f
mov ecx, dword [ebp - 0x6b0]
call fcn.00436450
mov ecx, dword [ebp - 0x6b0]
call fcn.004361b0
push 0x31
push 0x68
call fcn.004298e0
add esp, 8
cmp eax, 1
jne 0x43743e
push 4
push 0
mov ecx, dword [ebp - 0x448]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 0x6b0]
call fcn.0042c560
jmp 0x4374a4
mov ecx, dword [ebp - 0x6b0]
call fcn.0042cda0
push ecx
mov edx, esp
mov dword [ebp - 0x5b0], esp
mov dword [ebp - 0x684], edx
mov eax, dword [ebp - 0x448]
sub eax, 0x10
mov dword [ebp - 0x67c], eax
mov ecx, dword [ebp - 0x67c]
push ecx
call fcn.00411c60
add esp, 4
mov dword [ebp - 0x680], eax
mov edx, dword [ebp - 0x680]
add edx, 0x10
mov eax, dword [ebp - 0x684]
mov dword [eax], edx
mov ecx, dword [ebp - 0x684]
mov dword [ebp - 0x6f0], ecx
mov ecx, dword [ebp - 0x6b0]
call fcn.00434e50
push 4
push 0
mov edx, dword [ebp - 0x448]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, dword [ebp - 0x574]
mov dword [ebp - 0x688], eax
mov ecx, dword [ebp - 0x688]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4374e3
push 4
push 0
mov edx, dword [ebp - 0x574]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, 0x4f89c8
call fcn.00434fb0
test eax, eax
je 0x4374fb
push 1
call fcn.00435150
add esp, 4
mov dword [ebp - 0x5b4], 0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1c]
call fcn.00402470
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x570]
call fcn.00402470
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x18]
call fcn.00402470
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x448]
call fcn.00402470
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x450]
call fcn.00402470
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x10]
call fcn.00402470
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x44c]
call fcn.00402470
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x454]
call fcn.00402470
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x444]
call fcn.00402850
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x574]
call fcn.00402470
mov eax, dword [ebp - 0x5b4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0048abfc
mov esp, ebp
pop ebp
ret