Function at 0x100020e0
Capabilities:
Check http status code
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005c912
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x10070660]
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 eax, dword [ebp + 0xc]
mov edi, edx
lea edx, [ebp - 0xb8]
push edx
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0x100], ecx
call 0x1001e490
lea eax, [ebp - 0xf8]
push eax
mov ecx, 0x10061c7c
mov dword [ebp - 4], 0
call fcn.10001bb0
lea ecx, [ebp - 0x138]
push ecx
mov byte [ebp - 4], 1
call 0x1001f5f0
mov byte [ebp - 4], 2
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0xc8], eax
lea ecx, [ebp - 0x34]
push ecx
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ax, word [ebp - 0x34]
cmp ax, 9
je 0x1000218e
cmp ax, 6
jne 0x1000219a
mov dword [ebp - 0xc4], str.AptWorks64
jmp 0x100021a4
mov dword [ebp - 0xc4], str.AptWorks
lea edx, [ebp - 0x138]
push edx
lea esi, [ebp - 0xc0]
call 0x1001fd30
mov dword [ebp - 0xe4], eax
lea eax, [ebp - 0x138]
push eax
lea esi, [ebp - 0xbc]
mov byte [ebp - 4], 4
call 0x1001f8a0
mov dword [ebp - 0xe8], eax
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 5
call 0x10017550
mov dword [ebp - 0xf0], eax
lea esi, [ebp - 0xd8]
mov byte [ebp - 4], 6
call 0x100158c0
push eax
lea esi, [ebp - 0xd0]
mov byte [ebp - 4], 7
call 0x1001fdd0
add esp, 4
mov dword [ebp - 0x108], eax
mov byte [ebp - 4], 8
test byte [0x100742a8], 1
jne 0x10002236
or dword [0x100742a8], 1
push 0x1005d2a0
call fcn.10036a73
add esp, 4
lea ecx, [ebp - 0x10c]
push ecx
call 0x1001df10
mov ebx, eax
lea edx, [ebp - 0xec]
push edx
lea eax, [ebp - 0x138]
push eax
mov byte [ebp - 4], 9
call 0x1001fbf0
mov dword [ebp - 0xd4], eax
push edi
lea ecx, [ebp - 0xfc]
push ecx
lea edx, [ebp - 0x138]
push edx
mov byte [ebp - 4], 0xa
call 0x1001f940
mov dword [ebp - 0xf4], eax
mov byte [ebp - 4], 0xb
test byte [0x100742a8], 1
jne 0x100022a0
or dword [0x100742a8], 1
push 0x1005d2a0
call fcn.10036a73
add esp, 4
lea edi, [ebp - 0xcc]
call 0x1001e340
mov esi, eax
lea eax, [ebp - 0x104]
push eax
mov byte [ebp - 4], 0xc
call fcn.10002650
mov ecx, dword [ebp - 0xe4]
mov byte [ebp - 4], 0xd
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xe8]
push edx
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xf0]
push edx
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xc4]
push edx
mov edx, dword [ebp - 0x100]
push ecx
mov ecx, dword [edx]
mov edx, dword [ebp - 0x108]
mov eax, dword [eax]
push ecx
mov ecx, dword [edx]
mov edx, dword [ebx]
push ecx
mov ecx, dword [ebp - 0xd4]
push edx
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xf4]
push edx
mov edx, dword [ecx]
mov ecx, dword [esi]
push edx
mov edx, dword [ebp - 0xdc]
push ecx
mov ecx, dword [edx]
mov edx, dword [ebp + 8]
push ecx
push edx
push eax
push str.http:__stat.funshion.net_tools_FsPlatformAction_rprotocol3_action_s_actionresult_d_actionobjectver_s_channelid_s_mac_s_guid_s_name_s_version_s_actiontime_s_pullupname_s_pullupversion_s_cid_s_aptid_s
lea edi, [ebp - 0xc8]
call fcn.100026d0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x104]
add eax, 0xfffffff0
add esp, 0x38
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10002356
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0xcc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000237c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0xfc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100023a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0xec]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100023c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x10c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100023ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0xd0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10002414
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0xd8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000243a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0xe0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10002460
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xbc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10002486
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xc0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100024ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0xc8]
xor ebx, ebx
xor ecx, ecx
mov eax, edi
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x100024d0
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea ecx, [ebp - 0x2c]
call fcn.10002b50
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0xb8]
mov byte [ebp - 0x40], 0
call 0x1001e970
test al, al
je 0x1000251a
lea esi, [ebp - 0xb8]
call 0x1001e5d0
test al, al
jne 0x10002644
mov byte [ebp - 0x40], al
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0xb8]
mov byte [ebp - 0x40], 0
call 0x1001e970
test al, al
je 0x1000254e
lea esi, [ebp - 0xb8]
call 0x1001e5d0
test al, al
setne dl
mov byte [ebp - 0x40], dl
cmp dword [ebp - 0x18], 8
jb 0x10002560
mov eax, dword [ebp - 0x2c]
push eax
call fcn.100368b0
add esp, 4
lea ecx, [ebp - 0xc0]
push ecx
mov ecx, dword [ebp - 0x60]
lea edx, [ebp - 0xbc]
push edx
lea eax, [ebp - 0x54]
push eax
push 0x20000013
push ecx
mov dword [ebp - 0xbc], 4
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0x54], 0x194
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
cmp dword [ebp - 0x54], 0xc8
lea eax, [edi - 0x10]
sete bl
mov byte [ebp - 4], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100025c2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x110]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100025e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x138]
call 0x1001f770
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xf8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10002619
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [ebp - 0xb8]
call 0x1001e540
mov al, bl
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.100368bb
mov esp, ebp
pop ebp
ret 8
mov byte [ebp - 0x40], 1
jmp 0x1000254e