Function at 0x43d820
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452060
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x46ab5c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x14]
call fcn.004068d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004068d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.004068d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.004068d0
mov byte [ebp - 4], 3
push str.upcfg.dat
push 0
lea eax, [ebp - 0x34]
push eax
call fcn.004165b0
add esp, 8
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x5c]
push edx
lea eax, [ebp - 0x38]
push eax
call fcn.0040aa40
add esp, 0xc
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x64], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x64]
push edx
lea ecx, [ebp - 0x14]
call fcn.004027e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call fcn.00401080
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00401080
push str.mainupcfg.dat
lea eax, [ebp - 0x3c]
push eax
mov ecx, 0x46b648
call fcn.0042fbf0
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x6c], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x6c]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.0040aa40
add esp, 0xc
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x74], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x74]
push edx
lea ecx, [ebp - 0x1c]
call fcn.004027e0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
call fcn.00401080
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.00401080
push 0
lea ecx, [ebp - 0x1c]
call fcn.0040f280
push eax
call dword [sym.imp.MSVCR80.dll__waccess]
add esp, 8
test eax, eax
je 0x43d985
lea ecx, [ebp - 0x14]
call fcn.0040f280
push eax
push 0
push str.AutoReupdateDelayTime
push str.common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0x54]
mov dword [ecx + 0x24], eax
jmp 0x43da0f
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x14]
call fcn.0040f280
push eax
push 0
push str.forcereboot
push str.common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x1c]
call fcn.0040f280
push eax
push 0
push str.forcereboot
push str.common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x1c]
call fcn.0040f280
push eax
push 0
push str.AutoReupdateDelayTime
push str.common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [ebp - 0x54]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 0x28]
xor ecx, ecx
cmp eax, dword [ebp - 0x24]
setne cl
mov edx, dword [ebp - 0x54]
mov dword [edx + 0x28], ecx
mov eax, dword [ebp - 0x54]
cmp dword [eax + 0x28], 0
je 0x43da0f
jmp 0x43db62
push str.ressrcchsupdefendcfg.dat
push 0
lea ecx, [ebp - 0x44]
push ecx
call fcn.004165b0
add esp, 8
mov dword [ebp - 0x78], eax
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x7c], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.0040aa40
add esp, 0xc
mov dword [ebp - 0x80], eax
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x84], edx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x84]
push eax
lea ecx, [ebp - 0x18]
call fcn.004027e0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x48]
call fcn.00401080
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.00401080
push str.kxeapp_ressrcchsupdefendcfg.dat
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, 0x46b648
call fcn.0042fbf0
mov dword [ebp - 0x88], eax
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0x8c], edx
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x50]
push ecx
call fcn.0040aa40
add esp, 0xc
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x94], edx
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x94]
push eax
lea ecx, [ebp - 0x10]
call fcn.004027e0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x50]
call fcn.00401080
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c]
call fcn.00401080
push 0
lea ecx, [ebp - 0x10]
call fcn.0040f280
push eax
call dword [sym.imp.MSVCR80.dll__waccess]
add esp, 8
test eax, eax
jne 0x43db62
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x18]
call fcn.0040f280
push eax
push 0
push str.forcereboot
push str.common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x10]
call fcn.0040f280
push eax
push 0
push str.forcereboot
push str.common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x30]
xor edx, edx
cmp ecx, dword [ebp - 0x2c]
setne dl
mov eax, dword [ebp - 0x54]
mov dword [eax + 0x28], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.00401080
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00401080
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00401080
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401080
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret