Function at 0x420280
Capabilities:
Make an http request with a cookie
Parse url
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push 0xffffffffffffffff
push 0x4b0c3f
mov eax, dword fs:[0]
push eax
sub esp, 0x3a0
mov eax, dword [0x4df5dc]
xor eax, esp
mov dword [esp + 0x398], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4df5dc]
xor eax, esp
push eax
lea eax, [esp + 0x3b4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3c8]
mov ebx, dword [esp + 0x3d0]
mov edi, dword [esp + 0x3d4]
mov edx, dword [esp + 0x3c4]
mov dword [esp + 0x110], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], edi
mov dword [ecx + 8], 0
test eax, eax
je 0x420caa
push 0
push 0x4000000
push 0
push 0
push 0
push edx
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ebp, eax
mov dword [esp + 0x20], ebp
test ebp, ebp
je 0x420caa
xorps xmm0, xmm0
movq qword [esp + 0x108], xmm0
mov dword [esp + method.RC::RCInternetHandle.virtual_0], vtable.RC::RCInternetHandle.0
mov dword [esp + 0x10c], ebp
mov dword [esp + 0x3bc], 0
lea ecx, [esp + 0x114]
push str.Content_Type:_application_x_www_form_urlencoded
call fcn.00401e30
mov byte [esp + 0x3bc], 1
mov eax, dword [edi]
cmp eax, dword [edi + 4]
je 0x42045b
push 2
push 0x4c6158
lea ecx, [esp + 0x11c]
call fcn.0040a280
push 8
push str.Cookie:
lea ecx, [esp + 0x11c]
call fcn.0040a280
mov ecx, dword [edi + 4]
mov eax, 0x2aaaaaab
mov esi, dword [edi]
xor ebx, ebx
sub ecx, esi
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x420444
mov ebp, dword [esp + 0x18]
xor edi, edi
lea esp, [esp]
cmp dword [edi + esi + 0x10], 0
lea eax, [edi + esi]
lea esi, [eax + 0x18]
je 0x42041b
cmp dword [esi + 0x10], 0
je 0x42041b
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x120]
call fcn.0040a1c0
push 1
push 0x4c5f88
lea ecx, [esp + 0x11c]
call fcn.0040a280
push 0xffffffffffffffff
push 0
push esi
lea ecx, [esp + 0x120]
call fcn.0040a1c0
push 1
push 0x4c5f94
lea ecx, [esp + 0x11c]
call fcn.0040a280
mov ecx, dword [ebp + 4]
mov eax, 0x2aaaaaab
mov esi, dword [ebp]
inc ebx
sub ecx, esi
add edi, 0x30
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x4203c0
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
push 4
push str._r_n_r_n
lea ecx, [esp + 0x11c]
call fcn.0040a280
mov ebx, dword [esp + 0x1c]
cmp dword [esp + 0x128], 8
lea eax, [esp + 0x114]
mov esi, dword [esp + 0x3cc]
cmovae eax, dword [esp + 0x114]
push 0
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x128]
push 0
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
lea eax, [esp + 0xac]
push 0
push eax
push ebp
mov dword [esp + 0xb8], 0x28
mov dword [esp + 0xbc], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], esi
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
test eax, eax
jne 0x420561
mov byte [esp + 0x3bc], 0
cmp dword [esp + 0x128], 8
jb 0x420518
push dword [esp + 0x114]
call fcn.0048e056
add esp, 4
xor eax, eax
mov dword [esp + 0x128], 7
mov dword [esp + 0x124], 0
mov word [esp + 0x114], ax
mov dword [esp + 0x3bc], 0xffffffff
mov ecx, ebp
mov dword [esp + 0x10c], eax
mov dword [esp + method.RC::RCInternetHandle.virtual_0], vtable.RC::RCInternetHandle.0
call fcn.00441670
jmp 0x420caa
lea eax, [esp + 0x148]
mov dword [esp + 0x148], 0
push eax
push esi
push dword [esp + 0x118]
push ebp
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x4204f7
cmp dword [esp + 0x148], esi
jne 0x4204f7
push 0
push 0
push 0
push ebp
call dword [sym.imp.WININET.dll_HttpEndRequestW]
test eax, eax
jne 0x4205e9
mov byte [esp + 0x3bc], al
lea ecx, [esp + 0x114]
call fcn.00401e90
mov dword [esp + 0x3bc], 0xffffffff
mov ecx, ebp
mov dword [esp + 0x10c], 0
mov dword [esp + method.RC::RCInternetHandle.virtual_0], vtable.RC::RCInternetHandle.0
call fcn.00441670
jmp 0x420caa
mov ecx, ebx
call fcn.00407310
mov esi, dword [sym.imp.WININET.dll_InternetReadFile]
lea eax, [esp + 0xa0]
mov dword [esp + 0xa0], 0
push eax
push 0x1ff
lea eax, [esp + 0x1b4]
push eax
push ebp
call esi
test eax, eax
je 0x420c7f
mov eax, dword [esp + 0xa0]
cmp eax, 0x200
jae 0x420c7f
mov byte [esp + eax + 0x1ac], 0
cmp byte [esp + 0x1ac], 0
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0
mov dword [esp + 0x144], 0xf
mov dword [esp + 0x140], 0
mov byte [esp + 0x130], 0
jne 0x42067d
xor eax, eax
jmp 0x420690
lea eax, [esp + 0x1ac]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x420687
sub eax, edx
push eax
lea eax, [esp + 0x1b0]
push eax
lea ecx, [esp + 0x138]
call fcn.00402250
mov byte [esp + 0x3bc], 2
lea edx, [esp + 0x130]
push dword [esp + 0xa0]
lea ecx, [esp + 0x168]
call fcn.00432ae0
add esp, 4
mov byte [esp + 0x3bc], 3
mov ecx, ebx
push 0xffffffffffffffff
push 0
push eax
call fcn.0040a1c0
mov byte [esp + 0x3bc], 2
cmp dword [esp + 0x178], 8
jb 0x4206ff
push dword [esp + 0x164]
call fcn.0048e056
add esp, 4
xor eax, eax
mov dword [esp + 0x178], 7
mov dword [esp + 0x174], 0
mov word [esp + 0x164], ax
mov byte [esp + 0x3bc], 1
cmp dword [esp + 0x144], 0x10
jb 0x420740
push dword [esp + 0x130]
call fcn.0048e056
add esp, 4
cmp dword [esp + 0xa0], 0
mov dword [esp + 0x144], 0xf
mov dword [esp + 0x140], 0
mov byte [esp + 0x130], 0
ja 0x4205f6
mov ecx, edi
call fcn.0041e190
xor ecx, ecx
mov eax, 0x201
mov edx, 2
mov ebx, 0x200
mul edx
mov dword [esp + 0x9c], ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00489b8f
mov dword [esp + 0x130], 0
mov edi, eax
add esp, 4
lea ebx, [ebx]
xor eax, eax
mov word [edi], ax
lea eax, [esp + 0x12c]
mov esi, dword [esp + 0x12c]
push eax
lea eax, [esp + 0xa0]
mov dword [esp + 0xa0], ebx
push eax
push edi
push 0x2b
push ebp
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
setne al
test al, al
jne 0x420838
cmp dword [esp + 0x9c], ebx
jbe 0x420c42
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x420c42
mov ebx, dword [esp + 0x9c]
push edi
inc ebx
call fcn.0048e70c
xor ecx, ecx
lea eax, [ebx + 1]
add esp, 4
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00489b8f
mov dword [esp + 0x130], esi
jmp 0x4207a5
mov eax, dword [esp + 0x9c]
cmp eax, ebx
ja 0x4207b0
xor ecx, ecx
mov word [edi + eax*2], cx
lea ecx, [esp + 0x17c]
push edi
call fcn.00401e30
mov byte [esp + 0x3bc], 4
cmp dword [esp + 0x18c], 0
je 0x420c29
xor eax, eax
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0
mov dword [esp + 0x144], 7
mov dword [esp + 0x140], 0
mov word [esp + 0x130], ax
mov byte [esp + 0x3bc], 5
mov dword [esp + 0x15c], eax
mov dword [esp + 0x160], eax
mov dword [esp + 0x160], 7
mov dword [esp + 0x15c], eax
mov word [esp + 0x14c], ax
mov byte [esp + 0x3bc], 6
lea ecx, [esp + 0x17c]
push 1
push eax
lea eax, [esp + 0x118]
mov dword [esp + 0x118], 0x3d
push eax
call fcn.004075a0
mov esi, eax
cmp esi, 0xffffffff
je 0x420985
push esi
push 0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x188]
call fcn.00401ec0
mov byte [esp + 0x3bc], 7
lea ecx, [esp + 0x130]
push eax
call fcn.004072d0
mov byte [esp + 0x3bc], 6
lea ecx, [esp + 0x24]
call fcn.00401e90
inc esi
cmp esi, dword [esp + 0x18c]
jae 0x420985
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x188]
call fcn.00401ec0
mov byte [esp + 0x3bc], 8
lea ecx, [esp + 0x17c]
push eax
call fcn.004072d0
mov byte [esp + 0x3bc], 6
lea ecx, [esp + 0x54]
call fcn.00401e90
push 1
push 0
lea eax, [esp + 0x118]
mov dword [esp + 0x118], 0x3b
push eax
lea ecx, [esp + 0x188]
call fcn.004075a0
cmp eax, 0xffffffff
je 0x4209e9
push eax
push 0
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x188]
call fcn.00401ec0
mov byte [esp + 0x3bc], 9
lea ecx, [esp + 0x14c]
push eax
call fcn.004072d0
mov byte [esp + 0x3bc], 6
lea ecx, [esp + 0x3c]
call fcn.00401e90
jmp 0x420a01
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x184]
push eax
lea ecx, [esp + 0x158]
call fcn.00402030
mov edx, str.__r_t_n
lea ecx, [esp + 0x130]
call fcn.00406cd0
mov edx, str.__r_t_n
lea ecx, [esp + 0x130]
call fcn.00406d40
mov edx, str.__r_t_n
lea ecx, [esp + 0x14c]
call fcn.00406cd0
mov edx, str.__r_t_n
lea ecx, [esp + 0x14c]
call fcn.00406d40
cmp dword [esp + 0x140], 0
je 0x420c01
cmp dword [esp + 0x15c], 0
je 0x420c01
push str.http:__www.haozip.com_
lea ecx, [esp + 0x168]
call fcn.00401e30
mov byte [esp + 0x3bc], 0xa
lea eax, [esp + 0x14c]
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x170]
call fcn.0040a1c0
push 0x3c
lea eax, [esp + 0xd0]
push 0
push eax
call fcn.00492dc0
mov esi, dword [esp + 0x180]
xor ecx, ecx
add esi, 0x20
mov dword [esp + 0xd8], 0x3c
add esp, 0xc
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00489b8f
add esp, 4
mov dword [esp + 0x100], eax
lea ecx, [esi + esi]
push ecx
push 0
push eax
call fcn.00492dc0
add esp, 0xc
lea ecx, [esp + 0xcc]
cmp dword [esp + 0x178], 8
lea eax, [esi - 1]
mov dword [esp + 0x104], eax
lea eax, [esp + 0x164]
cmovae eax, dword [esp + 0x164]
push ecx
push SysReAllocString
push dword [esp + 0x17c]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x420ba2
push dword [esp + 0x100]
lea ecx, [esp + 0x198]
call fcn.00401e30
mov byte [esp + 0x3bc], 0xb
cmp dword [esp + 0x1a4], 0
je 0x420b8e
cmp dword [esp + 0x1a8], 8
lea eax, [esp + 0x194]
lea ecx, [esp + 0x194]
cmovae eax, dword [esp + 0x194]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00420ce0
lea eax, [esp + 0x194]
push eax
lea ecx, [esp + 0x150]
call fcn.004117b0
mov byte [esp + 0x3bc], 0xa
lea ecx, [esp + 0x194]
call fcn.00401e90
push dword [esp + 0x100]
call fcn.0048e70c
add esp, 4
lea eax, [esp + 0x14c]
lea ecx, [esp + 0x6c]
push eax
lea eax, [esp + 0x134]
push eax
call fcn.0041e780
mov byte [esp + 0x3bc], 0xc
mov ecx, dword [esp + 0x18]
push eax
call fcn.0041e050
mov byte [esp + 0x3bc], 0xa
lea ecx, [esp + 0x6c]
call fcn.004197a0
mov byte [esp + 0x3bc], 6
lea ecx, [esp + 0x164]
call fcn.00401e90
mov byte [esp + 0x3bc], 5
lea ecx, [esp + 0x14c]
call fcn.00401e90
mov byte [esp + 0x3bc], 4
lea ecx, [esp + 0x130]
call fcn.00401e90
mov byte [esp + 0x3bc], 1
lea ecx, [esp + 0x17c]
call fcn.00401e90
jmp 0x4207b0
xor eax, eax
push edi
mov word [edi], ax
call fcn.0048e70c
add esp, 4
mov byte [esp + 0x3bc], 0
lea ecx, [esp + 0x114]
call fcn.00401e90
mov dword [esp + 0x3bc], 0xffffffff
lea ecx, [esp + 0x108]
call fcn.00441650
mov al, 1
jmp 0x420cac
mov byte [esp + 0x3bc], 0
lea ecx, [esp + 0x114]
call fcn.00401e90
mov dword [esp + 0x3bc], 0xffffffff
lea ecx, [esp + 0x108]
call fcn.00441650
xor al, al
mov ecx, dword [esp + 0x3b4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x398]
xor ecx, esp
call fcn.0048d894
add esp, 0x3ac
ret 0x14