Function at 0x402eb0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443bc5
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x4576e8]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x148], ecx
mov byte [ebp - 0x12c], 0
push 0x103
push 0
lea eax, [ebp - 0x12b]
push eax
call fcn.0042e940
add esp, 0xc
lea ecx, [ebp - 0x12c]
push ecx
mov ecx, dword [ebp - 0x148]
call fcn.00403f20
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x402f1e
jmp 0x4033c2
push 6
lea edx, [ebp - 0x12c]
push edx
call fcn.0042ef9c
add esp, 8
cmp eax, 0xffffffff
jne 0x402f52
mov dword [ebp - 0x130], 0
lea eax, [ebp - 0x130]
push eax
call fcn.0042eee4
add esp, 4
jmp 0x4033c2
lea ecx, [ebp - 0x12c]
push ecx
push 0
push 0x4468bc
push 0x4468cc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 0x148]
mov dword [edx + 0x230], eax
mov eax, dword [ebp - 0x148]
cmp dword [eax + 0x230], 0
je 0x403075
lea ecx, [ebp - 0x12c]
push ecx
push 0
push 0x4468dc
push 0x4468ec
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 0x148]
mov dword [edx + 0x238], eax
lea eax, [ebp - 0x12c]
push eax
push 0
push 0x4468fc
push 0x44690c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
xor ecx, ecx
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], ecx
push 0
call fcn.004033e0
add esp, 4
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], edx
mov edx, dword [ebp - 0x13c]
sub edx, dword [ebp - 0x144]
mov eax, dword [ebp - 0x138]
sbb eax, dword [ebp - 0x140]
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 0
jl 0x403037
jg 0x403027
cmp dword [ebp - 0x150], 0x15180
jbe 0x403037
mov ecx, dword [ebp - 0x148]
mov dword [ecx + 0x238], 0
mov edx, dword [ebp - 0x148]
cmp dword [edx + 0x238], 0xa
jae 0x403075
mov eax, dword [ebp - 0x148]
mov dword [eax + 0x234], 1
push 0
push 0x2bf20
mov ecx, dword [ebp - 0x148]
mov edx, dword [ecx + 0x234]
push edx
mov ecx, dword [ebp - 0x148]
call fcn.004051b0
lea eax, [ebp - 0x12c]
push eax
push 0
push str.BeTestPlatform
push 0x44692c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x148]
mov dword [ecx + 0x23c], eax
lea ecx, [ebp - 0x18]
call fcn.00401c80
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00401c80
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x148]
cmp dword [edx + 0x23c], 0
je 0x403205
lea eax, [ebp - 0x12c]
push eax
push 0x104
push 0x104
lea ecx, [ebp - 0x18]
call fcn.00402040
push eax
push str.test.shipin7.com
push str.TestServerAddr
push 0x446960
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x12c]
push ecx
push 0x104
push 0x104
lea ecx, [ebp - 0x1c]
call fcn.00402040
push eax
push 0x446970
push str.TestServerSite
push 0x44698c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x12c]
push edx
push 0x2766
push str.TestServerPort
push 0x4469ac
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x12c]
push eax
push 0x20
push 0x20
mov ecx, dword [ebp - 0x148]
add ecx, 0x24c
call fcn.00402040
push eax
push 0x4469bc
push 0x4469c0
push 0x4469cc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x12c]
push ecx
push 0
push 0x4469dc
push 0x4469e8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 0x148]
mov dword [edx + 0x250], eax
lea eax, [ebp - 0x12c]
push eax
push 0
push 0x4469f8
push 0x446a00
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x148]
mov dword [ecx + 0x254], eax
lea edx, [ebp - 0x12c]
push edx
push 0x104
push 0x104
mov ecx, dword [ebp - 0x148]
add ecx, 0x258
call fcn.00402040
push eax
push 0x446a10
push 0x446a1c
push 0x446a28
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
jmp 0x403336
lea eax, [ebp - 0x12c]
push eax
push 0x104
push 0x104
lea ecx, [ebp - 0x18]
call fcn.00402040
push eax
push 0x446a38
push 0x446a4c
push 0x446a58
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x12c]
push ecx
push 0x104
push 0x104
lea ecx, [ebp - 0x1c]
call fcn.00402040
push eax
push 0x446a68
push 0x446a74
push 0x446a80
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x12c]
push edx
push 0x2766
push 0x446a90
push 0x446a9c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x12c]
push eax
push 0x20
push 0x20
mov ecx, dword [ebp - 0x148]
add ecx, 0x24c
call fcn.00402040
push eax
push 0x446aac
push 0x446ab0
push 0x446abc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x12c]
push ecx
push 0
push 0x446acc
push 0x446ad8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 0x148]
mov dword [edx + 0x250], eax
lea eax, [ebp - 0x12c]
push eax
push 1
push str.DcLog
push 0x446af0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x148]
mov dword [ecx + 0x254], eax
lea edx, [ebp - 0x12c]
push edx
push 0x104
push 0x104
mov ecx, dword [ebp - 0x148]
add ecx, 0x258
call fcn.00402040
push eax
push 0x446b00
push 0x446b0c
push 0x446b18
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x148]
add ecx, 0x240
call fcn.00401d60
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x148]
add ecx, 0x248
call fcn.00401d60
mov edx, dword [ebp - 0x148]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x244], eax
lea ecx, [ebp - 0x12c]
push ecx
push 0x104
push 0x104
mov ecx, dword [ebp - 0x148]
add ecx, 0x220
call fcn.00402040
push eax
push str.EzvizStudio.exe
push 0x446b38
push 0x446b44
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00401d40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00401d40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0042e930
mov esp, ebp
pop ebp
ret