Function at 0x4afd80
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f47ad
mov eax, dword fs:[0]
push eax
mov eax, 0x2a4c
call fcn.004bf5a0
mov eax, dword [0x52de80]
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.00406500
cmp byte [esi + 0xc4], 0
mov dword [ebp - 4], 0
jne 0x4afe4d
mov ecx, esi
call fcn.00495763
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.004b7960
add esp, 8
lea eax, [ebp - 0x3c]
mov ecx, esi
push 8
push eax
lea eax, [ebp - 0x29ec]
push eax
call fcn.004b1690
lea eax, [ebp - 0x29ec]
mov byte [ebp - 4], 1
cmp edi, eax
je 0x4afe95
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.00402360
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.004b60e0
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 0x50ce20
push ecx
call fcn.0040b3b0
add esp, 0x10
test eax, eax
jne 0x4aff27
cmp edi, ebx
jae 0x4aff1d
or eax, 0xffffffff
jmp 0x4aff25
xor eax, eax
cmp edi, 1
setne al
test eax, eax
sete al
test al, al
je 0x4aff48
lea eax, [esi + 0xe4]
lea ecx, [ebp - 0x2974]
cmp ecx, eax
je 0x4aff48
push 0xffffffffffffffff
push 0
push eax
call fcn.00402360
push 5
push str.pid
lea ecx, [ebp - 0x298c]
call fcn.00402270
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x2974]
push eax
lea ecx, [ebp - 0x298c]
call fcn.004021b0
lea eax, [ebp - 0x2974]
push eax
call fcn.004b6210
add esp, 4
lea ecx, [ebp - 0x298c]
push 6
push str.spid
call fcn.00402270
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x2974]
push eax
lea ecx, [ebp - 0x298c]
call fcn.004021b0
lea eax, [ebp - 0x2974]
push eax
call fcn.004b6340
add esp, 4
lea ecx, [ebp - 0x298c]
push 6
push 0x500d54
call fcn.00402270
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x2974]
push eax
lea ecx, [ebp - 0x298c]
call fcn.004021b0
push 9
push str.uver1.0
lea ecx, [ebp - 0x298c]
call fcn.00402270
lea eax, [ebp - 0x2974]
push eax
call fcn.004b6b10
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 0x50ce20
push eax
call fcn.0040b3b0
add esp, 0x10
test eax, eax
jne 0x4b0043
cmp edi, 1
jae 0x4b0039
or eax, 0xffffffff
jmp 0x4b0041
xor eax, eax
cmp edi, 1
setne al
test eax, eax
sete al
test al, al
je 0x4b0097
push 0
push 0x50c78d
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.004025a0
lea eax, [ebp - 0x2974]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004b0c70
add esp, 8
mov byte [ebp - 4], 3
cmp dword [ebp - 0x14], 0x10
jb 0x4b0097
push dword [ebp - 0x28]
call fcn.004814b9
add esp, 4
push 5
push 0x500d68
lea ecx, [ebp - 0x298c]
call fcn.00402270
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x2974]
push eax
lea ecx, [ebp - 0x298c]
call fcn.004021b0
lea eax, [ebp - 0x2974]
push eax
call fcn.004b5b90
add esp, 4
test eax, eax
jne 0x4b012e
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.004b0ed0
mov eax, dword [ebp - 0x18]
dec eax
cmp eax, 0x27
ja 0x4b0119
cmp byte [ebp - 0x29ee], 0
je 0x4b0119
lea eax, [ebp - 0x28]
push eax
call fcn.004b6c40
add esp, 4
cmp dword [ebp - 0x14], 0x10
mov byte [ebp - 4], 3
jb 0x4b012e
push dword [ebp - 0x28]
call fcn.004814b9
add esp, 4
push 5
push str.did
lea ecx, [ebp - 0x298c]
call fcn.00402270
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x2974]
push eax
lea ecx, [ebp - 0x298c]
call fcn.004021b0
push 2
xor eax, eax
mov dword [ebp - 0x2990], 7
push 0x5104e8
lea ecx, [ebp - 0x29a4]
mov dword [ebp - 0x2994], 0
mov word [ebp - 0x29a4], ax
call fcn.00406500
lea eax, [ebp - 0x29ec]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.004b22f0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x29a4]
mov byte [ebp - 4], 7
call fcn.00405480
cmp dword [ebp - 0x14], 8
mov byte [ebp - 4], 6
jb 0x4b01c4
push dword [ebp - 0x28]
call fcn.004814b9
add esp, 4
lea eax, [ebp - 0x298c]
mov ecx, esi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004b22f0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x29a4]
mov byte [ebp - 4], 8
call fcn.00405480
cmp dword [ebp - 0x14], 8
mov byte [ebp - 4], 6
jb 0x4b01ff
push dword [ebp - 0x28]
call fcn.004814b9
add esp, 4
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x29a4]
push eax
lea ecx, [ebp - 0x29d4]
call fcn.00405480
xor ebx, ebx
mov dword [ebp - 0x29a8], 0xf
push ebx
push 0x50c78d
lea ecx, [ebp - 0x29bc]
mov dword [ebp - 0x2a08], ebx
mov dword [ebp - 0x29ac], ebx
mov byte [ebp - 0x29bc], bl
call fcn.004025a0
cmp byte [esi + 0xc4], bl
jne 0x4b024d
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.004bf4f0
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.00495713
test eax, eax
jne 0x4b0383
lea ebx, [eax + 1]
mov byte [ebp - 4], 9
cmp dword [ebp - 0x2948], 0x10
jb 0x4b0311
push dword [ebp - 0x295c]
call fcn.004814b9
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.004bf4f0
push dword [ebp - 0x2a08]
lea eax, [ebp - 0x144]
push edi
push ebx
push str.step_ulasterr_uresphead_drespbody
push 0x104
push eax
call fcn.004c6b29
add esp, 0x24
cmp byte [ebp - 0x144], 0
jne 0x4b05fd
xor ecx, ecx
jmp 0x4b060f
cmp byte [esi + 0xc5], 0
je 0x4b03ba
cmp dword [esi + 0xdc], 8
lea eax, [esi + 0xc8]
jb 0x4b039d
mov eax, dword [eax]
push 0
push 0
push eax
push 3
push str.liebao
mov ecx, esi
call fcn.00495bb0
mov edi, eax
mov dword [ebp - 0x29f8], edi
jmp 0x4b03d6
push 0
push 0
push 0
push 0
push str.liebao
mov ecx, esi
call fcn.00495bb0
mov edi, eax
mov dword [ebp - 0x29f8], eax
test edi, edi
jne 0x4b03e2
lea ebx, [edi + 2]
jmp 0x4b02f6
push 0x7530
push 0x7530
push 0xea60
push 0
push edi
mov ecx, esi
call fcn.00495c83
movzx eax, word [ebp - 0x2a40]
mov ecx, esi
push eax
lea eax, [ebp - 0x2944]
push eax
push edi
call fcn.004956e0
mov dword [ebp - 0x2a04], eax
test eax, eax
jne 0x4b0424
lea ebx, [eax + 3]
jmp 0x4b02f6
push dword [ebp - 0x2a4c]
lea ecx, [ebp - 0x1944]
push ecx
push 0x510504
push eax
mov ecx, esi
call fcn.00495a5f
mov edi, eax
mov dword [ebp - 0x29fc], edi
test edi, edi
jne 0x4b0452
lea ebx, [eax + 4]
jmp 0x4b02f6
push 0
push 0
push edi
mov ecx, esi
call fcn.00495c4e
test eax, eax
jne 0x4b046a
lea ebx, [eax + 5]
jmp 0x4b02f6
push edi
mov ecx, esi
call fcn.00495bc1
test eax, eax
jne 0x4b047e
lea ebx, [eax + 6]
jmp 0x4b02f6
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.00495c02
test eax, eax
jne 0x4b04ac
lea ebx, [eax + 7]
jmp 0x4b02f6
lea eax, [ebp - 0x944]
push eax
call fcn.004bffb1
add esp, 4
mov dword [ebp - 0x2a08], eax
cmp eax, 0xc8
sete al
mov byte [ebp - 0x29ed], al
test al, al
je 0x4b02f6
lea eax, [ebp - 0x2a0c]
mov dword [ebp - 0x2a0c], 0
push eax
push edi
mov ecx, esi
call fcn.00495be0
test eax, eax
jne 0x4b04fc
lea ebx, [eax + 8]
jmp 0x4b02f6
mov edi, dword [ebp - 0x2a0c]
mov dword [ebp - 0x29f4], 0
test edi, edi
jle 0x4b0593
lea eax, [ebp - 0x29f4]
mov ecx, esi
push eax
push 0x7ff
lea eax, [ebp - 0x944]
push eax
push dword [ebp - 0x29fc]
call fcn.00495c31
test eax, eax
je 0x4b0593
mov eax, dword [ebp - 0x29f4]
cmp eax, 0x800
jae 0x4b05f8
mov byte [ebp + eax - 0x944], 0
cmp byte [ebp - 0x944], 0
jne 0x4b055e
xor ecx, ecx
jmp 0x4b0570
lea ecx, [ebp - 0x944]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b0567
sub ecx, edx
push ecx
lea eax, [ebp - 0x944]
push eax
lea ecx, [ebp - 0x295c]
call fcn.00402270
mov eax, dword [ebp - 0x29f4]
cmp edi, eax
jbe 0x4b0593
sub edi, eax
test edi, edi
jg 0x4b0514
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.004b17b0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x295c]
push eax
lea ecx, [ebp - 0x29bc]
call fcn.00402360
mov eax, dword [ebp - 0x2a00]
cmp dword [eax + 0x10], 0
je 0x4b05e4
cmp dword [edi + 0x10], 0
jne 0x4b02f6
mov ebx, 9
mov byte [ebp - 0x29ed], 0
mov byte [ebp - 4], bl
jmp 0x4b02fa
call fcn.004bfe6c
lea ecx, [ebp - 0x144]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b0606
sub ecx, edx
push ecx
mov ecx, dword [ebp - 0x2a1c]
lea eax, [ebp - 0x144]
push eax
call fcn.004025a0
mov ecx, dword [ebp - 0x2a1c]
lea eax, [ebp - 0x29bc]
push 0xffffffffffffffff
push 0
push eax
call fcn.004021b0
push edi
push str.KSReportNet_error_code:__x
lea eax, [ebp - 0x944]
push 0x800
push eax
call fcn.004c6b29
mov eax, dword [ebp - 0x29fc]
add esp, 0x10
test eax, eax
je 0x4b0664
push eax
mov ecx, esi
call fcn.004956bd
mov eax, dword [ebp - 0x2a04]
test eax, eax
je 0x4b0676
push eax
mov ecx, esi
call fcn.004956bd
mov eax, dword [ebp - 0x29f8]
test eax, eax
je 0x4b0688
push eax
mov ecx, esi
call fcn.004956bd
cmp dword [ebp - 0x29a8], 0x10
jb 0x4b069f
push dword [ebp - 0x29bc]
call fcn.004814b9
add esp, 4
cmp dword [ebp - 0x2990], 8
mov dword [ebp - 0x29a8], 0xf
mov dword [ebp - 0x29ac], 0
mov byte [ebp - 0x29bc], 0
jb 0x4b06d1
push dword [ebp - 0x29a4]
call fcn.004814b9
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 0x4b0705
push dword [ebp - 0x2974]
call fcn.004814b9
add esp, 4
cmp dword [ebp - 0x2978], 0x10
mov dword [ebp - 0x2960], 0xf
mov dword [ebp - 0x2964], 0
mov byte [ebp - 0x2974], 0
jb 0x4b0737
push dword [ebp - 0x298c]
call fcn.004814b9
add esp, 4
cmp dword [ebp - 0x29d8], 0x10
mov dword [ebp - 0x2978], 0xf
mov dword [ebp - 0x297c], 0
mov byte [ebp - 0x298c], 0
jb 0x4b0769
push dword [ebp - 0x29ec]
call fcn.004814b9
add esp, 4
cmp dword [ebp - 0x29c0], 8
mov dword [ebp - 0x29d8], 0xf
mov dword [ebp - 0x29dc], 0
mov byte [ebp - 0x29ec], 0
jb 0x4b079b
push dword [ebp - 0x29d4]
call fcn.004814b9
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.004bc45f
mov esp, ebp
pop ebp
ret 0x14