Function at 0x402630
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4030fb
push eax
mov eax, 0x5858
mov dword fs:[0], esp
call fcn.00402f00
push ebx
push ebp
push esi
mov ebx, ecx
xor ebp, ebp
push edi
mov eax, dword [ebx + 0x80]
push ebp
mov ecx, 6
mov esi, 0x40504c
lea edi, [esp + 0x30]
push ebp
push 0x14b
push eax
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebx + 0xe4]
call sub.MFC42u.DLL_CStringList::RemoveAll
mov ecx, 0x13ff
xor eax, eax
lea edi, [esp + 0x86a]
mov word [esp + 0x868], bp
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x868]
push ecx
push 0x2800
push edx
push 0x405044
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
cmp eax, 0xffffffff
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
jne 0x4026e5
lea eax, [esp + 0x868]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
mov dword [esp + 0x10], eax
jmp 0x4026e9
mov dword [esp + 0x10], eax
cmp eax, ebp
jle 0x402787
lea esi, [eax + eax + 4]
push esi
call dword [sym.imp.MSVCRT.dll_malloc]
mov ecx, esi
mov ebp, eax
mov edx, ecx
lea esi, [esp + 0x86c]
mov edi, ebp
mov dword [esp + 0x18], ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x14]
lea eax, [esi*4 + 4]
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 8
mov dword [eax], 0
cmp word [ebp + esi*2 - 2], 0
mov dword [esp + 0x18], eax
je 0x40275a
lea eax, [esi + 1]
mov word [ebp + esi*2], 0
mov word [ebp + eax*2], 0
inc eax
mov dword [esp + 0x10], eax
mov esi, eax
xor eax, eax
test esi, esi
jle 0x402787
cmp word [ebp + eax*2], 0
jne 0x402782
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
inc ecx
lea edx, [eax + 1]
mov word [ebp + eax*2], 0
mov dword [esp + 0x1c], ecx
mov dword [edi + ecx*4], edx
inc eax
cmp eax, esi
jl 0x402760
mov eax, dword [esp + 0x1c]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x5870], edi
jle 0x40280b
mov eax, dword [esp + 0x18]
push 0x3d
mov ecx, dword [eax + edi*4]
lea eax, [ebp + ecx*2]
push eax
call dword [sym.imp.MSVCRT.dll_wcschr]
mov esi, eax
add esp, 8
test esi, esi
je 0x4027bd
mov word [esi], 0
add esi, 2
push esi
lea ecx, [ebx + 0xe4]
call sub.MFC42u.DLL_CStringList::AddTail
mov edx, dword [esp + 0x18]
push esi
mov eax, dword [edx + edi*4]
lea edx, [esp + 0x6c]
lea ecx, [ebp + eax*2]
push ecx
push str._s__s_
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebx + 0x80]
add esp, 0x10
lea eax, [esp + 0x68]
push eax
push 0xffffffffffffffff
push 0x14a
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x1c]
inc edi
cmp edi, eax
jl 0x402798
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4028a6
mov edx, dword [0x405294]
mov eax, dword [0x405298]
mov ecx, 9
mov esi, str.http:__sxd.xd.com
lea edi, [esp + 0x44]
mov dword [esp + 0x20], edx
rep movsd dword es:[edi], dword [esi]
mov cx, word [0x40529c]
lea edx, [esp + 0x44]
mov word [esp + 0x28], cx
push edx
lea ecx, [ebx + 0xe4]
mov dword [esp + 0x28], eax
call sub.MFC42u.DLL_CStringList::AddTail
lea eax, [esp + 0x44]
lea ecx, [esp + 0x20]
push eax
push ecx
lea edx, [esp + 0x70]
push str._s__s_
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x44]
lea edx, [esp + 0x20]
push eax
push ecx
push edx
push 0x405044
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebx + 0x80]
lea eax, [esp + 0x68]
push eax
push 0xffffffffffffffff
push 0x14a
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov al, byte [esp + 0x5878]
test al, al
je 0x4028b5
xor eax, eax
jmp 0x4028bc
mov edx, dword [esp + 0x1c]
lea eax, [edx - 1]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push eax
mov eax, dword [ebx + 0x80]
push 0x14e
push eax
call esi
mov ecx, dword [ebx + 0x80]
push 0
push 0
push 0x147
push ecx
call esi
push eax
lea ecx, [ebx + 0xe4]
call sub.MFC42u.DLL_CStringList::FindIndex
mov edx, dword [eax + 8]
push 0
push 0
push 0
push 0
push edx
lea ecx, [ebx + 0xa0]
call fcn.00402a50
mov esi, dword [sym.imp.MSVCRT.dll_free]
test ebp, ebp
je 0x402918
push ebp
call esi
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x402926
push eax
call esi
add esp, 4
mov ecx, dword [esp + 0x5868]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x5864
ret 4