Function at 0x42b490
Capabilities:
Connect to http server
Create http request
Parse url
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b5136
mov eax, dword fs:[0]
push eax
mov eax, 0x1770
mov dword fs:[0], esp
call fcn.00472670
push ebx
push esi
mov eax, ecx
mov dword [ebp - 0x1c], eax
push edi
mov edi, edx
mov dword [ebp - 0x14], edi
test eax, eax
je 0x42b6d7
cmp byte [eax], 0
je 0x42b6d7
lea ecx, [ebp - 0x1378]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x1778]
movlpd qword [ebp - 0x54], xmm0
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x58]
push ecx
push 0
push 0
push eax
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], 0
movlpd qword [ebp - 0x24], xmm0
mov dword [ebp - 0x58], 0x3c
mov dword [ebp - 0x44], 0x400
mov dword [ebp - 0x28], 0x400
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x42b6d7
movzx eax, word [ebp - 0x40]
push 0x3c
mov dword [ebp - 0x18], eax
call fcn.00471313
mov ebx, eax
add esp, 4
mov dword [ebp - 0x10], ebx
lea ecx, [ebx + 0xc]
mov dword [ebp - 4], 0
call fcn.00432960
lea ecx, [ebx + 0x10]
mov byte [ebp - 4], 1
call fcn.00432960
lea ecx, [ebx + 0x14]
mov byte [ebp - 4], 2
call fcn.00432960
lea ecx, [ebx + 0x18]
mov byte [ebp - 4], 3
call fcn.00432960
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0x1c], 0
mov word [ebx + 0x20], 0
mov dword [ebx + 0x34], 0
mov esi, dword [ebx + 0x38]
mov dword [ebx + 0x38], 0
or ecx, 0xffffffff
mov byte [ebp - 4], 4
test esi, esi
je 0x42b5ec
mov eax, ecx
lock xadd dword [esi + 4], eax
jne 0x42b5ec
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or ecx, 0xffffffff
mov eax, ecx
lock xadd dword [esi + 8], eax
jne 0x42b5ec
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
or ecx, 0xffffffff
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov edx, dword [edi + 4]
test edx, edx
je 0x42b616
lock inc dword [edx + 4]
mov edx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ebx + 0x34], eax
mov esi, dword [ebx + 0x38]
mov dword [ebx + 0x38], edx
mov dword [ebp - 4], 5
test esi, esi
je 0x42b64d
mov eax, ecx
lock xadd dword [esi + 4], eax
jne 0x42b64d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x42b64d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov esi, 0x4e2024
mov ecx, dword [edi]
cmp dword [0x4e2038], 0x10
cmovae esi, dword [0x4e2024]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
xor ecx, ecx
test al, al
setne cl
mov dword [ebp - 0x10], ecx
cmp dword [ecx*4 + 0x4e8eb0], 0
jne 0x42b6c2
push 0x10000000
push 0
push 0
push ecx
push esi
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ecx, dword [ebp - 0x10]
mov dword [ecx*4 + 0x4e8eb0], eax
test eax, eax
je 0x42b6c2
push 0x42b2b0
push eax
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackA]
mov ecx, dword [ebp - 0x10]
cmp eax, 0xffffffff
jne 0x42b6c2
mov dword [ecx*4 + 0x4e8eb0], 0
mov eax, dword [ecx*4 + 0x4e8eb0]
mov dword [ebx], eax
test eax, eax
jne 0x42b6ea
push ecx
mov ecx, ebx
call fcn.0042b470
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
push 0
push 3
push 0
push 0
push dword [ebp - 0x18]
lea ecx, [ebp - 0x1378]
mov dword [ebx + 0x1c], 0
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jne 0x42b72c
call esi
cmp eax, 0x3e5
je 0x42b724
xor edi, edi
jmp 0x42b759
lea ecx, [ebx + 0xc]
call fcn.00432a70
mov ecx, dword [ebx + 0x34]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionA]
push 4
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 2
push edi
call esi
push 4
lea eax, [ebp - 0x10]
push eax
push 6
push edi
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 4], edi
test edi, edi
je 0x42b6cf
mov edi, dword [ebp - 0x14]
xor eax, eax
cmp dword [ebp - 0x4c], 4
mov ecx, 0x800000
push ebx
cmove eax, ecx
mov dword [ebx + 0x1c], 1
mov ecx, dword [edi]
or eax, 0x84000200
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x1778]
push eax
mov eax, dword [ecx]
call dword [eax + 0x20]
push eax
push dword [ebx + 4]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebx + 8], eax
test eax, eax
jne 0x42b7bd
call esi
cmp eax, 0x3e5
jne 0x42b6cf
lea ecx, [ebx + 0x10]
call fcn.00432a70
push 0x400
lea eax, [ebp - 0x458]
push 0
push eax
call fcn.00489230
mov ecx, dword [edi]
add esp, 0xc
mov eax, dword [ecx]
call dword [eax + 0x18]
mov esi, eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], esi
test esi, esi
je 0x42b8d6
mov ecx, dword [edi]
mov edx, dword [ecx]
call dword [edx + 0x14]
test eax, eax
jne 0x42b814
push str.Content_Type:_text_html_n_n
lea eax, [ebp - 0x858]
push 0x400
push eax
call fcn.004369c0
add esp, 0xc
jmp 0x42b835
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x14]
push eax
push str.Content_Type:__s_n_n
lea eax, [ebp - 0x858]
push 0x400
push eax
call fcn.004369c0
add esp, 0x10
lea eax, [ebp - 0x458]
nop dword [eax + eax]
cmp byte [eax], 0
lea ecx, [ebp - 0x59]
je 0x42b84f
inc eax
cmp eax, ecx
jbe 0x42b840
jmp 0x42b876
cmp eax, ecx
ja 0x42b876
lea edx, [ebp - 0x59]
lea ecx, [ebp - 0x858]
cmp eax, edx
jae 0x42b873
mov dl, byte [ecx]
lea ecx, [ecx + 1]
test dl, dl
je 0x42b873
mov byte [eax], dl
inc eax
lea edx, [ebp - 0x59]
cmp eax, edx
jb 0x42b860
mov byte [eax], 0
mov ecx, esi
call fcn.004369a0
push eax
push str.Content_Length:__d_n
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x858]
push 0x400
push eax
call fcn.004369c0
add esp, 0x10
lea ecx, [ebp - 0x458]
cmp byte [ecx], 0
lea eax, [ebp - 0x59]
je 0x42b8af
inc ecx
cmp ecx, eax
jbe 0x42b8a0
jmp 0x42b8d6
cmp ecx, eax
ja 0x42b8d6
lea edx, [ebp - 0x59]
lea eax, [ebp - 0x858]
cmp ecx, edx
jae 0x42b8d3
mov dl, byte [eax]
lea eax, [eax + 1]
test dl, dl
je 0x42b8d3
mov byte [ecx], dl
inc ecx
lea edx, [ebp - 0x59]
cmp ecx, edx
jb 0x42b8c0
mov byte [ecx], 0
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 8]
mov edx, eax
mov esi, dword [edx]
mov ecx, esi
mov eax, dword [edx + 4]
and ecx, eax
cmp ecx, 0xffffffff
jne 0x42b8fa
mov eax, dword [edx + 8]
and eax, dword [edx + 0xc]
cmp eax, ecx
je 0x42b96b
mov eax, dword [edx + 4]
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0xc]
cmp eax, edx
jl 0x42b912
jg 0x42b6cf
cmp esi, ecx
ja 0x42b6cf
push edx
push ecx
push eax
push esi
push str.Range:_bytes_lld__lld_n
lea eax, [ebp - 0x858]
push 0x400
push eax
call fcn.004369c0
add esp, 0x1c
lea eax, [ebp - 0x458]
cmp byte [eax], 0
lea ecx, [ebp - 0x59]
je 0x42b944
inc eax
cmp eax, ecx
jbe 0x42b935
jmp 0x42b96b
cmp eax, ecx
ja 0x42b96b
lea edx, [ebp - 0x59]
lea ecx, [ebp - 0x858]
cmp eax, edx
jae 0x42b968
mov dl, byte [ecx]
lea ecx, [ecx + 1]
test dl, dl
je 0x42b968
mov byte [eax], dl
inc eax
lea edx, [ebp - 0x59]
cmp eax, edx
jb 0x42b955
mov byte [eax], 0
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x42ba2c
cmp byte [eax], 0
je 0x42ba2c
mov eax, dword [esi + 4]
test eax, eax
je 0x42ba2c
push eax
lea ecx, [ebp - 0xf78]
call fcn.00436a40
mov edi, eax
mov dword [ebp - 4], 6
lea ecx, [ebp - 0xd18]
push dword [esi]
call fcn.00436a40
mov esi, eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0xab8]
mov byte [ebp - 4], 7
call fcn.00436a40
push dword [edi + 4]
push dword [esi + 4]
push dword [eax + 4]
call dword [sym.imp.WININET.dll_InternetSetCookieW]
mov eax, dword [ebp - 0xab4]
lea ecx, [ebp - 0xab0]
cmp eax, ecx
je 0x42b9f0
push eax
call fcn.00471372
add esp, 4
mov eax, dword [ebp - 0xd14]
lea ecx, [ebp - 0xd10]
cmp eax, ecx
je 0x42ba09
push eax
call fcn.00471372
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf70]
mov eax, dword [ebp - 0xf74]
cmp eax, ecx
je 0x42ba29
push eax
call fcn.00471372
add esp, 4
mov edi, dword [ebp - 0x14]
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
je 0x42bae7
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [edi]
mov esi, dword [eax]
mov eax, dword [ecx]
mov esi, dword [esi]
mov dword [ebp - 0x14], esi
call dword [eax + 0x10]
cmp esi, dword [eax]
je 0x42bae7
nop dword [eax + eax]
cmp dword [esi + 0x3c], 0x10
lea eax, [esi + 0x28]
jb 0x42ba6b
mov eax, dword [eax]
add esi, 0x10
cmp dword [esi + 0x14], 0x10
jb 0x42ba76
mov esi, dword [esi]
push eax
push esi
push str._s:__s_n
lea eax, [ebp - 0x858]
push 0x400
push eax
call fcn.004369c0
add esp, 0x14
lea eax, [ebp - 0x458]
cmp byte [eax], 0
lea ecx, [ebp - 0x59]
je 0x42baa6
inc eax
cmp eax, ecx
jbe 0x42ba97
jmp 0x42bacd
cmp eax, ecx
ja 0x42bacd
lea edx, [ebp - 0x59]
lea ecx, [ebp - 0x858]
cmp eax, edx
jae 0x42baca
mov dl, byte [ecx]
lea ecx, [ecx + 1]
test dl, dl
je 0x42baca
mov byte [eax], dl
inc eax
lea edx, [ebp - 0x59]
cmp eax, edx
jb 0x42bab7
mov byte [eax], 0
lea ecx, [ebp - 0x14]
call fcn.0043c080
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov esi, dword [ebp - 0x14]
cmp esi, dword [eax]
jne 0x42ba60
push dword [ebp - 0x10]
lea eax, [ebp - 0x458]
push dword [ebp - 0x18]
push 0xffffffffffffffff
push eax
push dword [ebx + 8]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x42bb14
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x42b6cf
mov ecx, dword [edi]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
test al, al
je 0x42bb28
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x44]
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret