Function at 0x40b710
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push 0x70
mov eax, 0x4503b2
call fcn.00434cdd
and dword [ebp - 0x20], 0
push ecx
mov eax, esp
mov dword [ebp - 0x30], esp
push str.dW5rbm93bg
push eax
call fcn.0040890f
lea eax, [ebp - 0x10]
push eax
call fcn.0040f5fc
pop ecx
pop ecx
mov esi, dword [ebp + 8]
and dword [ebp - 4], 0
lea edi, [esi + 8]
mov dword [ebp - 0x30], edi
call fcn.0040c54a
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040117e
call fcn.0040b629
test eax, eax
jne 0x40b771
push 4
pop eax
call fcn.00434db5
ret 0xc
call fcn.0040b656
test eax, eax
jne 0x40b77e
push 5
jmp 0x40b768
push ecx
mov eax, esp
mov dword [ebp - 0x2c], esp
push str.R0VU
push eax
call fcn.0040890f
lea eax, [ebp - 0x14]
push eax
call fcn.0040f5fc
pop ecx
pop ecx
lea eax, [esi + 4]
mov dword [ebp - 4], 1
push eax
mov ecx, 0x454ad8
mov dword [ebp - 0x2c], eax
call fcn.0040cbad
test eax, eax
je 0x40b7ed
push ecx
mov eax, esp
mov dword [ebp - 0x24], esp
push str.UE9TVA
push eax
call fcn.0040890f
lea eax, [ebp - 0x10]
push eax
call fcn.0040f5fc
pop ecx
pop ecx
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0040c54a
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040117e
push ecx
mov eax, esp
mov dword [ebp - 0x24], esp
push str.Z3ppcCxkZWZsYXRl
push eax
call fcn.0040890f
lea eax, [ebp - 0x24]
push eax
call fcn.0040f5fc
pop ecx
pop ecx
push eax
push ecx
mov eax, esp
mov dword [ebp - 0x34], esp
push str.QWNjZXB0LUVuY29kaW5n
push eax
mov byte [ebp - 4], 3
call fcn.0040890f
lea eax, [ebp - 0x10]
push eax
call fcn.0040f5fc
pop ecx
pop ecx
push eax
push esi
mov byte [ebp - 4], 4
call fcn.0040b4f5
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040117e
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.0040117e
lea eax, [ebp - 0x18]
lea ebx, [esi + 0x30]
push eax
call fcn.0040b2d5
xor edi, edi
push edi
push edi
push edi
mov byte [ebp - 4], 5
mov eax, dword [esi + 0x68]
push edi
push eax
lea ebx, [esi + 0xc]
call dword [sym.imp.WININET.dll_InternetOpenW]
push eax
mov esi, ebx
call fcn.0040c47b
mov eax, dword [ebx]
cmp eax, edi
jne 0x40b8a0
push 6
pop esi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040117e
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040117e
mov eax, esi
jmp 0x40b769
push 4
lea ecx, [ebp - 0x28]
push ecx
push 0x41
push eax
mov dword [ebp - 0x28], 1
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov edi, dword [ebp + 0xc]
lea esi, [ebp - 0x7c]
call fcn.0040f8eb
test eax, eax
jne 0x40b8c9
push 8
jmp 0x40b882
mov ecx, dword [ebx]
xor ebx, ebx
push ebx
push ebx
push 3
mov eax, 0x454ad8
push eax
push eax
push dword [ebp - 0x64]
push dword [ebp - 0x6c]
push ecx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 6
cmp eax, ebx
jne 0x40b8fc
lea esi, [ebp + 0xc]
call fcn.0040c46a
push 7
jmp 0x40b882
xor ecx, ecx
mov eax, 0x1bb
cmp word [ebp - 0x64], ax
mov eax, dword [ebp + 8]
setne cl
dec ecx
and ecx, 0x800000
or ecx, 0x84403300
mov edi, ecx
cmp dword [eax + 0x70], ebx
je 0x40b951
push ecx
mov eax, esp
mov dword [ebp - 0x34], esp
push str.SFRUUC8xLjE
push eax
call fcn.0040890f
lea eax, [ebp - 0x24]
push eax
call fcn.0040f5fc
pop ecx
pop ecx
mov byte [ebp - 4], 7
mov esi, eax
mov dword [ebp - 0x20], 1
call fcn.00408a26
jmp 0x40b953
xor eax, eax
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
push ebx
push edi
push ebx
push ebx
push eax
push dword [ebp - 0x50]
push ecx
push dword [ebp + 0xc]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 9
test byte [ebp - 0x20], 1
je 0x40b987
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.0040117e
cmp edi, ebx
jne 0x40b9a2
lea esi, [ebp - 0x10]
call fcn.0040c46a
lea esi, [ebp + 0xc]
call fcn.0040c46a
push 9
jmp 0x40b882
push ecx
mov eax, esp
mov dword [ebp + 0x10], esp
push str.R0VU
push eax
call fcn.0040890f
lea eax, [ebp + 0x10]
push eax
call fcn.0040f5fc
pop ecx
pop ecx
mov byte [ebp - 4], 0xa
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
call fcn.0040cbad
mov ebx, eax
neg ebx
mov byte [ebp - 4], 9
mov eax, dword [ebp + 0x10]
sbb bl, bl
add eax, 0xfffffff0
inc bl
call fcn.0040117e
test bl, bl
je 0x40ba01
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax - 0xc]
push 0
push 0
push ecx
push eax
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
mov esi, eax
jmp 0x40ba5f
push dword [ebp - 0x2c]
lea eax, [ebp + 0x10]
push eax
call fcn.0040f954
pop ecx
pop ecx
mov byte [ebp - 4], 0xb
lea eax, [ebp + 0x10]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0xc]
lea esi, [ebp + 0x10]
mov dword [ebp - 0x38], eax
call fcn.0040c533
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx - 0xc]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0xc]
push eax
push dword [ebp - 0x3c]
push edx
push ecx
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.0040ca2c
mov byte [ebp - 4], 9
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.0040117e
test esi, esi
jne 0x40ba7a
lea esi, [ebp - 0x10]
call fcn.0040c46a
lea esi, [ebp + 0xc]
call fcn.0040c46a
push 0xa
jmp 0x40b882
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp + 0x10], edi
call fcn.0040b06e
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xc
push eax
mov dword [ebp + 0x10], edi
call fcn.0040af75
mov edi, dword [ebp - 0x30]
mov byte [ebp - 4], 0xd
call fcn.0040c54a
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
call fcn.0040117e
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
call fcn.0040afd5
test eax, eax
jne 0x40baf2
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.0040117e
lea esi, [ebp - 0x10]
call fcn.0040c46a
lea esi, [ebp + 0xc]
call fcn.0040c46a
push 0xb
jmp 0x40b882
add esi, 0x10
push esi
lea eax, [ebp - 0x1c]
push eax
call fcn.0040b0db
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.0040117e
lea esi, [ebp - 0x10]
call fcn.0040c46a
lea esi, [ebp + 0xc]
call fcn.0040c46a
xor esi, esi
jmp 0x40b883