Function at 0x4257c0
Capabilities:
Connect to http server
Create http request
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, 0x43c
mov eax, dword [0x469ea0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 0
push 0
push 0
push str.Statics
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ecx, dword [str.xiazai.zol.com.cn]
push 0
push 0
push 3
push 0
push 0
push 0x50
push ecx
push eax
mov dword [ebp - 0x438], eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edx, dword [0x469cb4]
mov esi, dword [ebp + 8]
mov ebx, eax
mov eax, dword [edx + 0xc]
mov ecx, 0x469cb4
mov dword [ebp - 0x43c], ebx
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x424], edi
test esi, esi
je 0x42585a
test esi, 0xffff0000
jne 0x42585a
movzx esi, si
push 0
push esi
call fcn.00401340
add esp, 8
test eax, eax
je 0x42586c
push esi
push eax
lea ecx, [ebp - 0x424]
call fcn.00402a60
jmp 0x425866
push esi
lea ecx, [ebp - 0x424]
call fcn.00402b80
mov edi, dword [ebp - 0x424]
mov edx, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub edx, 0x104
or ecx, edx
jge 0x425897
push 0x104
lea ecx, [ebp - 0x424]
call fcn.00401b60
mov edi, dword [ebp - 0x424]
sub esp, 0x1c
mov ecx, esp
xor eax, eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], ax
mov eax, edi
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4258b4
sub eax, esi
sar eax, 1
push eax
push edi
call fcn.00414ae0
lea ecx, [ebp - 0x420]
push ecx
call fcn.0043c720
mov eax, dword [ebp - 0x420]
add esp, 0x20
cmp dword [ebp - 0x40c], 0x10
jae 0x4258ee
lea eax, [ebp - 0x420]
push 0
push 0x806cc200
push 0
push 0
push 0x45b89c
push eax
push str.POST
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ebx, eax
test ebx, ebx
je 0x425928
push 0
push 0
push 0
push 0
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x425af1
push 0x3ff
lea ecx, [ebp - 0x403]
push 0
push ecx
mov byte [ebp - 0x404], 0
call fcn.0043ecf0
add esp, 0xc
push 0
lea edx, [ebp - 0x434]
push edx
lea eax, [ebp - 0x404]
push eax
push 0x13
push ebx
mov dword [ebp - 0x434], 0x400
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
mov esi, 0x45b890
lea eax, [ebp - 0x404]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x425993
test cl, cl
je 0x42598f
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x425993
add eax, 2
add esi, 2
test cl, cl
jne 0x425973
xor eax, eax
jmp 0x425998
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4259e4
cmp dword [ebp - 0x40c], 0x10
jb 0x4259b4
mov ecx, dword [ebp - 0x420]
push ecx
call fcn.0043e525
add esp, 4
lea eax, [edi - 0x10]
mov dword [ebp - 0x40c], 0xf
mov dword [ebp - 0x410], 0
mov byte [ebp - 0x420], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x425b34
push 0xb
mov dword [ebp - 0x428], 0xa
call fcn.0043e5bb
add esp, 4
push 0
lea ecx, [ebp - 0x428]
push ecx
mov esi, eax
push esi
push 0x16
push ebx
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x425a4b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x425a34
push esi
call fcn.0043e530
mov edx, dword [ebp - 0x428]
inc edx
push edx
call fcn.0043e5bb
add esp, 8
mov esi, eax
push 0
lea eax, [ebp - 0x428]
push eax
push esi
push 0x16
push ebx
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x425a11
mov ecx, dword [ebp - 0x428]
push esi
mov byte [esi + ecx], 0
call fcn.0043e530
add esp, 4
push 0
push 0
lea edx, [ebp - 0x42c]
push edx
push ebx
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x425ad6
mov esi, dword [ebp - 0x42c]
inc esi
push esi
call fcn.0043e5bb
push esi
mov edi, eax
push 0
push edi
call fcn.0043ecf0
mov ecx, dword [ebp - 0x42c]
add esp, 0x10
lea eax, [ebp - 0x430]
push eax
push ecx
push edi
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x425aca
cmp dword [ebp - 0x430], 0
je 0x425ad0
push 0
push 0
lea edx, [ebp - 0x42c]
push edx
push ebx
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x425a74
jmp 0x425ad0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [ebp - 0x424]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call esi
mov eax, dword [ebp - 0x43c]
push eax
call esi
mov ecx, dword [ebp - 0x438]
push ecx
call esi
cmp dword [ebp - 0x40c], 0x10
jb 0x425b09
mov edx, dword [ebp - 0x420]
push edx
call fcn.0043e525
add esp, 4
lea eax, [edi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [ebp - 0x420], 0
mov dword [ebp - 0x410], 0
mov dword [ebp - 0x40c], 0xf
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425b40
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425b5f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0043eb21
mov esp, ebp
pop ebp
ret