Function at 0x4afae0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4dad
mov eax, dword fs:[0]
push eax
mov eax, 0x2a4c
call fcn.004bf2f0
mov eax, dword [0x52fe80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x29d4]
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x2a00], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2a18], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2a10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2a1c], eax
xor eax, eax
push 0x25
push str.http:__lbdata.tj.ijinshan.com_start__
mov byte [ebp - 0x29ed], 0
mov dword [ebp - 0x29f8], 0
mov dword [ebp - 0x2a04], 0
mov dword [ebp - 0x29fc], 0
mov dword [ebp - 0x29c0], 7
mov dword [ebp - 0x29c4], 0
mov word [ebp - 0x29d4], ax
call fcn.00407560
cmp byte [esi + 0xc4], 0
mov dword [ebp - 4], 0
jne 0x4afbad
mov ecx, esi
call fcn.00495b08
mov byte [esi + 0xc4], 1
xor eax, eax
mov byte [ebp - 0x3c], 0
mov dword [ebp - 0x3b], eax
mov dword [ebp - 0x37], eax
lea eax, [ebp - 0x3c]
push 8
push eax
call fcn.004b76c0
add esp, 8
lea eax, [ebp - 0x3c]
mov ecx, esi
push 8
push eax
lea eax, [ebp - 0x29ec]
push eax
call fcn.004b13f0
lea eax, [ebp - 0x29ec]
mov byte [ebp - 4], 1
cmp edi, eax
je 0x4afbf5
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.00403450
mov dword [ebp - 0x2978], 0xf
mov dword [ebp - 0x297c], 0
mov byte [ebp - 0x298c], 0
mov dword [ebp - 0x2960], 0xf
mov dword [ebp - 0x2964], 0
mov byte [ebp - 0x2974], 0
lea eax, [ebp - 0x2974]
mov byte [ebp - 4], 3
push eax
call fcn.004b5e40
cmp dword [ebp - 0x2960], 0x10
lea ecx, [ebp - 0x2974]
mov edi, dword [ebp - 0x2964]
mov ebx, 1
cmovae ecx, dword [ebp - 0x2974]
mov eax, ebx
cmp edi, ebx
cmovb eax, edi
push eax
push 0x50ff38
push ecx
call fcn.0040b5d0
add esp, 0x10
test eax, eax
jne 0x4afc87
cmp edi, ebx
jae 0x4afc7d
or eax, 0xffffffff
jmp 0x4afc85
xor eax, eax
cmp edi, 1
setne al
test eax, eax
sete al
test al, al
je 0x4afca8
lea eax, [esi + 0xe4]
lea ecx, [ebp - 0x2974]
cmp ecx, eax
je 0x4afca8
push 0xffffffffffffffff
push 0
push eax
call fcn.00403450
push 5
push str.pid
lea ecx, [ebp - 0x298c]
call fcn.00403360
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x2974]
push eax
lea ecx, [ebp - 0x298c]
call fcn.004032a0
lea eax, [ebp - 0x2974]
push eax
call fcn.004b5f70
add esp, 4
lea ecx, [ebp - 0x298c]
push 6
push str.spid
call fcn.00403360
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x2974]
push eax
lea ecx, [ebp - 0x298c]
call fcn.004032a0
lea eax, [ebp - 0x2974]
push eax
call fcn.004b60a0
add esp, 4
lea ecx, [ebp - 0x298c]
push 6
push 0x501be4
call fcn.00403360
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x2974]
push eax
lea ecx, [ebp - 0x298c]
call fcn.004032a0
push 9
push str.uver1.0
lea ecx, [ebp - 0x298c]
call fcn.00403360
lea eax, [ebp - 0x2974]
push eax
call fcn.004b6870
cmp dword [ebp - 0x2960], 0x10
lea eax, [ebp - 0x2974]
mov edi, dword [ebp - 0x2964]
cmovae eax, dword [ebp - 0x2974]
cmp edi, 1
cmovb ebx, edi
push ebx
push 0x50ff38
push eax
call fcn.0040b5d0
add esp, 0x10
test eax, eax
jne 0x4afda3
cmp edi, 1
jae 0x4afd99
or eax, 0xffffffff
jmp 0x4afda1
xor eax, eax
cmp edi, 1
setne al
test eax, eax
sete al
test al, al
je 0x4afdf7
push 0
push 0x50ddb1
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.004038d0
lea eax, [ebp - 0x2974]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004b09d0
add esp, 8
mov byte [ebp - 4], 3
cmp dword [ebp - 0x14], 0x10
jb 0x4afdf7
push dword [ebp - 0x28]
call fcn.0048185e
add esp, 4
push 5
push 0x501bf8
lea ecx, [ebp - 0x298c]
call fcn.00403360
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x2974]
push eax
lea ecx, [ebp - 0x298c]
call fcn.004032a0
lea eax, [ebp - 0x2974]
push eax
call fcn.004b58f0
add esp, 4
test eax, eax
jne 0x4afe8e
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
mov byte [ebp - 0x29ee], al
mov ecx, esi
lea eax, [ebp - 0x29ee]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004b0c30
mov eax, dword [ebp - 0x18]
dec eax
cmp eax, 0x27
ja 0x4afe79
cmp byte [ebp - 0x29ee], 0
je 0x4afe79
lea eax, [ebp - 0x28]
push eax
call fcn.004b69a0
add esp, 4
cmp dword [ebp - 0x14], 0x10
mov byte [ebp - 4], 3
jb 0x4afe8e
push dword [ebp - 0x28]
call fcn.0048185e
add esp, 4
push 5
push str.did
lea ecx, [ebp - 0x298c]
call fcn.00403360
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x2974]
push eax
lea ecx, [ebp - 0x298c]
call fcn.004032a0
push 2
xor eax, eax
mov dword [ebp - 0x2990], 7
push 0x512638
lea ecx, [ebp - 0x29a4]
mov dword [ebp - 0x2994], 0
mov word [ebp - 0x29a4], ax
call fcn.00407560
lea eax, [ebp - 0x29ec]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.004b2050
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x29a4]
mov byte [ebp - 4], 7
call fcn.00407180
cmp dword [ebp - 0x14], 8
mov byte [ebp - 4], 6
jb 0x4aff24
push dword [ebp - 0x28]
call fcn.0048185e
add esp, 4
lea eax, [ebp - 0x298c]
mov ecx, esi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004b2050
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x29a4]
mov byte [ebp - 4], 8
call fcn.00407180
cmp dword [ebp - 0x14], 8
mov byte [ebp - 4], 6
jb 0x4aff5f
push dword [ebp - 0x28]
call fcn.0048185e
add esp, 4
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x29a4]
push eax
lea ecx, [ebp - 0x29d4]
call fcn.00407180
xor ebx, ebx
mov dword [ebp - 0x29a8], 0xf
push ebx
push 0x50ddb1
lea ecx, [ebp - 0x29bc]
mov dword [ebp - 0x2a08], ebx
mov dword [ebp - 0x29ac], ebx
mov byte [ebp - 0x29bc], bl
call fcn.004038d0
cmp byte [esi + 0xc4], bl
jne 0x4affad
int3
mov dword [ebp - 0x2948], 0xf
mov dword [ebp - 0x294c], 0
mov byte [ebp - 0x295c], 0
push 0x3c
lea eax, [ebp - 0x2a58]
mov byte [ebp - 4], 0xa
push 0
push eax
call fcn.004bf240
lea eax, [ebp - 0x30]
mov dword [ebp - 0x2a58], 0x3c
mov dword [ebp - 0x2a54], eax
lea ecx, [ebp - 0x2a58]
lea eax, [ebp - 0x2944]
mov dword [ebp - 0x2a50], 0x10
mov dword [ebp - 0x2a48], eax
add esp, 0xc
cmp dword [ebp - 0x29c0], 8
lea eax, [ebp - 0x1944]
mov dword [ebp - 0x2a2c], eax
lea eax, [ebp - 0x29d4]
cmovae eax, dword [ebp - 0x29d4]
push ecx
push eax
mov ecx, esi
mov dword [ebp - 0x2a44], 0x800
mov dword [ebp - 0x2a28], 0x800
call fcn.00495ab8
test eax, eax
jne 0x4b00e3
lea ebx, [eax + 1]
mov byte [ebp - 4], 9
cmp dword [ebp - 0x2948], 0x10
jb 0x4b0071
push dword [ebp - 0x295c]
call fcn.0048185e
add esp, 4
mov byte [ebp - 0x295c], 0
mov dword [ebp - 0x294c], 0
mov dword [ebp - 0x2948], 0xf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x104
mov edi, eax
mov byte [ebp - 0x144], 0
lea eax, [ebp - 0x143]
push 0
push eax
call fcn.004bf240
push dword [ebp - 0x2a08]
lea eax, [ebp - 0x144]
push edi
push ebx
push str.step_ulasterr_uresphead_drespbody
push 0x104
push eax
call fcn.004c6bdd
add esp, 0x24
cmp byte [ebp - 0x144], 0
jne 0x4b035d
xor ecx, ecx
jmp 0x4b036f
cmp byte [esi + 0xc5], 0
je 0x4b011a
cmp dword [esi + 0xdc], 8
lea eax, [esi + 0xc8]
jb 0x4b00fd
mov eax, dword [eax]
push 0
push 0
push eax
push 3
push str.liebao
mov ecx, esi
call fcn.00495f55
mov edi, eax
mov dword [ebp - 0x29f8], edi
jmp 0x4b0136
push 0
push 0
push 0
push 0
push str.liebao
mov ecx, esi
call fcn.00495f55
mov edi, eax
mov dword [ebp - 0x29f8], eax
test edi, edi
jne 0x4b0142
lea ebx, [edi + 2]
jmp 0x4b0056
push 0x7530
push 0x7530
push 0xea60
push 0
push edi
mov ecx, esi
call fcn.00496028
movzx eax, word [ebp - 0x2a40]
mov ecx, esi
push eax
lea eax, [ebp - 0x2944]
push eax
push edi
call fcn.00495a85
mov dword [ebp - 0x2a04], eax
test eax, eax
jne 0x4b0184
lea ebx, [eax + 3]
jmp 0x4b0056
push dword [ebp - 0x2a4c]
lea ecx, [ebp - 0x1944]
push ecx
push 0x512654
push eax
mov ecx, esi
call fcn.00495e04
mov edi, eax
mov dword [ebp - 0x29fc], edi
test edi, edi
jne 0x4b01b2
lea ebx, [eax + 4]
jmp 0x4b0056
push 0
push 0
push edi
mov ecx, esi
call fcn.00495ff3
test eax, eax
jne 0x4b01ca
lea ebx, [eax + 5]
jmp 0x4b0056
push edi
mov ecx, esi
call fcn.00495f66
test eax, eax
jne 0x4b01de
lea ebx, [eax + 6]
jmp 0x4b0056
lea eax, [ebp - 0x2a14]
mov dword [ebp - 0x2a14], 0x800
push eax
lea eax, [ebp - 0x944]
mov ecx, esi
push eax
push 0x13
push edi
call fcn.00495fa7
test eax, eax
jne 0x4b020c
lea ebx, [eax + 7]
jmp 0x4b0056
lea eax, [ebp - 0x944]
push eax
call fcn.004bfd01
add esp, 4
mov dword [ebp - 0x2a08], eax
cmp eax, 0xc8
sete al
mov byte [ebp - 0x29ed], al
test al, al
je 0x4b0056
lea eax, [ebp - 0x2a0c]
mov dword [ebp - 0x2a0c], 0
push eax
push edi
mov ecx, esi
call fcn.00495f85
test eax, eax
jne 0x4b025c
lea ebx, [eax + 8]
jmp 0x4b0056
mov edi, dword [ebp - 0x2a0c]
mov dword [ebp - 0x29f4], 0
test edi, edi
jle 0x4b02f3
lea eax, [ebp - 0x29f4]
mov ecx, esi
push eax
push 0x7ff
lea eax, [ebp - 0x944]
push eax
push dword [ebp - 0x29fc]
call fcn.00495fd6
test eax, eax
je 0x4b02f3
mov eax, dword [ebp - 0x29f4]
cmp eax, 0x800
jae 0x4b0358
mov byte [ebp + eax - 0x944], 0
cmp byte [ebp - 0x944], 0
jne 0x4b02be
xor ecx, ecx
jmp 0x4b02d0
lea ecx, [ebp - 0x944]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b02c7
sub ecx, edx
push ecx
lea eax, [ebp - 0x944]
push eax
lea ecx, [ebp - 0x295c]
call fcn.00403360
mov eax, dword [ebp - 0x29f4]
cmp edi, eax
jbe 0x4b02f3
sub edi, eax
test edi, edi
jg 0x4b0274
mov edi, dword [ebp - 0x2a10]
lea eax, [ebp - 0x3c]
push edi
push dword [ebp - 0x2a18]
mov ecx, esi
push dword [ebp - 0x2a00]
push eax
lea eax, [ebp - 0x295c]
push eax
call fcn.004b1510
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x295c]
push eax
lea ecx, [ebp - 0x29bc]
call fcn.00403450
mov eax, dword [ebp - 0x2a00]
cmp dword [eax + 0x10], 0
je 0x4b0344
cmp dword [edi + 0x10], 0
jne 0x4b0056
mov ebx, 9
mov byte [ebp - 0x29ed], 0
mov byte [ebp - 4], bl
jmp 0x4b005a
call fcn.004bfbbc
lea ecx, [ebp - 0x144]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b0366
sub ecx, edx
push ecx
mov ecx, dword [ebp - 0x2a1c]
lea eax, [ebp - 0x144]
push eax
call fcn.004038d0
mov ecx, dword [ebp - 0x2a1c]
lea eax, [ebp - 0x29bc]
push 0xffffffffffffffff
push 0
push eax
call fcn.004032a0
push edi
push str.KSReportNet_error_code:__x
lea eax, [ebp - 0x944]
push 0x800
push eax
call fcn.004c6bdd
mov eax, dword [ebp - 0x29fc]
add esp, 0x10
test eax, eax
je 0x4b03c4
push eax
mov ecx, esi
call fcn.00495a62
mov eax, dword [ebp - 0x2a04]
test eax, eax
je 0x4b03d6
push eax
mov ecx, esi
call fcn.00495a62
mov eax, dword [ebp - 0x29f8]
test eax, eax
je 0x4b03e8
push eax
mov ecx, esi
call fcn.00495a62
cmp dword [ebp - 0x29a8], 0x10
jb 0x4b03ff
push dword [ebp - 0x29bc]
call fcn.0048185e
add esp, 4
cmp dword [ebp - 0x2990], 8
mov dword [ebp - 0x29a8], 0xf
mov dword [ebp - 0x29ac], 0
mov byte [ebp - 0x29bc], 0
jb 0x4b0431
push dword [ebp - 0x29a4]
call fcn.0048185e
add esp, 4
xor eax, eax
mov dword [ebp - 0x2990], 7
cmp dword [ebp - 0x2960], 0x10
mov dword [ebp - 0x2994], 0
mov word [ebp - 0x29a4], ax
jb 0x4b0465
push dword [ebp - 0x2974]
call fcn.0048185e
add esp, 4
cmp dword [ebp - 0x2978], 0x10
mov dword [ebp - 0x2960], 0xf
mov dword [ebp - 0x2964], 0
mov byte [ebp - 0x2974], 0
jb 0x4b0497
push dword [ebp - 0x298c]
call fcn.0048185e
add esp, 4
cmp dword [ebp - 0x29d8], 0x10
mov dword [ebp - 0x2978], 0xf
mov dword [ebp - 0x297c], 0
mov byte [ebp - 0x298c], 0
jb 0x4b04c9
push dword [ebp - 0x29ec]
call fcn.0048185e
add esp, 4
cmp dword [ebp - 0x29c0], 8
mov dword [ebp - 0x29d8], 0xf
mov dword [ebp - 0x29dc], 0
mov byte [ebp - 0x29ec], 0
jb 0x4b04fb
push dword [ebp - 0x29d4]
call fcn.0048185e
add esp, 4
mov al, byte [ebp - 0x29ed]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bc1bd
mov esp, ebp
pop ebp
ret 0x14