Function at 0x40eb90
Capabilities:
Make an http request with a cookie
Parse url
Read data from internet
Receive data
Resolve function by parsing pe exports
Send data
Send http request

Disassembly:
push 0xffffffffffffffff
push 0x445b94
mov eax, dword fs:[0]
push eax
sub esp, 0x384
mov eax, dword [0x4551b0]
xor eax, esp
mov dword [esp + 0x380], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4551b0]
xor eax, esp
push eax
lea eax, [esp + 0x398]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3a8]
mov edi, dword [esp + 0x3b4]
xor ebx, ebx
mov dword [eax + 8], ebx
mov eax, dword [eax + 4]
cmp eax, ebx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x3b0]
mov dword [esp + 0x40], edx
mov dword [esp + 0x24], edi
je 0x40f3e6
push ebx
push 0x4000000
push ebx
push ebx
push ebx
push ecx
push 0x44ba84
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ebp, eax
cmp ebp, ebx
mov dword [esp + 0x30], ebp
je 0x40f3e6
mov dword [esp + 0x38], vtable.RC::RCInternetHandle.0
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x3a0], ebx
push 0x2f
push str.Content_Type:_application_x_www_form_urlencoded
lea esi, [esp + 0xbc]
mov dword [esp + 0xd4], 7
mov dword [esp + 0xd0], ebx
mov word [esp + 0xc0], bx
call fcn.00401a90
mov byte [esp + 0x3a0], 1
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x40ed6b
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x40ed6b
push 2
push 0x44baf0
mov ecx, esi
call fcn.0040a5f0
push 8
push str.Cookie:
mov ecx, esi
call fcn.0040a5f0
mov ecx, edi
xor ebp, ebp
call fcn.00410fa0
test eax, eax
jbe 0x40ed54
mov dword [esp + 0x18], ebx
jmp 0x40ecc8
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x40eceb
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x40ecf0
call fcn.00431c40
mov eax, dword [edi + 4]
add eax, dword [esp + 0x18]
cmp dword [eax + 0x14], ebx
lea edi, [eax + 0x1c]
je 0x40ed3b
cmp dword [edi + 0x14], ebx
je 0x40ed3b
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0xbc]
call fcn.0040a4e0
push 1
push 0x44bb0c
mov ecx, esi
call fcn.0040a5f0
push ebx
push edi
or eax, 0xffffffff
call fcn.0040a4e0
push 1
push 0x44bb10
mov ecx, esi
call fcn.0040a5f0
mov ecx, dword [esp + 0x24]
add dword [esp + 0x18], 0x38
add ebp, 1
call fcn.00410fa0
cmp ebp, eax
jb 0x40ecc4
push 4
push 0x44bb14
lea ecx, [esp + 0xbc]
call fcn.0040a5f0
mov ebp, dword [esp + 0x30]
cmp dword [esp + 0xcc], 8
mov dword [esp + 0x48], 0x28
mov dword [esp + 0x4c], ebx
jb 0x40ed8e
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x50], ecx
jmp 0x40ed99
lea edx, [esp + 0xb8]
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0xc8]
mov esi, dword [esp + 0x3ac]
push ebx
push ebx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
push ebx
lea eax, [esp + 0x54]
push eax
push ebp
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
test eax, eax
jne 0x40ee19
cmp dword [esp + 0xcc], 8
jb 0x40edf3
mov ecx, dword [esp + 0xb8]
push ecx
call fcn.00431474
add esp, 4
push ebp
mov dword [esp + 0xd0], 7
mov dword [esp + 0xcc], ebx
mov word [esp + 0xbc], bx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x40f3e6
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x34]
push edx
push esi
push eax
push ebp
mov dword [esp + 0x44], ebx
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x40edd9
cmp dword [esp + 0x34], esi
je 0x40ee4d
cmp dword [esp + 0xcc], 8
jb 0x40edf3
mov edx, dword [esp + 0xb8]
push edx
jmp 0x40edeb
push ebx
push ebx
push ebx
push ebp
call dword [sym.imp.WININET.dll_HttpEndRequestW]
test eax, eax
je 0x40f3d1
mov edi, dword [esp + 0x40]
call fcn.00407320
push 0x1ff
lea eax, [esp + 0x199]
push ebx
push eax
mov byte [esp + 0x1a0], bl
call fcn.00433170
add esp, 0xc
mov dword [esp + 0xe8], 0xf
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xd4], bl
mov byte [esp + 0x3a0], 2
mov esi, dword [sym.imp.WININET.dll_InternetReadFile]
mov edi, 0x200
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x2c]
push ecx
push 0x1ff
lea edx, [esp + 0x19c]
push edx
push eax
mov dword [esp + 0x3c], ebx
call esi
test eax, eax
je 0x40f3c5
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x40ef1d
cmp eax, edi
jae 0x40f3c5
mov byte [esp + eax + 0x194], bl
lea eax, [esp + 0x194]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x40eef7
sub eax, edx
push eax
lea ecx, [esp + 0x198]
push ecx
lea eax, [esp + 0xd8]
call fcn.0040f8d0
cmp dword [esp + 0x2c], ebx
ja 0x40eeb1
cmp dword [esp + 0xe8], 0x10
mov eax, dword [esp + 0xd4]
jae 0x40ef35
lea eax, [esp + 0xd4]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0xe4]
push edx
push ecx
push eax
call fcn.0042e624
mov ebx, dword [esp + 0x30]
add esp, 0xc
call fcn.0040f650
xor ecx, ecx
mov eax, 0x201
mov edx, 2
mul edx
seto cl
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
neg ecx
or ecx, eax
push ecx
call fcn.00430f12
add esp, 4
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov ebp, eax
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x20]
push ecx
push ebp
push 0x2b
mov word [ebp], bx
mov esi, dword [esp + 0x38]
push edx
mov dword [esp + 0x30], edi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
setne al
cmp al, bl
jne 0x40effe
cmp dword [esp + 0x1c], edi
jbe 0x40f393
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x40f393
mov edi, dword [esp + 0x1c]
add edi, 1
push ebp
mov dword [esp + 0x1c], edi
call fcn.00431479
xor ecx, ecx
add esp, 4
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00430f12
add esp, 4
mov dword [esp + 0x28], esi
jmp 0x40ef80
mov eax, dword [esp + 0x1c]
cmp eax, edi
ja 0x40ef82
mov word [ebp + eax*2], bx
mov edx, ebp
lea eax, [esp + 0x108]
call fcn.00402e70
cmp dword [esp + 0x11c], ebx
je 0x40f37a
mov eax, 7
mov dword [esp + 0x13c], eax
mov dword [esp + 0x138], ebx
mov word [esp + 0x128], bx
mov dword [esp + 0x104], eax
mov dword [esp + 0x100], ebx
mov word [esp + 0xf0], bx
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x3a4], 5
mov ebx, 1
xor eax, eax
lea edx, [esp + 0x10c]
mov dword [esp + 0x24], 0x3d
call fcn.0040a400
mov edi, eax
cmp edi, 0xffffffff
je 0x40f115
push edi
lea ecx, [esp + 0x10c]
push ecx
xor ecx, ecx
lea esi, [esp + 0x164]
call fcn.0040cda0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x12c]
mov byte [esp + 0x3a8], 6
call fcn.004019a0
mov bl, 5
mov ecx, esi
mov byte [esp + 0x3a0], bl
call fcn.00401940
lea ecx, [edi + 1]
cmp ecx, dword [esp + 0x11c]
jae 0x40f115
push 0xffffffffffffffff
lea edx, [esp + 0x10c]
push edx
lea esi, [esp + 0x164]
call fcn.0040cda0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x110]
mov byte [esp + 0x3a8], 7
call fcn.004019a0
mov ecx, esi
mov byte [esp + 0x3a0], bl
call fcn.00401940
lea eax, [esp + 0x20]
push eax
mov ebx, 1
xor eax, eax
lea edx, [esp + 0x10c]
mov dword [esp + 0x24], 0x3b
call fcn.0040a400
cmp eax, 0xffffffff
je 0x40f17a
push eax
lea ecx, [esp + 0x10c]
push ecx
xor ecx, ecx
lea esi, [esp + 0x164]
call fcn.0040cda0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0xf4]
mov byte [esp + 0x3a8], 8
call fcn.004019a0
mov ecx, esi
mov byte [esp + 0x3a0], 5
call fcn.00401940
jmp 0x40f191
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x110]
lea ecx, [esp + 0xf4]
call fcn.004019a0
lea edx, [esp + 0x124]
push 0x44bb20
push edx
call fcn.0042dc93
lea eax, [esp + 0xf4]
push 0x44bb20
push eax
call fcn.0042dc93
add esp, 0x10
cmp dword [esp + 0x138], 0
je 0x40f35c
cmp dword [esp + 0x100], 0
je 0x40f35c
mov edx, str.http:__www.haozip.com_
lea eax, [esp + 0x140]
call fcn.00402e70
push 0
lea ecx, [esp + 0xf0]
push ecx
or eax, 0xffffffff
lea esi, [esp + 0x148]
mov byte [esp + 0x3a8], 9
call fcn.0040a4e0
push 0x3c
lea edx, [esp + 0x7c]
push 0
push edx
call fcn.00433170
mov esi, dword [esp + 0x160]
add esi, 0x20
xor ecx, ecx
add esp, 0xc
mov eax, esi
mov edx, 2
mul edx
seto cl
mov dword [esp + 0x78], 0x3c
neg ecx
or ecx, eax
push ecx
call fcn.00430f12
add esp, 4
lea ecx, [esi + esi]
push ecx
push 0
push eax
mov dword [esp + 0xb8], eax
call fcn.00433170
mov eax, dword [esp + 0x150]
add esi, 0xffffffff
add esp, 0xc
cmp dword [esp + 0x158], 8
mov dword [esp + 0xb0], esi
jae 0x40f27c
lea eax, [esp + 0x144]
mov ecx, dword [esp + 0x154]
lea edx, [esp + 0x78]
push edx
push 0x80000000
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x40f305
mov edx, dword [esp + 0xac]
lea eax, [esp + 0x15c]
call fcn.00402e70
mov byte [esp + 0x3a0], 0xa
cmp dword [esp + 0x170], 0
je 0x40f2f1
lea ebx, [esp + 0x40]
lea edi, [esp + 0x15c]
call fcn.00407ff0
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x78]
push ecx
mov edx, edi
push edx
call fcn.0040f420
lea eax, [esp + 0xec]
push eax
mov ecx, edi
call fcn.0040f4f0
lea ecx, [esp + 0x15c]
mov byte [esp + 0x3a0], 9
call fcn.00401940
mov ecx, dword [esp + 0xac]
push ecx
call fcn.00431479
add esp, 4
lea edx, [esp + 0xec]
push edx
lea eax, [esp + 0x128]
push eax
lea ecx, [esp + 0x164]
push ecx
call fcn.0040f6a0
mov esi, dword [esp + 0x24]
push eax
mov byte [esp + 0x3a4], 0xb
call fcn.0040f5a0
lea esi, [esp + 0x15c]
call fcn.00410690
lea ecx, [esp + 0x140]
call fcn.00401940
lea ecx, [esp + 0xec]
call fcn.00401940
lea ecx, [esp + 0x124]
call fcn.00401940
mov edi, dword [esp + 0x18]
xor ebx, ebx
lea ecx, [esp + 0x108]
mov byte [esp + 0x3a0], 2
call fcn.00401940
jmp 0x40ef82
push ebp
mov word [ebp], bx
call fcn.00431479
add esp, 4
lea ecx, [esp + 0xd0]
call fcn.00402d80
lea ecx, [esp + 0xb4]
call fcn.00401940
lea ecx, [esp + 0x38]
call fcn.00410420
mov al, 1
jmp 0x40f3e8
lea ecx, [esp + 0xd0]
call fcn.00402d80
lea ecx, [esp + 0xb4]
call fcn.00401940
lea ecx, [esp + 0x38]
call fcn.00410420
xor al, al
mov ecx, dword [esp + 0x398]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x380]
xor ecx, esp
call fcn.00431b07
add esp, 0x390
ret 0x10