Function at 0x40aca0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x621ce3
mov eax, dword fs:[0]
push eax
sub esp, 0x38c
mov eax, dword [0x6f8dec]
xor eax, esp
mov dword [esp + 0x384], eax
push ebx
push edi
mov eax, dword [0x6f8dec]
xor eax, esp
push eax
lea eax, [esp + 0x398]
mov dword fs:[0], eax
lea ecx, [esp + 0x1c]
call fcn.00451160
lea eax, [esp + 0x124]
xor ebx, ebx
push eax
mov dword [esp + 0x3a4], ebx
call fcn.00401b60
push ebx
push ebx
lea ecx, [esp + 0x24]
push ecx
mov edx, str.http:__45.83.207.237_cdn_updater_api_getserverinfo.xml
lea ecx, [esp + 0x130]
mov byte [esp + 0x3ac], 1
call fcn.00401e70
test al, al
jne 0x40ad51
lea edx, [esp + 0x124]
push edx
mov byte [esp + 0x3a4], bl
call fcn.00401c80
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3a0], 0xffffffff
call fcn.00451210
xor eax, eax
jmp 0x40afc4
lea ecx, [esp + 0x5c]
call fcn.005c5110
push ebx
push 0x74
lea ecx, [esp + 0x24]
mov byte [esp + 0x3a8], 2
call fcn.00451400
push eax
lea ecx, [esp + 0x28]
call fcn.00451430
push eax
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x70]
call fcn.005c5210
lea ecx, [esp + 0x5c]
cmp dword [esp + 0x50], ebx
je 0x40ada8
mov byte [esp + 0x3a0], 1
call fcn.005c4e30
lea ecx, [esp + 0x124]
push ecx
jmp 0x40ad2a
push str.info
lea edx, [esp + 0x18]
push edx
call fcn.005c2fa0
lea ecx, [esp + 0x14]
call fcn.005c2f90
test al, al
je 0x40ade2
lea ecx, [esp + 0x5c]
mov byte [esp + 0x3a0], 1
call fcn.005c4e30
lea eax, [esp + 0x124]
push eax
jmp 0x40ad2a
lea edi, [esi + 0x21c4c]
push edi
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push str.news
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x1c]
call fcn.005c2fa0
mov edx, dword [eax]
lea ecx, [esi + 0x21c34]
push edx
call fcn.0040a720
mov eax, dword [esi + 0x21cd4]
test eax, eax
jne 0x40ae61
push str.rotator
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.005c2fa0
mov edx, dword [eax]
lea ecx, [esi + 0x21cbc]
push edx
call fcn.0040a9d0
push ebx
push ebx
push esi
push 0x40b480
push ebx
push ebx
mov dword [esi + 0x21cd4], 1
call fcn.005d2bc7
add esp, 0x18
mov dword [esi + 0x21cf4], eax
lea ecx, [esp + 0x10]
call fcn.005c2f80
push str.ServerInfo
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x1c]
call fcn.005c2fa0
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.005c2f90
test al, al
jne 0x40aeca
push str.status
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x18]
call fcn.005c3020
mov ecx, eax
call fcn.005c2f60
mov ecx, eax
lea edi, [ecx + 1]
nop
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x40aeb0
sub ecx, edi
push ecx
push eax
lea ecx, [esi + 0x21c68]
call fcn.00406e40
mov edi, dword [esp + 0x18]
cmp byte [0x7a70e0], bl
jne 0x40af7f
push str.SurveyIn
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x1c]
call fcn.005c2fa0
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.005c2f90
test al, al
jne 0x40af24
push str.link
lea edx, [esp + 0x50]
push edx
lea ecx, [esp + 0x18]
call fcn.005c3020
mov ecx, eax
call fcn.005c2f60
lea ecx, [esi + 0x21c84]
push ecx
mov edx, eax
call fcn.0040e480
push str.SurveyOut
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x1c]
call fcn.005c2fa0
mov eax, dword [eax]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], eax
call fcn.005c2f90
test al, al
jne 0x40af72
push str.link
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x18]
call fcn.005c3020
mov ecx, eax
call fcn.005c2f60
lea edx, [esi + 0x21ca0]
push edx
mov edx, eax
call fcn.0040e480
push esi
call fcn.0040b240
mov byte [0x7a70e0], 1
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x5c]
mov byte [esp + 0x3a0], 1
call fcn.005c4e30
lea eax, [esp + 0x124]
push eax
mov byte [esp + 0x3a4], bl
call fcn.00401c80
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3a0], 0xffffffff
call fcn.00451210
mov eax, 1
mov ecx, dword [esp + 0x398]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x384]
xor ecx, esp
call fcn.005d2287
mov esp, ebp
pop ebp
ret