Function at 0x40f960
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63dd15
mov eax, dword fs:[0]
push eax
sub esp, 0x3bc
mov eax, dword [0x6f1114]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x194], 0x78
mov dword [ebp - 0x190], 0
push 0xe0
lea eax, [ebp - 0x150]
push 0
push eax
lea edi, [ebp - 0x21c]
lea esi, [ebp - 0x24c]
call fcn.004b95f0
add esp, 0xc
mov byte [ebp - 0x151], 0
lea eax, [ebp - 0x194]
xorps xmm0, xmm0
lea ecx, [ebp - 0x19c]
movlpd qword [ebp - 0x2bc], xmm0
push eax
call fcn.0041a1d0
mov eax, dword [ebp - 0x19c]
mov ecx, esi
push 0xa
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x198]
push str.User_Agent
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0xf
mov byte [ebp - 0x24c], 0
call fcn.004057d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x234]
push 0xb
push 0x6d7914
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], 0
call fcn.004057d0
push edi
push esi
lea ecx, [ebp - 0x16c]
mov dword [ebp - 4], 1
call fcn.00417e10
mov dword [ebp - 0x15c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1d4]
push 7
push str.channel
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1c0], 0xf
mov byte [ebp - 0x1d4], 0
call fcn.004057d0
lea eax, [ebp - 0x1d4]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x3c8]
call fcn.00404260
push 0x6f5700
lea ecx, [ebp - 0x3b0]
mov byte [ebp - 4], 4
call fcn.00404260
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x1c0]
cmp edx, 0x10
jb 0x40fb1f
mov ecx, dword [ebp - 0x1d4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fb15
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4104bf
push edx
push ecx
call fcn.004a14d7
add esp, 8
push 4
push str.hwid
lea ecx, [ebp - 0x1ec]
mov dword [ebp - 0x1dc], 0
mov dword [ebp - 0x1d8], 0xf
mov byte [ebp - 0x1ec], 0
call fcn.004057d0
lea eax, [ebp - 0x1ec]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x398]
call fcn.00404260
push 0x6f5718
lea ecx, [ebp - 0x380]
mov byte [ebp - 4], 8
call fcn.00404260
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x1d8]
cmp edx, 0x10
jb 0x40fbb4
mov ecx, dword [ebp - 0x1ec]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fbaa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4104bf
push edx
push ecx
call fcn.004a14d7
add esp, 8
push 6
push str.verify
lea ecx, [ebp - 0x204]
mov dword [ebp - 0x1f4], 0
mov dword [ebp - 0x1f0], 0xf
mov byte [ebp - 0x204], 0
call fcn.004057d0
lea eax, [ebp - 0x204]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x368]
call fcn.00404260
push 0x6f5730
lea ecx, [ebp - 0x350]
mov byte [ebp - 4], 0xc
call fcn.00404260
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x1f0]
cmp edx, 0x10
jb 0x40fc49
mov ecx, dword [ebp - 0x204]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fc3f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4104bf
push edx
push ecx
call fcn.004a14d7
add esp, 8
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x3c8]
mov dword [ebp - 0x1a4], eax
lea ecx, [ebp - 0x17c]
lea eax, [ebp - 0x338]
mov dword [ebp - 0x1a0], eax
lea eax, [ebp - 0x1a4]
push eax
call fcn.004984f0
mov edi, eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x26c]
push 7
push str.version
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 0xf
mov byte [ebp - 0x26c], 0
call fcn.004057d0
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x284]
push dword [0x6fe244]
push dword [0x6fe240]
push eax
call fcn.00408bd0
movups xmm0, xmmword [ebp - 0x26c]
mov dword [ebp - 0x310], 0
add esp, 0xc
mov dword [ebp - 0x30c], 0
movups xmmword [ebp - 0x338], xmm0
movq xmm0, qword [ebp - 0x25c]
movq qword [ebp - 0x328], xmm0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x320], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x310], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x270]
cmp edx, 0x10
jb 0x40fd61
mov ecx, dword [ebp - 0x284]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fd57
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4104bf
push edx
push ecx
call fcn.004a14d7
add esp, 8
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x270], 0xf
mov byte [ebp - 0x284], 0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x29c]
push 5
push str._time
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x288], 0xf
mov byte [ebp - 0x29c], 0
call fcn.004057d0
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 0x12
call fcn.004091f0
movups xmm0, xmmword [ebp - 0x29c]
mov dword [ebp - 0x2e0], 0
mov dword [ebp - 0x2dc], 0
movups xmmword [ebp - 0x308], xmm0
movq xmm0, qword [ebp - 0x28c]
movq qword [ebp - 0x2f8], xmm0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2f0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x2e0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edx, dword [ebp - 0x2a0]
cmp edx, 0x10
jb 0x40fe50
mov ecx, dword [ebp - 0x2b4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fe46
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4104bf
push edx
push ecx
call fcn.004a14d7
add esp, 8
mov dword [ebp - 0x2a4], 0
mov dword [ebp - 0x2a0], 0xf
mov byte [ebp - 0x2b4], 0
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x338]
mov dword [ebp - 0x1ac], eax
lea ecx, [ebp - 0x18c]
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x1a8], eax
lea eax, [ebp - 0x1ac]
push eax
call fcn.00498510
mov esi, eax
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x21c]
push 0x1f
push str.https:__game.stpurl.com_game_v2
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x208], 0xf
mov byte [ebp - 0x21c], 0
call fcn.004057d0
lea eax, [ebp - 0x204]
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x21c]
push eax
push ecx
lea ecx, [ebp - 0x2d8]
call fcn.0042baa0
lea ecx, [ebp - 0x151]
mov byte [ebp - 4], 0x16
push ecx
lea ecx, [ebp - 0x2bc]
mov edx, eax
push ecx
lea ecx, [ebp - 0x1b4]
push ecx
push dword [ebp - 0x15c]
lea ecx, [ebp - 0x150]
push edi
push esi
call fcn.0041a200
add esp, 0x18
mov byte [ebp - 4], 0x18
mov edx, dword [ebp - 0x2c0]
cmp edx, 0x10
jb 0x40ff58
mov ecx, dword [ebp - 0x2d4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ff4e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4104bf
push edx
push ecx
call fcn.004a14d7
add esp, 8
mov dword [ebp - 0x2c4], 0
mov dword [ebp - 0x2c0], 0xf
mov byte [ebp - 0x2d4], 0
push fcn.00404210
push 1
push 0x18
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 0x19
push eax
call fcn.004a1516
mov byte [ebp - 4], 0x1a
mov esi, dword [ebp - 0x188]
test esi, esi
je 0x410021
mov edi, dword [ebp - 0x184]
cmp esi, edi
je 0x40ffbc
mov ecx, esi
call fcn.00413bd0
add esi, 0x30
cmp esi, edi
jne 0x40ffa8
mov esi, dword [ebp - 0x188]
mov ecx, dword [ebp - 0x180]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 4
cmp ecx, 0x1000
jb 0x40fff9
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4104bf
push ecx
push esi
call fcn.004a14d7
add esp, 8
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x180], 0
push fcn.00413bd0
push 2
push 0x30
lea eax, [ebp - 0x338]
mov byte [ebp - 4], 0x1b
push eax
call fcn.004a1516
mov byte [ebp - 4], 0x1c
mov esi, dword [ebp - 0x178]
test esi, esi
je 0x4100cf
mov edi, dword [ebp - 0x174]
cmp esi, edi
je 0x41006a
mov ecx, esi
call fcn.00413bd0
add esi, 0x30
cmp esi, edi
jne 0x410056
mov esi, dword [ebp - 0x178]
mov ecx, dword [ebp - 0x170]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 4
cmp ecx, 0x1000
jb 0x4100a7
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4104bf
push ecx
push esi
call fcn.004a14d7
add esp, 8
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x170], 0
push fcn.00413bd0
push 3
push 0x30
lea eax, [ebp - 0x3c8]
mov byte [ebp - 4], 0x1d
push eax
call fcn.004a1516
mov eax, dword [ebp - 0x16c]
lea ecx, [ebp - 0x16c]
push eax
push dword [eax]
lea eax, [ebp - 0x250]
push eax
call fcn.00418e50
push 0x40
push dword [ebp - 0x16c]
call fcn.004a14d7
add esp, 8
push fcn.00413bd0
push 1
push 0x30
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 0x1f
push eax
call fcn.004a1516
mov eax, dword [ebp - 0x148]
add eax, 0xffffff38
cmp eax, 6
ja 0x410328
cmp dword [ebp - 0x134], 0xa
jbe 0x410328
mov eax, dword [0x6fe224]
test eax, eax
jne 0x41018c
push 0x3e0
call fcn.004a14a7
mov esi, eax
mov dword [ebp - 0x254], esi
push 0x3e0
push 0
push esi
mov byte [ebp - 4], 0x20
call fcn.004b95f0
add esp, 0x10
mov ecx, esi
call fcn.004358e0
mov byte [ebp - 4], 0x1f
mov dword [0x6fe224], eax
lea edi, [eax + 0x260]
mov dword [ebp - 0x50], 0
push ecx
xorps xmm0, xmm0
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x70]
movups xmmword [ebp - 0x70], xmm0
movups xmmword [ebp - 0x60], xmm0
call fcn.004299b0
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0x6d704a
mov dword [ebp - 0x44], 0xffffffff
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0x22
push eax
push 0
lea ecx, [ebp - 0x70]
call fcn.0041d460
mov esi, eax
test esi, esi
je 0x410262
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push edi
push str.code
mov ecx, esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.004256e0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
lea eax, [edi + 4]
push eax
push str.message
call fcn.00425580
lea eax, [ebp - 0x1c]
push eax
lea eax, [edi + 0x1c]
push eax
push ecx
mov ecx, esi
call fcn.0041ea20
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x410282
mov ecx, esi
call fcn.004298f0
push 0x38
push esi
call fcn.004a14d7
add esp, 8
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x4c]
call fcn.00427380
mov byte [ebp - 4], 0x1f
mov esi, dword [ebp - 0x54]
test esi, esi
je 0x4102ae
mov ecx, esi
call fcn.004298f0
push 0x38
push esi
call fcn.004a14d7
add esp, 8
mov dword [ebp - 0x54], 0
lea ecx, [ebp - 0x70]
call fcn.00427380
mov eax, dword [0x6fe224]
test eax, eax
jne 0x4102f5
push 0x3e0
call fcn.004a14a7
mov esi, eax
mov dword [ebp - 0x160], esi
push 0x3e0
push 0
push esi
mov byte [ebp - 4], 0x23
call fcn.004b95f0
add esp, 0x10
mov ecx, esi
call fcn.004358e0
mov byte [ebp - 4], 0x1f
mov dword [0x6fe224], eax
cmp dword [eax + 0x260], 0xc8
jne 0x4103df
mov ecx, dword [eax + 0x2fc]
sub ecx, dword [eax + 0x2f8]
mov eax, 0x66666667
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x4103c5
lea ecx, [ebp - 0x1bc]
mov dword [ebp - 0x1bc], 1
mov dword [ebp - 0x1b8], 0
call fcn.0041a340
lea ecx, [ebp - 0x150]
mov dword [ebp - 4], 0xffffffff
call fcn.00413cf0
mov esi, dword [ebp - 0x164]
inc esi
mov dword [ebp - 0x164], esi
cmp esi, 5
jl 0x40f9b1
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0x10
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push 0x6d7974
mov word [ecx], ax
call fcn.00402400
xor ecx, ecx
call fcn.0042b690
mov ecx, dword [ebp - 0x158]
add esp, 0x18
push 0
call fcn.0044555f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a1496
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x158]
push 1
call fcn.0044555f
lea ecx, [ebp - 0x150]
call fcn.00413cf0
jmp 0x4103aa
sub esp, 0x18
add eax, 0x264
mov ecx, esp
push eax
call fcn.00404260
mov edx, 0xfde9
lea ecx, [ebp - 0x28]
call fcn.00406ce0
mov edi, dword [ebp - 0x158]
lea esi, [ebp - 0x28]
mov byte [ebp - 4], 0x26
mov ecx, esp
cmp dword [ebp - 0x14], 8
cmovae esi, dword [ebp - 0x28]
xor eax, eax
mov edi, dword [edi + 4]
mov edx, esi
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
lea eax, [edx + 2]
mov dword [ebp - 0x15c], eax
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x410434
sub edx, dword [ebp - 0x15c]
sar edx, 1
push edx
push esi
call fcn.00402400
mov ecx, edi
call fcn.0042b690
mov ecx, dword [ebp - 0x158]
add esp, 0x18
push 0
call fcn.0044555f
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x41049b
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410491
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4104bf
push edx
push ecx
call fcn.004a14d7
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x150]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00413cf0
jmp 0x4103aa
call fcn.004bd1a9
int3