Function at 0x588a40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d1ca2
mov eax, dword fs:[0]
push eax
sub esp, 0x384
mov eax, dword [0x6b8c10]
xor eax, esp
mov dword [esp + 0x37c], eax
push esi
push edi
mov eax, dword [0x6b8c10]
xor eax, esp
push eax
lea eax, [esp + 0x390]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x30]
call fcn.00401000
lea ecx, [esp + 0x54]
mov dword [esp + 0x398], 0
call fcn.00401430
mov byte [esp + 0x398], 1
lea ecx, [esp + 0x5c]
mov dword [esp + 0x54], vtable.HttpDownload.0
call fcn.00401e20
mov byte [esp + 0x398], 2
lea eax, [esp + 0xa4]
xorps xmm0, xmm0
mov dword [esp + 0xb4], eax
lea ecx, [esp + 0x54]
movlpd qword [esp + 0xa4], xmm0
movlpd qword [esp + 0xac], xmm0
call fcn.0057dff0
push 0
push 0
lea eax, [esp + 0x38]
mov byte [esp + 0x3a0], 3
push eax
push str.https:__26.190.15.89_Game_Launcher_GameServerInfo.xml
lea ecx, [esp + 0x64]
call fcn.0057e170
test al, al
jne 0x588b15
xor esi, esi
jmp 0x588d32
lea ecx, [esp + 0x2bc]
call fcn.005a34e0
push 0
push 0x74
lea ecx, [esp + 0x38]
mov byte [esp + 0x3a0], 4
call fcn.00401260
push eax
lea ecx, [esp + 0x3c]
call fcn.00401290
push eax
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x2d0]
call fcn.005a4510
cmp dword [esp + 0x48], 0
jne 0x588d1c
push str.info
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x2c4]
call fcn.005a3860
lea ecx, [esp + 0x10]
call fcn.005a41a0
test al, al
jne 0x588d1c
lea edi, [esi + 0x21d50]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push str.news
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
call fcn.005a3860
mov ecx, eax
lea eax, [esi + 0x21d44]
push eax
push dword [ecx]
call fcn.00588320
cmp dword [esi + 0x21dc0], 0
jne 0x588c06
push str.rotator
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
call fcn.005a3860
mov ecx, eax
lea eax, [esi + 0x21db4]
push eax
push dword [ecx]
call fcn.005886d0
push 0
push 0
push esi
push 0x589240
push 0
push 0
mov dword [esi + 0x21dc0], 1
call fcn.005b35db
add esp, 0x18
mov dword [esi + 0x21e28], eax
lea ecx, [esp + 0xc]
call fcn.0058fce0
push str.ServerInfo
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
call fcn.005a3860
lea ecx, [esp + 0xc]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
call fcn.005a41a0
test al, al
jne 0x588c5b
push str.status
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
call fcn.005a37e0
mov ecx, eax
call fcn.005a5f80
push eax
lea ecx, [esi + 0x21d6c]
call fcn.0058a090
cmp byte [0x766f5c], 0
jne 0x588d0e
push str.SurveyIn
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
call fcn.005a3860
lea ecx, [esp + 0xc]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
call fcn.005a41a0
test al, al
jne 0x588cb4
push str.link
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x14]
call fcn.005a37e0
mov ecx, eax
call fcn.005a5f80
push eax
lea ecx, [esi + 0x21d84]
call fcn.0058a090
push str.SurveyOut
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call fcn.005a3860
lea ecx, [esp + 0xc]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
call fcn.005a41a0
test al, al
jne 0x588d00
push str.link
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x14]
call fcn.005a37e0
mov ecx, eax
call fcn.005a5f80
push eax
lea ecx, [esi + 0x21d9c]
call fcn.0058a090
mov ecx, esi
call fcn.00589000
mov byte [0x766f5c], 1
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, 1
jmp 0x588d1e
xor esi, esi
lea ecx, [esp + 0x2bc]
mov byte [esp + 0x398], 3
call fcn.005a3500
mov dword [esp + 0x54], vtable.HttpDownload.0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x398], 5
call fcn.00401ee0
mov byte [esp + 0x398], 0
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], vtable.CkHttpProgress.0
call fcn.00401490
lea ecx, [esp + 0x30]
mov dword [esp + 0x398], 0xffffffff
call fcn.004010b0
mov eax, esi
mov ecx, dword [esp + 0x390]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x37c]
xor ecx, esp
call fcn.005b2af3
mov esp, ebp
pop ebp
ret