Function at 0x4028f0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x41c7a6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
mov al, byte [esp + 3]
push ebp
push esi
push edi
push 0
lea ecx, [esp + 0x14]
mov byte [esp + 0x14], al
call fcn.00405a90
mov edi, str.r2dl.qq.com
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x14]
push ebp
call fcn.00406540
test al, al
je 0x402967
mov edi, dword [esp + 0x14]
mov ecx, ebp
mov edx, ecx
mov esi, str.r2dl.qq.com
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], ebp
mov byte [eax + ebp], 0
mov cx, word [0x421c0c]
mov dl, byte [esp + 0xf]
mov word [esp + 0x34], cx
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x36]
rep stosd dword es:[edi], eax
push 0
lea ecx, [esp + 0x24]
mov dword [esp + 0xc0], 0
mov byte [esp + 0x24], dl
stosw word es:[edi], ax
call fcn.00405a90
mov edi, 0x421c08
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x24]
push ebp
call fcn.00406540
test al, al
je 0x4029e4
mov edi, dword [esp + 0x24]
mov ecx, ebp
mov eax, ecx
mov esi, 0x421c08
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
call fcn.00406520
push ebx
mov cx, word [0x421c0c]
xor eax, eax
mov word [esp + 0x78], cx
mov ecx, 0xf
lea edi, [esp + 0x7a]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
rep stosd dword es:[edi], eax
push str.ConfigInfo.ini
lea edx, [esp + 0x3c]
push 0x3f
push edx
push str.r2dl.qq.com
push str.serverhost
push str.Public
mov byte [esp + 0xd8], 1
stosw word es:[edi], ax
call ebx
test eax, eax
jbe 0x402a73
lea edi, [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x18]
push ebp
call fcn.00406540
test al, al
je 0x402a73
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov eax, ecx
lea esi, [esp + 0x38]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], ebp
mov byte [ecx + ebp], 0
push str.ConfigInfo.ini
lea edx, [esp + 0x7c]
push 0x3f
push edx
push 0x421c08
push str.serverpath
push str.Public
call ebx
test eax, eax
jbe 0x402ad8
lea edi, [esp + 0x78]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x28]
push ebp
call fcn.00406540
test al, al
je 0x402ad8
mov edi, dword [esp + 0x28]
mov ecx, ebp
mov eax, ecx
lea esi, [esp + 0x78]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x2c], ebp
mov byte [ecx + ebp], 0
mov ebx, dword [esp + 0x28]
mov edi, 0x41d228
test ebx, ebx
je 0x402ae7
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0xc8]
not ecx
sub edi, ecx
lea ebp, [edx + 0x1000]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.config
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebp
lea ebp, [edx + 0x1104]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.config
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebp
mov ebp, dword [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test ebp, ebp
mov word [edx + 0x1214], 1
mov edi, 0x41d228
je 0x402b73
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea esi, [edx + 0x1218]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x34], esi
mov esi, edi
mov edi, dword [esp + 0x34]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
mov word [edx + 0x125c], 0x50
cmp ebx, esi
je 0x402bcb
mov al, byte [ebx - 1]
test al, al
je 0x402bbd
cmp al, 0xff
je 0x402bbd
dec al
mov byte [ebx - 1], al
jmp 0x402bc7
dec ebx
push ebx
call fcn.0040f37c
add esp, 4
mov ebp, dword [esp + 0x18]
cmp ebp, esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
pop ebx
je 0x402bf8
mov al, byte [ebp - 1]
test al, al
je 0x402bee
cmp al, 0xff
je 0x402bee
dec al
mov byte [ebp - 1], al
jmp 0x402bf8
dec ebp
push ebp
call fcn.0040f37c
add esp, 4
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0xb4
ret 4