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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a380b
mov eax, dword fs:[0]
push eax
mov eax, 0x1780
mov dword fs:[0], esp
call fcn.00473b10
push ebx
push esi
mov eax, ecx
mov dword [ebp - 0x1c], eax
push edi
mov edi, edx
mov dword [ebp - 0x18], edi
test eax, eax
je 0x42de42
cmp byte [eax], 0
je 0x42de42
lea ecx, [ebp - 0x1388]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x1788]
movlpd qword [ebp - 0x60], xmm0
mov dword [ebp - 0x38], ecx
lea ecx, [ebp - 0x64]
push ecx
push 0
push 0
push eax
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x44], xmm0
mov dword [ebp - 0x3c], 0
movlpd qword [ebp - 0x30], xmm0
mov dword [ebp - 0x64], 0x3c
mov dword [ebp - 0x50], 0x400
mov dword [ebp - 0x34], 0x400
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x42de42
movzx eax, word [ebp - 0x4c]
push 0x3c
mov dword [ebp - 0x10], eax
call fcn.004728e6
mov ebx, eax
add esp, 4
mov dword [ebp - 0x28], ebx
lea ecx, [ebx + 0xc]
mov dword [ebp - 4], 0
call fcn.004363b0
lea ecx, [ebx + 0x10]
mov byte [ebp - 4], 1
call fcn.004363b0
lea ecx, [ebx + 0x14]
mov byte [ebp - 4], 2
call fcn.004363b0
lea ecx, [ebx + 0x18]
mov byte [ebp - 4], 3
call fcn.004363b0
mov dword [ebx + 0x34], 0
or edx, 0xffffffff
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 esi, dword [ebx + 0x38]
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
test esi, esi
je 0x42dd18
mov eax, edx
lock xadd dword [esi + 4], eax
jne 0x42dd18
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or edx, 0xffffffff
mov eax, edx
lock xadd dword [esi + 8], eax
jne 0x42dd18
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
or edx, 0xffffffff
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi + 4]
test eax, eax
je 0x42dd46
lock inc dword [eax + 4]
mov esi, dword [ebx + 0x38]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x38], ecx
test esi, esi
je 0x42dd79
mov eax, edx
lock xadd dword [esi + 4], eax
jne 0x42dd79
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x42dd79
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [edi]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
cmp dword [0x4ca058], 0x10
mov ecx, 0x4ca044
mov dword [ebp - 0x20], 4
cmovae ecx, dword [0x4ca044]
xor edx, edx
test al, al
setne dl
xor esi, esi
test al, al
cmovne esi, dword [ebp - 0x20]
cmp dword [esi + 0x4cfc30], 0
jne 0x42ddea
push 0x10000000
push 0
push 0
push edx
push ecx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi + 0x4cfc30], eax
test eax, eax
je 0x42ddea
push 0x42d9f0
push eax
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackA]
cmp eax, 0xffffffff
jne 0x42ddea
mov dword [esi + 0x4cfc30], 0
mov eax, dword [esi + 0x4cfc30]
mov dword [ebx], eax
test eax, eax
je 0x42de30
push ebx
push 0
push 3
push 0
push 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x1388]
mov dword [ebx + 0x1c], 0
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov esi, eax
mov dword [ebp - 0x10], esi
test esi, esi
jne 0x42de5d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x42de55
mov dword [ebx + 4], esi
mov ecx, ebx
call fcn.0042d480
push 0x3c
push ebx
call fcn.004728b5
add esp, 8
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
lea ecx, [ebx + 0xc]
call fcn.004364c0
mov ecx, dword [ebx + 0x34]
mov eax, dword [ecx]
call dword [eax + 0x1c]
push 4
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 2
push esi
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionA]
call esi
push 4
lea eax, [ebp - 0x14]
push eax
push 6
push dword [ebp - 0x10]
call esi
mov eax, dword [ebp - 0x10]
mov dword [ebx + 4], eax
test eax, eax
je 0x42de30
xor esi, esi
mov eax, 0x800000
cmp dword [ebp - 0x58], 4
mov dword [ebx + 0x1c], 1
mov ecx, dword [edi]
cmove esi, eax
mov eax, dword [ecx]
call dword [eax + 0x20]
push ebx
or esi, 0x84000200
lea ecx, [ebp - 0x1788]
push esi
push 0
push 0
push 0
push ecx
push eax
push dword [ebx + 4]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebx + 8], eax
test eax, eax
jne 0x42deeb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x42de30
lea ecx, [ebx + 0x10]
call fcn.004364c0
push 0x400
lea eax, [ebp - 0x468]
push 0
push eax
call fcn.00474ed0
mov esi, dword [ebp - 0x18]
add esp, 0xc
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x18]
xor edi, edi
mov dword [ebp - 0x20], eax
test eax, eax
je 0x42e006
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 0x14]
test eax, eax
jne 0x42df3e
push str.Content_Type:_text_html_n_n
lea eax, [ebp - 0xf88]
push 0x400
push eax
call fcn.0043a8b0
add esp, 0xc
jmp 0x42df5f
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x14]
push eax
push str.Content_Type:__s_n_n
lea eax, [ebp - 0xf88]
push 0x400
push eax
call fcn.0043a8b0
add esp, 0x10
lea eax, [ebp - 0x468]
cmp byte [eax], 0
lea ecx, [ebp - 0x69]
je 0x42df74
inc eax
cmp eax, ecx
jbe 0x42df65
jmp 0x42df9b
cmp eax, ecx
ja 0x42df9b
lea edx, [ebp - 0x69]
lea ecx, [ebp - 0xf88]
cmp eax, edx
jae 0x42df98
mov dl, byte [ecx]
lea ecx, [ecx + 1]
test dl, dl
je 0x42df98
mov byte [eax], dl
inc eax
lea edx, [ebp - 0x69]
cmp eax, edx
jb 0x42df85
mov byte [eax], 0
mov edi, dword [ebp - 0x20]
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x42dfa1
sub edi, ecx
lea eax, [ebp - 0xf88]
push edi
push str.Content_Length:__d_n
push 0x400
push eax
call fcn.0043a8b0
add esp, 0x10
lea eax, [ebp - 0x468]
nop word [eax + eax]
cmp byte [eax], 0
lea ecx, [ebp - 0x69]
je 0x42dfdf
inc eax
cmp eax, ecx
jbe 0x42dfd0
jmp 0x42e006
cmp eax, ecx
ja 0x42e006
lea edx, [ebp - 0x69]
lea ecx, [ebp - 0xf88]
cmp eax, edx
jae 0x42e003
mov dl, byte [ecx]
lea ecx, [ecx + 1]
test dl, dl
je 0x42e003
mov byte [eax], dl
inc eax
lea edx, [ebp - 0x69]
cmp eax, edx
jb 0x42dff0
mov byte [eax], 0
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [ebp - 0x10], ecx
lea ecx, [eax + 8]
mov eax, edx
and eax, dword [ebp - 0x10]
cmp eax, 0xffffffff
jne 0x42e02c
mov eax, dword [ecx]
and eax, dword [ecx + 4]
cmp eax, 0xffffffff
je 0x42e0a6
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x14]
jg 0x42de30
jl 0x42e04a
cmp edx, eax
ja 0x42de30
push dword [ebp - 0x14]
push eax
push ecx
push edx
push str.Range:_bytes_lld__lld_n
lea eax, [ebp - 0xf88]
push 0x400
push eax
call fcn.0043a8b0
add esp, 0x1c
lea eax, [ebp - 0x468]
nop
cmp byte [eax], 0
lea ecx, [ebp - 0x69]
je 0x42e07f
inc eax
cmp eax, ecx
jbe 0x42e070
jmp 0x42e0a6
cmp eax, ecx
ja 0x42e0a6
lea edx, [ebp - 0x69]
lea ecx, [ebp - 0xf88]
cmp eax, edx
jae 0x42e0a3
mov dl, byte [ecx]
lea ecx, [ecx + 1]
test dl, dl
je 0x42e0a3
mov byte [eax], dl
inc eax
lea edx, [ebp - 0x69]
cmp eax, edx
jb 0x42e090
mov byte [eax], 0
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0x14], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x42e28d
cmp byte [ecx], 0
je 0x42e28d
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x42e28d
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42e0d6
sub ecx, edx
lea edx, [ecx + 1]
mov dword [ebp - 0xb88], edx
cmp edx, 0x12c
ja 0x42e0f8
lea eax, [ebp - 0xb80]
jmp 0x42e119
xor ecx, ecx
mov eax, edx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00472922
mov edx, dword [ebp - 0xb88]
add esp, 4
sub esp, 0xc
mov dword [ebp - 0xb84], eax
mov ecx, eax
push dword [ebp - 0x10]
call fcn.0043aa60
add esp, 0x10
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0xb84]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x42e15e
mov edx, 1
lea eax, [ebp - 0x6c0]
mov dword [ebp - 0x6c8], edx
jmp 0x42e1a6
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42e163
sub ecx, edx
lea edx, [ecx + 1]
mov dword [ebp - 0x6c8], edx
cmp edx, 0x12c
ja 0x42e185
lea eax, [ebp - 0x6c0]
jmp 0x42e1a6
xor ecx, ecx
mov eax, edx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00472922
mov edx, dword [ebp - 0x6c8]
add esp, 4
sub esp, 0xc
mov dword [ebp - 0x6c4], eax
mov ecx, eax
push dword [ebp - 0x10]
call fcn.0043aa60
add esp, 0x10
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x6c4]
mov dword [ebp - 0x10], eax
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42e1d0
sub ecx, edx
lea edx, [ecx + 1]
mov dword [ebp - 0x928], edx
cmp edx, 0x12c
ja 0x42e1f2
lea eax, [ebp - 0x920]
jmp 0x42e213
xor ecx, ecx
mov eax, edx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00472922
mov edx, dword [ebp - 0x928]
add esp, 4
sub esp, 0xc
mov dword [ebp - 0x924], eax
mov ecx, eax
push dword [ebp - 0x1c]
call fcn.0043aa60
add esp, 0x10
push dword [ebp - 0x24]
push dword [ebp - 0x10]
push dword [ebp - 0x924]
call dword [sym.imp.WININET.dll_InternetSetCookieW]
mov eax, dword [ebp - 0x924]
lea ecx, [ebp - 0x920]
cmp eax, ecx
je 0x42e254
push eax
call fcn.00472b7c
add esp, 4
mov eax, dword [ebp - 0x6c4]
lea ecx, [ebp - 0x6c0]
cmp eax, ecx
je 0x42e26d
push eax
call fcn.00472b7c
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb80]
mov eax, dword [ebp - 0xb84]
cmp eax, ecx
je 0x42e28d
push eax
call fcn.00472b7c
add esp, 4
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
je 0x42e34d
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [ebp - 0x18]
mov esi, dword [eax]
mov ecx, dword [ecx]
mov esi, dword [esi]
mov eax, dword [ecx]
mov dword [ebp - 0x1c], esi
call dword [eax + 0x10]
cmp esi, dword [eax]
je 0x42e34a
mov ebx, dword [ebp - 0x18]
nop
cmp dword [esi + 0x3c], 0x10
lea eax, [esi + 0x28]
jb 0x42e2cb
mov eax, dword [eax]
add esi, 0x10
cmp dword [esi + 0x14], 0x10
jb 0x42e2d6
mov esi, dword [esi]
push eax
push esi
push str._s:__s_n
lea eax, [ebp - 0xf88]
push 0x400
push eax
call fcn.0043a8b0
add esp, 0x14
lea eax, [ebp - 0x468]
cmp byte [eax], 0
lea ecx, [ebp - 0x69]
je 0x42e306
inc eax
cmp eax, ecx
jbe 0x42e2f7
jmp 0x42e32d
cmp eax, ecx
ja 0x42e32d
lea edx, [ebp - 0x69]
lea ecx, [ebp - 0xf88]
cmp eax, edx
jae 0x42e32a
mov dl, byte [ecx]
lea ecx, [ecx + 1]
test dl, dl
je 0x42e32a
mov byte [eax], dl
inc eax
lea edx, [ebp - 0x69]
cmp eax, edx
jb 0x42e317
mov byte [eax], 0
lea ecx, [ebp - 0x1c]
call fcn.0043d600
mov ecx, dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov esi, dword [ebp - 0x1c]
cmp esi, dword [eax]
jne 0x42e2c0
mov ebx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x18]
push edi
push dword [ebp - 0x20]
lea eax, [ebp - 0x468]
push 0xffffffffffffffff
push eax
push dword [ebx + 8]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x42e378
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x42de30
mov ecx, dword [esi]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
test al, al
je 0x42e38c
mov ecx, dword [esi]
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