Function at 0x4be400
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x2360
call fcn.0051d1f0
push ebp
push esi
push edi
mov eax, str.http:__seapp.stat.360safe.com_q.html
mov edi, ecx
test eax, eax
mov dword [esp + 0x10], edi
je 0x4be666
mov esi, dword [esp + 0x2370]
xor ebp, ebp
cmp esi, ebp
je 0x4be666
call fcn.004bd920
cmp dword [edi + 4], ebp
je 0x4be666
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0xd6]
mov word [esp + 0xd4], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x237c]
cmp eax, ebp
jne 0x4be492
call fcn.0049b4c0
push eax
call fcn.00451c70
push eax
push esi
push str.http:__seapp.stat.360safe.com_q.html
push str._s_name_ssever_smid_s
lea ecx, [esp + 0xe8]
push 0x824
push ecx
call fcn.0042dbd0
add esp, 0x1c
jmp 0x4be4bf
push eax
call fcn.0049b4c0
push eax
call fcn.00451c70
push eax
push esi
push str.http:__seapp.stat.360safe.com_q.html
push str._s_name_ssever_smid_sappver_s
lea edx, [esp + 0xec]
push 0x824
push edx
call fcn.0042dbd0
add esp, 0x20
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x2378]
push ebx
xor ebx, ebx
cmp eax, ebp
jbe 0x4be5ca
push ebx
push 0x567c30
lea eax, [esp + 0x20]
push 0x20
push eax
call fcn.0042dbd0
mov ecx, dword [esp + 0x24]
add esp, 0x10
lea edx, [esp + 0x18]
lea eax, [ecx + 8]
push eax
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, eax
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x5a]
mov word [esp + 0x58], bp
cmp ebx, ebp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
jbe 0x4be538
push str.__ld
lea eax, [esp + 0x60]
push 0x40
push eax
jmp 0x4be544
push str.c_ld
lea ecx, [esp + 0x60]
push 0x40
push ecx
call fcn.0042dbd0
lea edx, [esp + 0x20]
add esp, 0x10
test edx, edx
je 0x4be56f
lea eax, [esp + 0x10]
lea ecx, [esp + 0xd8]
push eax
push 0x824
push ecx
call fcn.004be680
cmp eax, ebp
jl 0x4be5ba
mov ecx, dword [esp + 0x10]
mov eax, 0x824
sub eax, ecx
mov edi, SysReAllocString
lea esi, [esp + 0x58]
lea ecx, [esp + ecx*2 + 0xd8]
je 0x4be5ad
cmp edi, ebp
je 0x4be5a9
mov dx, word [esi]
cmp dx, bp
je 0x4be5a9
mov word [ecx], dx
add ecx, 2
add esi, 2
dec eax
dec edi
cmp eax, ebp
jne 0x4be58c
jmp 0x4be5ad
cmp eax, ebp
jne 0x4be5b0
sub ecx, 2
mov esi, dword [esp + 0x2374]
mov word [ecx], bp
mov eax, dword [esp + 0x237c]
inc ebx
cmp ebx, eax
jb 0x4be4e5
mov ecx, 0x493
xor eax, eax
lea edi, [esp + 0x1122]
mov word [esp + 0x1120], bp
rep stosd dword es:[edi], eax
lea esi, [esp + 0xd8]
lea ecx, [esp + 0x1120]
stosw word es:[edi], ax
mov edx, 0x824
lea eax, [esp + 0x1120]
sub esi, ecx
pop ebx
lea ecx, [edx + 0x7ffff7da]
test ecx, ecx
je 0x4be61f
mov cx, word [esi + eax]
cmp cx, bp
je 0x4be61f
mov word [eax], cx
add eax, 2
dec edx
jne 0x4be601
jmp 0x4be623
cmp edx, ebp
jne 0x4be626
sub eax, 2
mov edx, dword [esp + 0x2370]
push SysReAllocString
mov word [eax], bp
push edx
push ebp
lea eax, [esp + 0x2170]
push 0x104
push eax
call fcn.00519430
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x111c]
add ecx, 0x210
push edx
push 1
mov eax, dword [ecx + 8]
push eax
call fcn.004bea50
pop edi
pop esi
pop ebp
add esp, 0x2360
ret 0x10