Function at 0x42be80
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push 0xffffffffffffffff
push 0x46ddff
mov eax, dword fs:[0]
push eax
sub esp, 0x458
mov eax, dword [0x489ec0]
xor eax, esp
mov dword [esp + 0x454], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x489ec0]
xor eax, esp
push eax
lea eax, [esp + 0x46c]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x4d4]
mov dword [esp + 0x18], eax
xor esi, esi
mov dword [esp + 0x474], esi
mov eax, 7
xor ecx, ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18c], eax
mov dword [esp + 0x188], esi
mov word [esp + 0x178], cx
xor edx, edx
mov dword [esp + 0x1a8], eax
mov dword [esp + 0x1a4], esi
mov word [esp + 0x194], dx
mov ebx, 0x804c8200
mov dword [esp + 0x170], 0xf
mov dword [esp + 0x16c], esi
mov byte [esp + 0x15c], dl
lea ecx, [esp + 0x1ac]
mov byte [esp + 0x474], 5
call fcn.00405e20
mov eax, dword [esp + 0x498]
push esi
push esi
push esi
push 1
push 0x477000
mov byte [esp + 0x488], 6
mov dword [esp + 0x3c], eax
call dword [0x46f360]
mov ebp, eax
mov dword [esp + 0x2c], ebp
cmp ebp, esi
jne 0x42bf8b
call dword [0x46f07c]
cmp eax, esi
jg 0x42bf7a
mov ebp, eax
jmp 0x42c3a3
and eax, 0xffff
or eax, 0x80070000
mov ebp, eax
jmp 0x42c3a3
mov esi, dword [0x46f35c]
push 4
lea ecx, [esp + 0x2c]
push ecx
push 5
push ebp
call esi
push 4
lea edx, [esp + 0x2c]
push edx
push 6
push ebp
call esi
push 4
lea eax, [esp + 0x2c]
push eax
push 2
push ebp
call esi
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x194]
push edx
lea eax, [esp + 0x17c]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
xor edx, edx
push 0xffffffffffffffff
push edx
lea eax, [esp + 0x4ac]
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], 0
push eax
mov word [ecx + 4], dx
call fcn.0040ea20
mov ecx, edi
call fcn.0042b760
test eax, eax
jne 0x42c00f
mov dword [esp + 0x14], 0x80040074
jmp 0x42c396
cmp dword [esp + 0x1c], 0
je 0x42c022
mov ecx, 0x1bb
mov ebx, 0x80cc8200
jmp 0x42c027
mov ecx, 0x50
cmp dword [esp + 0x18c], 8
mov eax, dword [esp + 0x178]
jae 0x42c03f
lea eax, [esp + 0x178]
push 0
push 0
push 3
push 0
push 0
push ecx
push eax
push ebp
call dword [0x46f348]
mov edi, eax
mov dword [esp + 0x1c], edi
test edi, edi
jne 0x42c082
call dword [0x46f07c]
test eax, eax
jg 0x42c06f
mov dword [esp + 0x14], eax
jmp 0x42c38b
and eax, 0xffff
or eax, 0x80070000
mov dword [esp + 0x14], eax
jmp 0x42c38b
mov ecx, dword [esp + 0x194]
mov eax, 8
cmp dword [esp + 0x1a8], eax
jae 0x42c09e
lea ecx, [esp + 0x194]
cmp dword [esp + 0x4d0], eax
mov eax, dword [esp + 0x4bc]
jae 0x42c0b5
lea eax, [esp + 0x4bc]
push 0
push ebx
push 0
push 0
push 0
push ecx
push eax
push edi
call dword [0x46f34c]
mov ebp, eax
test ebp, ebp
je 0x42c360
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x28]
push edx
push 0x1f
push ebp
mov dword [esp + 0x44], 4
call dword [0x46f350]
or dword [esp + 0x24], 0x3380
push 4
lea eax, [esp + 0x28]
push eax
push 0x1f
push ebp
call esi
mov ecx, 0x18
mov esi, str.Content_Type:_application_x_www_form_urlencoded
lea edi, [esp + 0x214]
lea eax, [esp + 0x214]
rep movsd dword es:[edi], dword [esi]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42c120
sub eax, edx
sar eax, 1
mov edi, 8
mov esi, eax
mov eax, dword [esp + 0x4a0]
cmp dword [esp + 0x4b4], edi
jae 0x42c14d
lea eax, [esp + 0x4a0]
push eax
lea ecx, [esp + 0x34]
call fcn.0040ef80
mov ecx, dword [esp + 0x4b0]
mov eax, dword [eax]
push ecx
push eax
push esi
lea edx, [esp + 0x220]
push edx
push ebp
call dword [0x46f354]
test eax, eax
lea ecx, [esp + 0x30]
sete bl
call fcn.00405760
test bl, bl
jne 0x42c360
mov esi, dword [0x46f364]
mov edi, edi
lea eax, [esp + 0x20]
push eax
push 0x1f3
lea ecx, [esp + 0x27c]
push ecx
push ebp
mov dword [esp + 0x30], 0
call esi
test eax, eax
je 0x42c360
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x274]
mov byte [esp + edx + 0x274], 0
lea edx, [eax + 1]
jmp 0x42c1d0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42c1d0
sub eax, edx
push eax
lea eax, [esp + 0x278]
push eax
lea ecx, [esp + 0x160]
call fcn.0042b1c0
cmp dword [esp + 0x20], 0
ja 0x42c190
cmp dword [esp + 0x170], 0x10
mov eax, dword [esp + 0x15c]
jae 0x42c20d
lea eax, [esp + 0x15c]
push eax
lea ecx, [esp + 0x58]
call fcn.0040dc70
mov eax, dword [eax]
mov esi, dword [esp + 0x18]
push eax
mov ecx, esi
mov byte [esp + 0x478], 7
call fcn.0041a5b0
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x58]
mov byte [esp + 0x474], 6
cmp eax, ecx
je 0x42c24a
push eax
call fcn.0044e1d5
add esp, 4
push esi
lea ecx, [esp + 0x1b0]
call fcn.0041e2e0
test al, al
jne 0x42c268
mov dword [esp + 0x14], 0x80040075
jmp 0x42c378
push ecx
mov eax, esp
lea ecx, [esp + 0x1b0]
mov dword [esp + 0x1c], esp
mov dword [eax], 0
call fcn.00419510
lea ecx, [esp + 0x1ac]
call fcn.00418f50
push ecx
mov eax, esp
lea ecx, [esp + 0x1b0]
mov dword [esp + 0x1c], esp
mov dword [eax], str.header
call fcn.00419510
test al, al
jne 0x42c2b7
mov dword [esp + 0x14], 0x80040075
jmp 0x42c378
lea ecx, [esp + 0x1ac]
call fcn.00418f50
push ecx
mov eax, esp
lea ecx, [esp + 0x1b0]
mov dword [esp + 0x1c], esp
mov dword [eax], str.result
call fcn.00419510
test al, al
jne 0x42c2ed
mov dword [esp + 0x14], 0x80040075
jmp 0x42c378
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x1b0]
call fcn.00405ea0
cmp dword [eax + 0x18], edi
jb 0x42c308
mov eax, dword [eax + 4]
jmp 0x42c30b
add eax, 4
push eax
call fcn.0044f056
add esp, 4
lea ecx, [esp + 0x38]
mov esi, eax
call fcn.00419610
test esi, esi
je 0x42c378
cmp esi, 0x3ee
jne 0x42c335
mov dword [esp + 0x14], 0x80040070
jmp 0x42c378
cmp esi, 0x3f0
jne 0x42c347
mov dword [esp + 0x14], 0x80040077
jmp 0x42c378
sub esi, 0x3f2
neg esi
sbb esi, esi
and esi, 0xfffffffd
add esi, 0x80040079
mov dword [esp + 0x14], esi
jmp 0x42c378
call dword [0x46f07c]
test eax, eax
jle 0x42c374
and eax, 0xffff
or eax, 0x80070000
mov dword [esp + 0x14], eax
test ebp, ebp
je 0x42c383
push ebp
call dword [0x46f358]
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x2c]
test edi, edi
je 0x42c396
push edi
call dword [0x46f358]
push ebp
call dword [0x46f358]
mov ebp, dword [esp + 0x14]
xor esi, esi
lea ecx, [esp + 0x1ac]
mov byte [esp + 0x474], 5
call fcn.0041c1a0
cmp dword [esp + 0x170], 0x10
jb 0x42c3d1
mov eax, dword [esp + 0x15c]
push eax
call fcn.0044db5e
add esp, 4
cmp dword [esp + 0x1a8], 8
mov dword [esp + 0x170], 0xf
mov dword [esp + 0x16c], esi
mov byte [esp + 0x15c], 0
jb 0x42c405
mov ecx, dword [esp + 0x194]
push ecx
call fcn.0044db5e
add esp, 4
xor edx, edx
mov ebx, 8
mov edi, 7
mov dword [esp + 0x1a8], edi
mov dword [esp + 0x1a4], esi
mov word [esp + 0x194], dx
cmp dword [esp + 0x18c], ebx
jb 0x42c440
mov eax, dword [esp + 0x178]
push eax
call fcn.0044db5e
add esp, 4
xor ecx, ecx
mov dword [esp + 0x18c], edi
mov dword [esp + 0x188], esi
mov word [esp + 0x178], cx
cmp dword [esp + 0x494], ebx
jb 0x42c471
mov edx, dword [esp + 0x480]
push edx
call fcn.0044db5e
add esp, 4
xor eax, eax
mov dword [esp + 0x494], edi
mov dword [esp + 0x490], esi
mov word [esp + 0x480], ax
cmp dword [esp + 0x4b4], ebx
jb 0x42c4a2
mov ecx, dword [esp + 0x4a0]
push ecx
call fcn.0044db5e
add esp, 4
xor edx, edx
mov dword [esp + 0x4b4], edi
mov dword [esp + 0x4b0], esi
mov word [esp + 0x4a0], dx
cmp dword [esp + 0x4d0], ebx
jb 0x42c4d3
mov eax, dword [esp + 0x4bc]
push eax
call fcn.0044db5e
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x46c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x454]
xor ecx, esp
call fcn.0044e030
add esp, 0x464
ret 0x5c