Function at 0x10101040
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014eabd
mov eax, dword fs:[0]
push eax
mov eax, 0x2a4c
call fcn.1011bf70
mov eax, dword [0x1018d0d0]
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.1000c2b0
cmp byte [esi + 0xc4], 0
mov dword [ebp - 4], 0
jne 0x1010110d
mov ecx, esi
call fcn.100f3940
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.10107ea0
add esp, 8
lea eax, [ebp - 0x3c]
mov ecx, esi
push 8
push eax
lea eax, [ebp - 0x29ec]
push eax
call fcn.10102950
lea eax, [ebp - 0x29ec]
mov byte [ebp - 4], 1
cmp edi, eax
je 0x10101155
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.10001f90
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.10107370
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 0x10179490
push ecx
call fcn.10005a20
add esp, 0x10
test eax, eax
jne 0x101011e7
cmp edi, ebx
jae 0x101011dd
or eax, 0xffffffff
jmp 0x101011e5
xor eax, eax
cmp edi, 1
setne al
test eax, eax
sete al
test al, al
je 0x10101208
lea eax, [esi + 0xe4]
lea ecx, [ebp - 0x2974]
cmp ecx, eax
je 0x10101208
push 0xffffffffffffffff
push 0
push eax
call fcn.10001f90
push 5
push str.pid
lea ecx, [ebp - 0x298c]
call fcn.10001ea0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x2974]
push eax
lea ecx, [ebp - 0x298c]
call fcn.10001de0
lea eax, [ebp - 0x2974]
push eax
call fcn.101074a0
add esp, 4
lea ecx, [ebp - 0x298c]
push 6
push 0x101676cc
call fcn.10001ea0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x2974]
push eax
lea ecx, [ebp - 0x298c]
call fcn.10001de0
lea eax, [ebp - 0x2974]
push eax
call fcn.101075d0
add esp, 4
lea ecx, [ebp - 0x298c]
push 6
push str.uuid
call fcn.10001ea0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x2974]
push eax
lea ecx, [ebp - 0x298c]
call fcn.10001de0
push 9
push str.uver1.0
lea ecx, [ebp - 0x298c]
call fcn.10001ea0
lea eax, [ebp - 0x2974]
push eax
call fcn.10107d30
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 0x10179490
push eax
call fcn.10005a20
add esp, 0x10
test eax, eax
jne 0x10101303
cmp edi, 1
jae 0x101012f9
or eax, 0xffffffff
jmp 0x10101301
xor eax, eax
cmp edi, 1
setne al
test eax, eax
sete al
test al, al
je 0x10101357
push 0
push 0x10178415
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10002130
lea eax, [ebp - 0x2974]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10101f30
add esp, 8
mov byte [ebp - 4], 3
cmp dword [ebp - 0x14], 0x10
jb 0x10101357
push dword [ebp - 0x28]
call fcn.1011a1ea
add esp, 4
push 5
push str.ver
lea ecx, [ebp - 0x298c]
call fcn.10001ea0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x2974]
push eax
lea ecx, [ebp - 0x298c]
call fcn.10001de0
lea eax, [ebp - 0x2974]
push eax
call fcn.10106e20
add esp, 4
test eax, eax
jne 0x101013ee
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.10102190
mov eax, dword [ebp - 0x18]
dec eax
cmp eax, 0x27
ja 0x101013d9
cmp byte [ebp - 0x29ee], 0
je 0x101013d9
lea eax, [ebp - 0x28]
push eax
call fcn.10107e60
add esp, 4
cmp dword [ebp - 0x14], 0x10
mov byte [ebp - 4], 3
jb 0x101013ee
push dword [ebp - 0x28]
call fcn.1011a1ea
add esp, 4
push 5
push str.did
lea ecx, [ebp - 0x298c]
call fcn.10001ea0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x2974]
push eax
lea ecx, [ebp - 0x298c]
call fcn.10001de0
push 2
xor eax, eax
mov dword [ebp - 0x2990], 7
push 0x101676f8
lea ecx, [ebp - 0x29a4]
mov dword [ebp - 0x2994], 0
mov word [ebp - 0x29a4], ax
call fcn.1000c2b0
lea eax, [ebp - 0x29ec]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.10103790
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x29a4]
mov byte [ebp - 4], 7
call fcn.1000bea0
cmp dword [ebp - 0x14], 8
mov byte [ebp - 4], 6
jb 0x10101484
push dword [ebp - 0x28]
call fcn.1011a1ea
add esp, 4
lea eax, [ebp - 0x298c]
mov ecx, esi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10103790
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x29a4]
mov byte [ebp - 4], 8
call fcn.1000bea0
cmp dword [ebp - 0x14], 8
mov byte [ebp - 4], 6
jb 0x101014bf
push dword [ebp - 0x28]
call fcn.1011a1ea
add esp, 4
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x29a4]
push eax
lea ecx, [ebp - 0x29d4]
call fcn.1000bea0
xor ebx, ebx
mov dword [ebp - 0x29a8], 0xf
push ebx
push 0x10178415
lea ecx, [ebp - 0x29bc]
mov dword [ebp - 0x2a08], ebx
mov dword [ebp - 0x29ac], ebx
mov byte [ebp - 0x29bc], bl
call fcn.10002130
cmp byte [esi + 0xc4], bl
jne 0x1010150d
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.1011a400
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.100f3900
test eax, eax
jne 0x10101643
lea ebx, [eax + 1]
mov byte [ebp - 4], 9
cmp dword [ebp - 0x2948], 0x10
jb 0x101015d1
push dword [ebp - 0x295c]
call fcn.1011a1ea
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.1011a400
push dword [ebp - 0x2a08]
lea eax, [ebp - 0x144]
push edi
push ebx
push str.step_ulasterr_uresphead_drespbody
push 0x104
push eax
call fcn.10125326
add esp, 0x24
cmp byte [ebp - 0x144], 0
jne 0x101018bd
xor ecx, ecx
jmp 0x101018cf
cmp byte [esi + 0xc5], 0
je 0x1010167a
cmp dword [esi + 0xdc], 8
lea eax, [esi + 0xc8]
jb 0x1010165d
mov eax, dword [eax]
push 0
push 0
push eax
push 3
push 0x10153398
mov ecx, esi
call fcn.100f3da0
mov edi, eax
mov dword [ebp - 0x29f8], edi
jmp 0x10101696
push 0
push 0
push 0
push 0
push 0x10153398
mov ecx, esi
call fcn.100f3da0
mov edi, eax
mov dword [ebp - 0x29f8], eax
test edi, edi
jne 0x101016a2
lea ebx, [edi + 2]
jmp 0x101015b6
push 0x7530
push 0x7530
push 0xea60
push 0
push edi
mov ecx, esi
call fcn.100f3ee0
movzx eax, word [ebp - 0x2a40]
mov ecx, esi
push eax
lea eax, [ebp - 0x2944]
push eax
push edi
call fcn.100f38b0
mov dword [ebp - 0x2a04], eax
test eax, eax
jne 0x101016e4
lea ebx, [eax + 3]
jmp 0x101015b6
push dword [ebp - 0x2a4c]
lea ecx, [ebp - 0x1944]
push ecx
push 0x10167654
push eax
mov ecx, esi
call fcn.100f3c90
mov edi, eax
mov dword [ebp - 0x29fc], edi
test edi, edi
jne 0x10101712
lea ebx, [eax + 4]
jmp 0x101015b6
push 0
push 0
push edi
mov ecx, esi
call fcn.100f3e90
test eax, eax
jne 0x1010172a
lea ebx, [eax + 5]
jmp 0x101015b6
push edi
mov ecx, esi
call fcn.100f3dc0
test eax, eax
jne 0x1010173e
lea ebx, [eax + 6]
jmp 0x101015b6
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.100f3e20
test eax, eax
jne 0x1010176c
lea ebx, [eax + 7]
jmp 0x101015b6
lea eax, [ebp - 0x944]
push eax
call fcn.1011bf9b
add esp, 4
mov dword [ebp - 0x2a08], eax
cmp eax, 0xc8
sete al
mov byte [ebp - 0x29ed], al
test al, al
je 0x101015b6
lea eax, [ebp - 0x2a0c]
mov dword [ebp - 0x2a0c], 0
push eax
push edi
mov ecx, esi
call fcn.100f3df0
test eax, eax
jne 0x101017bc
lea ebx, [eax + 8]
jmp 0x101015b6
mov edi, dword [ebp - 0x2a0c]
mov dword [ebp - 0x29f4], 0
test edi, edi
jle 0x10101853
lea eax, [ebp - 0x29f4]
mov ecx, esi
push eax
push 0x7ff
lea eax, [ebp - 0x944]
push eax
push dword [ebp - 0x29fc]
call fcn.100f3e60
test eax, eax
je 0x10101853
mov eax, dword [ebp - 0x29f4]
cmp eax, 0x800
jae 0x101018b8
mov byte [ebp + eax - 0x944], 0
cmp byte [ebp - 0x944], 0
jne 0x1010181e
xor ecx, ecx
jmp 0x10101830
lea ecx, [ebp - 0x944]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10101827
sub ecx, edx
push ecx
lea eax, [ebp - 0x944]
push eax
lea ecx, [ebp - 0x295c]
call fcn.10001ea0
mov eax, dword [ebp - 0x29f4]
cmp edi, eax
jbe 0x10101853
sub edi, eax
test edi, edi
jg 0x101017d4
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.10102a70
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x295c]
push eax
lea ecx, [ebp - 0x29bc]
call fcn.10001f90
mov eax, dword [ebp - 0x2a00]
cmp dword [eax + 0x10], 0
je 0x101018a4
cmp dword [edi + 0x10], 0
jne 0x101015b6
mov ebx, 9
mov byte [ebp - 0x29ed], 0
mov byte [ebp - 4], bl
jmp 0x101015ba
call fcn.1011ef87
lea ecx, [ebp - 0x144]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101018c6
sub ecx, edx
push ecx
mov ecx, dword [ebp - 0x2a1c]
lea eax, [ebp - 0x144]
push eax
call fcn.10002130
mov ecx, dword [ebp - 0x2a1c]
lea eax, [ebp - 0x29bc]
push 0xffffffffffffffff
push 0
push eax
call fcn.10001de0
push edi
push str.KSReportNet_error_code:__x
lea eax, [ebp - 0x944]
push 0x800
push eax
call fcn.10125326
mov eax, dword [ebp - 0x29fc]
add esp, 0x10
test eax, eax
je 0x10101924
push eax
mov ecx, esi
call fcn.100f3880
mov eax, dword [ebp - 0x2a04]
test eax, eax
je 0x10101936
push eax
mov ecx, esi
call fcn.100f3880
mov eax, dword [ebp - 0x29f8]
test eax, eax
je 0x10101948
push eax
mov ecx, esi
call fcn.100f3880
cmp dword [ebp - 0x29a8], 0x10
jb 0x1010195f
push dword [ebp - 0x29bc]
call fcn.1011a1ea
add esp, 4
cmp dword [ebp - 0x2990], 8
mov dword [ebp - 0x29a8], 0xf
mov dword [ebp - 0x29ac], 0
mov byte [ebp - 0x29bc], 0
jb 0x10101991
push dword [ebp - 0x29a4]
call fcn.1011a1ea
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 0x101019c5
push dword [ebp - 0x2974]
call fcn.1011a1ea
add esp, 4
cmp dword [ebp - 0x2978], 0x10
mov dword [ebp - 0x2960], 0xf
mov dword [ebp - 0x2964], 0
mov byte [ebp - 0x2974], 0
jb 0x101019f7
push dword [ebp - 0x298c]
call fcn.1011a1ea
add esp, 4
cmp dword [ebp - 0x29d8], 0x10
mov dword [ebp - 0x2978], 0xf
mov dword [ebp - 0x297c], 0
mov byte [ebp - 0x298c], 0
jb 0x10101a29
push dword [ebp - 0x29ec]
call fcn.1011a1ea
add esp, 4
cmp dword [ebp - 0x29c0], 8
mov dword [ebp - 0x29d8], 0xf
mov dword [ebp - 0x29dc], 0
mov byte [ebp - 0x29ec], 0
jb 0x10101a5b
push dword [ebp - 0x29d4]
call fcn.1011a1ea
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.1011a3e5
mov esp, ebp
pop ebp
ret 0x14