Function at 0x40db00
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440ebe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2a8
mov al, byte [0x454aa4]
push ebx
push esi
push edi
mov byte [ebp - 0xb0], al
mov ecx, 0x13
xor eax, eax
lea edi, [ebp - 0xaf]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ebx, dword [ebp + 8]
xor esi, esi
stosb byte es:[edi], al
mov eax, dword [0x4563f4]
mov dword [ebp - 0x10], esp
cmp eax, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x28], 0x50
je 0x40db6b
push ebx
push str.ReadURL__s
call eax
add esp, 8
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
mov dword [ebp - 4], esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 8
jae 0x40dbc1
push 0x10
call fcn.00438b8f
add esp, 4
mov dword [ebp + 8], eax
cmp eax, esi
mov byte [ebp - 4], 1
je 0x40dbaa
push ebx
push 0x451bc4
push 0x1e7
push eax
call fcn.00413380
add esp, 0x10
jmp 0x40dbac
xor eax, eax
lea ecx, [ebp - 0x48]
push 0x449ab0
push ecx
mov byte [ebp - 4], 0
mov dword [ebp - 0x48], eax
call fcn.004236ae
mov ecx, 7
mov edi, str.http:__
mov esi, ebx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x40dbd8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40dc1e
push 0x10
call fcn.00438b8f
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
mov byte [ebp - 4], 2
je 0x40dc07
push ebx
push 0x451b8c
push 0x1e7
push eax
call fcn.00413380
add esp, 0x10
jmp 0x40dc09
xor eax, eax
lea edx, [ebp - 0x44]
push 0x449ab0
push edx
mov byte [ebp - 4], 0
mov dword [ebp - 0x44], eax
call fcn.004236ae
mov ecx, 0x14
xor eax, eax
lea edi, [ebp - 0xb0]
push 0x451b88
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
lea esi, [eax + 7]
push esi
call fcn.00424ce0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x40dc78
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [ebp - 0xb0]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [ebp + 8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
add ebx, edx
jmp 0x40dc97
mov eax, dword [ebp + 8]
mov ecx, ebx
sub ecx, eax
lea edi, [ebp - 0xb0]
sub ecx, 7
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
inc ebx
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0xb0]
push 0x451b84
push ecx
call fcn.00424ce0
add esp, 8
test eax, eax
je 0x40dcbe
mov byte [eax], 0
inc eax
push eax
call fcn.0042549e
add esp, 4
jmp 0x40dcc1
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0xb0]
push edx
push eax
call fcn.0040dad0
add esp, 8
cmp eax, 0xffffffff
mov dword [ebp - 0x14], eax
jne 0x40dd24
push 0x10
call fcn.00438b8f
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
test esi, esi
mov byte [ebp - 4], 3
je 0x40dd0d
call fcn.0040cf70
lea ecx, [ebp - 0xb0]
push ecx
push 0x451b74
push eax
push esi
call fcn.00413380
add esp, 0x10
jmp 0x40dd0f
xor eax, eax
lea edx, [ebp - 0x3c]
push 0x449ab0
push edx
mov byte [ebp - 4], 0
mov dword [ebp - 0x3c], eax
call fcn.004236ae
push 0
lea ecx, [ebp - 0x60]
call fcn.00413440
push 0xffff
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 4
call fcn.004135a0
lea ecx, [ebp - 0x60]
call fcn.004136c0
mov edx, eax
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x60]
call fcn.004136c0
push str.127.0.0.1
push str._LAN.
push eax
call fcn.00414640
mov esi, eax
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x800
ja 0x40ddb9
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0xb0]
push ecx
push esi
push str.GET___s_HTTP_1.0_r_nAccept:___r_nAccept_Language:_zh_cn_r_nUser_Agent:_XYZIE_r_nHost:__s_r_n_r_n
push edx
call fcn.0040d6c0
add esp, 0x10
mov esi, eax
jmp 0x40de74
mov al, byte [0x454aa4]
mov ecx, 0x40
mov byte [ebp - 0x2b4], al
xor eax, eax
lea edi, [ebp - 0x2b3]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x3f
lea ecx, [ebp - 0x2b4]
push esi
push ecx
call fcn.00434220
add esp, 0x10
test eax, eax
je 0x40ddfc
mov byte [eax], 0
push 0
lea ecx, [ebp - 0x54]
call fcn.00413440
push esi
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 5
call fcn.00413660
lea ecx, [ebp - 0x54]
call fcn.004136c0
lea ecx, [ebp - 0x54]
mov esi, eax
call fcn.004136c0
push 0x3f
push eax
call fcn.00424d70
add esp, 8
test eax, eax
jne 0x40de3b
mov eax, 0x454aa4
jmp 0x40de3f
mov byte [eax], 0
inc eax
push eax
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0xb0]
not ecx
inc ecx
push ecx
push edx
push esi
push str.POST___s_HTTP_1.1_r_nAccept:___r_nAccept_Language:_zh_cn_r_nUser_Agent:_Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0__r_nContent_Type:_application_x_www_form_urlencoded_r_nAccept_Encoding:_gzip__deflate_r_nHost:__s_r_nContent_Length:__d_r_nConnection:_close_r_nCache_Control:_no_cache_r_nCookie:_PHPSESSID31ced5726ef506f60e400b32beac6192_r_n_r_n_s_r_n
push eax
call fcn.0040d6c0
add esp, 0x18
lea ecx, [ebp - 0x54]
mov esi, eax
mov byte [ebp - 4], 4
call fcn.00413510
test esi, esi
jg 0x40debc
push 0x10
call fcn.00438b8f
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
test esi, esi
mov byte [ebp - 4], 6
je 0x40dea5
call fcn.0040cf70
push 0x4519a8
push eax
push esi
call fcn.00413380
add esp, 0xc
jmp 0x40dea7
xor eax, eax
lea ecx, [ebp - 0x30]
push 0x449ab0
push ecx
mov byte [ebp - 4], 4
mov dword [ebp - 0x30], eax
call fcn.004236ae
mov ebx, dword [ebp + 0xc]
push 0x4000
mov ecx, ebx
call fcn.004135a0
mov ecx, ebx
call fcn.004136c0
test eax, eax
jne 0x40df14
push 0x10
call fcn.00438b8f
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
mov byte [ebp - 4], 7
je 0x40defd
push 0x45199c
push 8
push eax
call fcn.00413380
add esp, 0xc
jmp 0x40deff
xor eax, eax
lea edx, [ebp - 0x40]
push 0x449ab0
push edx
mov byte [ebp - 4], 4
mov dword [ebp - 0x40], eax
call fcn.004236ae
mov ecx, ebx
call fcn.004136b0
mov ecx, ebx
mov esi, eax
call fcn.004136c0
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp - 0x14]
push ecx
push str._r_n_r_n
push edx
push esi
push eax
call fcn.0040d7c0
add esp, 0x1c
test eax, eax
jne 0x40df8b
push 0x10
call fcn.00438b8f
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
test esi, esi
mov byte [ebp - 4], 8
je 0x40df74
call fcn.0040cf70
push 0x45196c
push eax
push esi
call fcn.00413380
add esp, 0xc
jmp 0x40df76
xor eax, eax
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push 0x449ab0
push eax
mov byte [ebp - 4], 4
call fcn.004236ae
mov ecx, ebx
call fcn.004136c0
lea ecx, [ebp - 0x1b0]
lea edx, [ebp - 0x18]
push ecx
push edx
push str.HTTP_1._d__d__80s
push eax
call fcn.00425534
add esp, 0x10
cmp eax, 2
je 0x40dffc
push 0x10
call fcn.00438b8f
mov esi, eax
add esp, 4
mov dword [ebp + 0x1c], esi
test esi, esi
mov byte [ebp - 4], 9
je 0x40dfe5
mov ecx, ebx
call fcn.004136c0
mov ecx, dword [ebp + 8]
push ecx
push eax
push 0x45191c
push 0
push esi
call fcn.00413380
add esp, 0x14
jmp 0x40dfe7
xor eax, eax
lea edx, [ebp - 0x1c]
push 0x449ab0
push edx
mov byte [ebp - 4], 4
mov dword [ebp - 0x1c], eax
call fcn.004236ae
cmp dword [ebp - 0x18], 0xc8
je 0x40e055
push 0x10
call fcn.00438b8f
mov esi, eax
add esp, 4
mov dword [ebp + 0x1c], esi
test esi, esi
mov byte [ebp - 4], 0xa
je 0x40e03e
mov ecx, ebx
call fcn.004136c0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
push ecx
push eax
push edx
push 0x4518e4
push 0
push esi
call fcn.00413380
add esp, 0x18
jmp 0x40e040
xor eax, eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push 0x449ab0
push eax
mov byte [ebp - 4], 4
call fcn.004236ae
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x1b0]
rep stosd dword es:[edi], eax
mov ecx, ebx
call fcn.004136c0
lea ecx, [ebp - 0x1b0]
push 0x100
push ecx
push 0x4518e0
push str._r_nContent_Length:
push eax
call fcn.00414720
add esp, 0x14
lea edx, [ebp - 0x1b0]
push edx
call fcn.0042549e
mov esi, eax
add esp, 4
test esi, esi
jg 0x40e0a4
mov esi, 0xffff
mov edi, dword [ebp + 0x10]
push esi
mov ecx, edi
call fcn.004135a0
mov ecx, edi
call fcn.004136c0
test eax, eax
jne 0x40e0f8
push 0x10
call fcn.00438b8f
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
mov byte [ebp - 4], 0xb
je 0x40e0e1
push 0x45199c
push 8
push eax
call fcn.00413380
add esp, 0xc
jmp 0x40e0e3
xor eax, eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push 0x449ab0
push eax
mov byte [ebp - 4], 4
call fcn.004236ae
mov ecx, edi
call fcn.004136c0
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
push ecx
push edx
push esi
mov esi, dword [ebp - 0x14]
push eax
push esi
call fcn.0040d6e0
add esp, 0x14
test eax, eax
jg 0x40e15d
push 0x10
call fcn.00438b8f
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
test esi, esi
mov byte [ebp - 4], 0xc
je 0x40e146
call fcn.0040cf70
push 0x4518c0
push eax
push esi
call fcn.00413380
add esp, 0xc
jmp 0x40e148
xor eax, eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push 0x449ab0
push eax
mov byte [ebp - 4], 4
call fcn.004236ae
push 2
push esi
call fcn.0040d190
push esi
call fcn.0040d150
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0
call fcn.00413510
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret