Function at 0x1000d550
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b0ba8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x10240114]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebx + 8]
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x3c], esi
test ecx, ecx
je 0x1000d844
cmp ecx, 0xffffffff
je 0x1000d844
cmp dword [ebx + 0x74], 2
mov eax, 0x4000000
push 0
mov edi, 0x4800000
cmove eax, edi
push eax
push 0x102445c4
push edx
push str.HTTP_1.0
push esi
push 0x10237560
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebx + 0xc], eax
test eax, eax
je 0x1000d89d
cmp eax, 0xffffffff
je 0x1000d89d
push closesocket
push 0xd
push str.Accept:___r_n
push eax
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
je 0x1000d859
cmp dword [ebx + 0x84], 0
jbe 0x1000d80f
mov edx, 0xf
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], edx
mov byte [ebp - 0x34], 0
mov dword [ebp - 4], 0
mov eax, dword [ebx + 0x74]
sub eax, 1
je 0x1000d632
sub eax, 1
jne 0x1000d644
push 8
push str.https:__
jmp 0x1000d639
push 7
push str.http:__
lea ecx, [ebp - 0x34]
call fcn.10002530
mov edx, dword [ebp - 0x20]
cmp dword [ebx + 0x24], 0x10
lea ecx, [ebx + 0x10]
jb 0x1000d64f
mov ecx, dword [ecx]
mov edi, ecx
lea esi, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x1000d654
sub edi, esi
mov eax, edx
mov esi, dword [ebp - 0x24]
sub eax, esi
push edi
push ecx
cmp edi, eax
ja 0x1000d68b
lea eax, [edi + esi]
cmp edx, 0x10
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
add esi, eax
push esi
call fcn.1007c380
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x1000d69b
mov byte [ebp - 0x38], 0
lea ecx, [ebp - 0x34]
push dword [ebp - 0x38]
push edi
call fcn.10002be0
mov eax, dword [ebx + 0x74]
cmp eax, 1
jne 0x1000d6a9
cmp dword [ebx + 0x70], 0x50
jmp 0x1000d6b5
cmp eax, 2
jne 0x1000d6bb
cmp dword [ebx + 0x70], 0x1bb
je 0x1000d734
push dword [ebx + 0x70]
lea eax, [ebp - 0x1c]
mov word [ebp - 0x14], 0
xorps xmm0, xmm0
push 0x102375b8
push eax
movq qword [ebp - 0x1c], xmm0
call fcn.1000f0c0
lea edi, [ebp - 0x1c]
add esp, 0xc
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x1000d6e3
mov edx, dword [ebp - 0x20]
sub edi, ecx
mov ecx, dword [ebp - 0x24]
mov eax, edx
sub eax, ecx
push edi
cmp edi, eax
ja 0x1000d720
lea eax, [ecx + edi]
cmp edx, 0x10
mov dword [ebp - 0x24], eax
lea esi, [ebp - 0x34]
cmovae esi, dword [ebp - 0x34]
lea eax, [ebp - 0x1c]
add esi, ecx
push eax
push esi
call fcn.1007c380
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x1000d734
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x38], 0
push eax
push dword [ebp - 0x38]
lea ecx, [ebp - 0x34]
push edi
call fcn.10002be0
mov esi, dword [ebp - 0x3c]
mov edi, esi
lea ecx, [edi + 1]
nop dword [eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x1000d740
mov edx, dword [ebp - 0x20]
sub edi, ecx
mov ecx, dword [ebp - 0x24]
mov eax, edx
sub eax, ecx
push edi
cmp edi, eax
ja 0x1000d77c
push dword [ebp - 0x3c]
cmp edx, 0x10
lea esi, [ebp - 0x34]
lea eax, [edi + ecx]
cmovae esi, dword [ebp - 0x34]
add esi, ecx
mov dword [ebp - 0x24], eax
push esi
call fcn.1007c380
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x1000d78d
push esi
mov byte [ebp - 0x38], 0
lea ecx, [ebp - 0x34]
push dword [ebp - 0x38]
push edi
call fcn.10002be0
mov eax, dword [ebx + 0x80]
mov esi, dword [eax]
cmp esi, eax
je 0x1000d7d8
mov edi, dword [sym.imp.WININET.dll_InternetSetCookieA]
nop
mov ecx, dword [esi + 8]
cmp dword [ecx + 0x2c], 0x10
lea edx, [ecx + 0x18]
jb 0x1000d7ae
mov edx, dword [edx]
cmp dword [ecx + 0x14], 0x10
jb 0x1000d7b6
mov ecx, dword [ecx]
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
push edx
cmovae eax, dword [ebp - 0x34]
push ecx
push eax
call edi
test eax, eax
je 0x1000d873
mov esi, dword [esi]
cmp esi, dword [ebx + 0x80]
jne 0x1000d7a0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x1000d80f
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d805
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d86e
push edx
push ecx
call fcn.1006495d
add esp, 8
push 0
push 0
push 0
push 0
push dword [ebx + 0xc]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x1000d888
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100645b9
mov esp, ebp
pop ebp
ret 8
push 0x1023e5b0
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], str.handle_not_opened...
push eax
call fcn.1007ca2b
push 0x1023e5b0
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], str.additional_header_failed...
push eax
call fcn.1007ca2b
call fcn.1008497c
push 0x1023e5b0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], str.add_cookie_failed...
push eax
call fcn.1007ca2b
push 0x1023e5b0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], str.request_failed...
push eax
call fcn.1007ca2b
push 0x1023e5b0
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], str.request_failed...
push eax
call fcn.1007ca2b
int3