Function at 0x100014a0
Capabilities:
Query remote server for available data
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x10020040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push str._airsep.php
push 0x200
push 0x10074910
mov dword [ebp - 0x408], eax
mov byte [0x10074910], 0
call fcn.10001160
push 0x10018418
lea eax, [ebp - 0x404]
mov byte [ebp - 0x404], 0
push 0x400
push eax
call fcn.100010b0
mov eax, dword [0x100748f4]
add esp, 0x10
movsd xmm0, qword [esi + eax*8 + 0x10]
lea eax, [ebp - 0x404]
movsd qword [esp], xmm0
push str._flow_:__g_
push 0x400
push eax
call fcn.100010e0
mov eax, dword [0x100748f4]
add esp, 0xc
movsd xmm0, qword [esi + eax*8 + 0xd0]
lea eax, [ebp - 0x404]
movsd qword [esp], xmm0
push str._maxhead_:__g_
push 0x400
push eax
call fcn.100010e0
movsd xmm0, qword [esi + 0x198]
lea eax, [ebp - 0x404]
add esp, 0xc
movsd qword [esp], xmm0
push str._minconnsize_:__g_
push 0x400
push eax
call fcn.100010e0
cmp byte [esi + 0x193], 0
mov edi, str.true
mov ecx, str.false
mov eax, edi
cmove eax, ecx
push eax
push str._asme_:__s_
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.10001080
movsd xmm0, qword [0x100748f8]
lea eax, [ebp - 0x404]
add esp, 0x1c
movsd qword [esp], xmm0
push str._psi_:__g_
push 0x400
push eax
call fcn.100010e0
movzx eax, byte [esi + 1]
add esp, 0x14
add eax, 0xfffffffd
xor cl, cl
xor bl, bl
xor bh, bh
cmp eax, 0xf
ja case.0x100015e4.7
movzx eax, byte [eax + 0x10001924]
jmp dword [eax*4 + 0x1000191c]
mov al, byte [esi + 0x190]
mov ch, byte [esi + 0x191]
test al, al
setne cl
test ch, ch
mov dl, cl
setne bl
cmp byte [esi + 0x192], 0
setne bh
mov ah, bh
test al, al
jne case.0x100015e4.7
test ch, ch
je case.0x100015e4.7
xor bl, bl
test cl, cl
mov eax, edi
mov esi, str.false
cmove eax, esi
push eax
push str._opt_basering_:__s_
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.10001080
test bl, bl
mov eax, edi
cmove eax, esi
push eax
push str._opt_anchor_:__s_
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.10001080
test bh, bh
lea eax, [ebp - 0x404]
cmove edi, esi
push edi
push str._opt_magnet_:__s_
push 0x400
push eax
call fcn.10001080
push dword [ebp - 0x408]
lea eax, [ebp - 0x404]
push str._products_:___s_
push 0x400
push eax
call fcn.10001080
add esp, 0x40
lea eax, [ebp - 0x404]
push 0x100184b4
push 0x400
push eax
call fcn.100010b0
lea eax, [ebp - 0x404]
push eax
call fcn.10002270
push str.json
push 0x400
push 0x10074b10
mov esi, eax
mov byte [0x10074b10], 0
call fcn.1000617d
mov ecx, 0x10074b10
add esp, 0x1c
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100016e0
sub ecx, edx
mov eax, 0x400
sub eax, ecx
push esi
push eax
lea eax, [ecx + 0x10074b10]
push eax
call fcn.1000617d
push esi
call fcn.10006258
mov eax, dword [0x1007490c]
add esp, 0x10
cmp eax, 0x200
jae 0x10001917
mov ecx, 0x10074b10
mov byte [eax + 0x10074f10], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001726
sub ecx, edx
push ecx
push str.Content_Length:__d
push 0x200
push 0x10074f10
call fcn.10001080
add esp, 0x10
push 0
push 0x80000000
push 0x10020008
push 0
push str.HTTP_1.1
push 0x10074910
push str.POST
push dword [0x10074904]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
mov dword [0x10074908], esi
test esi, esi
jne 0x10001795
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100031fb
mov esp, ebp
pop ebp
ret
mov ecx, 0x10074b10
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100017a0
sub ecx, edx
mov edx, 0x10074f10
lea edi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x100017b1
push ecx
push 0x10074b10
sub edx, edi
push edx
push 0x10074f10
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x100018f9
call fcn.10001460
test al, al
je 0x100018f9
mov esi, dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
lea eax, [ebp - 0x408]
xor edi, edi
xor ebx, ebx
push edi
push edi
push eax
push dword [0x10074908]
call esi
test eax, eax
je 0x100018e1
nop word [eax + eax]
mov eax, dword [ebp - 0x408]
test eax, eax
je 0x100018e1
inc eax
test edi, edi
je 0x1000185b
add eax, edi
push eax
call fcn.10006273
push edi
mov esi, eax
push ebx
push esi
call fcn.10003cd0
mov ecx, dword [ebp - 0x408]
lea eax, [esi + edi]
inc ecx
push ecx
push 0
push eax
call fcn.10004250
push ebx
call fcn.10006258
mov ebx, esi
add esp, 0x20
mov esi, dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
jmp 0x10001876
push eax
call fcn.10006273
mov ecx, dword [ebp - 0x408]
mov ebx, eax
inc ecx
push ecx
push 0
push ebx
call fcn.10004250
add esp, 0x10
lea eax, [ebp - 0x40c]
push eax
push dword [ebp - 0x408]
lea eax, [edi + ebx]
push eax
push dword [0x10074908]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x100018d0
add edi, dword [ebp - 0x40c]
lea eax, [ebp - 0x408]
push 0
push 0
push eax
push dword [0x10074908]
call esi
test eax, eax
jne 0x10001810
call fcn.10001990
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100031fb
mov esp, ebp
pop ebp
ret
push ebx
call fcn.10006258
add esp, 4
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
call fcn.10001990
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100031fb
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
call fcn.10001990
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100031fb
mov esp, ebp
pop ebp
ret
call fcn.10003120
jmp 0x10001933
add ah, cl
int3