Function at 0x40e6d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push 0
push esi
call fcn.0041c33e
add esp, 8
test eax, eax
jne 0x40eab6
push 0x439388
call fcn.00403790
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 4
push esi
push 0xc
push 0xc31254
push 0x4321e4
push str.InstallVersion
push str.Config
call edi
push esi
push 0x104
push 0xc31478
push 0x4321e4
push str.Department
push str.Config
call edi
push esi
push 0x3fe
push 0xc31680
push 0x4321e4
push str.ProductID
push str.Config
call edi
push esi
push 0x200
push 0xc31e80
push 0x4321e4
push str.ServerIP
push str.Config
call edi
push esi
push 0x200
push 0xc32280
push 0x4321e4
push str.WebIP
push str.Config
call edi
push esi
push 0x10
push 0xc32680
push 0x438584
push str.IPRange
push str.Config
call edi
push esi
push 0x104
push 0xc33148
push 0x4321e4
push str.ShareFilesPath
push str.Config
call edi
push esi
push 0x104
push 0xc33350
push 0x4321e4
push str.FQDNPath
push str.Config
call edi
push esi
push 0x3fe
push 0xc34768
push 0x4321e4
push 0x4388b4
push str.Config
call edi
push esi
push 0x3fe
push 0xc34f68
push 0x4321e4
push str.Passphrase
push str.Config
call edi
push esi
push 0xf
push 0xc326a0
push 0x4321e4
push str.SerialNumber
push str.Config
call edi
push esi
push 0x12b
push 0xc326c0
push 0x4321e4
push str.ConsolePublicKey
push str.Config
call edi
push esi
push 0x3fe
push 0xc32918
push 0x4321e4
push str.ConsoleIdentify
push str.Config
call edi
mov eax, 0xc31254
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40e866
sub eax, edx
sar eax, 1
jne 0x40e8a3
xor eax, eax
lea esp, [esp]
movzx ecx, word [eax + 0x43944c]
mov word [eax + 0xc31254], cx
add eax, 2
test cx, cx
jne 0x40e880
push 0x439460
call fcn.00403790
add esp, 4
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push esi
push 1
push str.Progress
push str.Config
call edi
push esi
push 0
push str.Pcinfo
push str.Config
mov dword [0x4423b4], eax
call edi
push esi
push 0
push str.ForceUpdate
push str.Config
mov dword [0xc33118], eax
call edi
push esi
push 0
push str.ForceRemove
push str.Config
mov dword [0xc3311c], eax
call edi
push esi
push 0
push 0x4394d4
push str.Config
mov dword [0xc33120], eax
call edi
push esi
push 0
push str.ServicesList
push str.Config
mov dword [0xc33124], eax
call edi
push esi
push 1
push str.ShowIcon
push str.Config
mov dword [0xc33128], eax
call edi
push esi
push 0
push str.ByPassServer
push str.Config
mov dword [0x4426a4], eax
call edi
push esi
push 0
push str.OffNetDevice
push str.Config
mov dword [0xc3312c], eax
call edi
push esi
push 0
push str.ADstart
push str.Config
mov dword [0xc33130], eax
call edi
push esi
push 0
push str.ADshutdown
push str.Config
mov dword [0xc33140], eax
call edi
push esi
push 0
push str.ResetID
push str.Config
mov dword [0xc3313c], eax
call edi
push esi
push 0
push str.NoDriver
push str.Config
mov dword [0xc33134], eax
call edi
push esi
mov dword [0xc33138], eax
push 0
push str.Enable
push 0x4386c0
call edi
push esi
push 0
push 0x431c48
push 0x4386c0
mov dword [0xc33144], eax
call edi
mov ecx, esi
mov dword [0xc33558], eax
call fcn.0040ab90
mov ecx, esi
call fcn.0040ad00
mov ecx, esi
call fcn.0040b1d0
cmp dword [0xc33144], 0
jle 0x40ea05
cmp dword [0xc33558], 0
jbe 0x40ea05
push esi
call fcn.0040c480
add esp, 4
mov eax, 0xc32918
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40ea10
mov ecx, dword [0xc33134]
sub eax, edx
mov edx, dword [0xc33140]
sar eax, 1
push eax
mov eax, dword [0xc33138]
push 0xc326c0
push 0xc326a0
push eax
mov eax, dword [0xc3313c]
push ecx
mov ecx, dword [0xc33130]
push edx
mov edx, dword [0xc3312c]
push eax
mov eax, dword [0x4426a4]
push ecx
mov ecx, dword [0xc33128]
push edx
mov edx, dword [0xc33124]
push eax
mov eax, dword [0xc33120]
push ecx
mov ecx, dword [0xc3311c]
push edx
mov edx, dword [0xc33118]
push eax
mov eax, dword [0x4423b4]
push ecx
push edx
push eax
push 0xc31254
push 0xc31e80
push 0xc31478
push 0x439590
push 0xc38e98
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x54
push 0xc38e98
call fcn.00403790
add esp, 4
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret
xor al, al
pop edi
mov esp, ebp
pop ebp
ret