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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10022065
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x1002f018]
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 eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x488], eax
mov dword [ebp - 0x490], ebx
mov dword [ebp - 4], 2
cmp dword [ebp + 0x58], 0x10
mov esi, dword [ebp + 0x44]
jae 0x10014fe2
lea esi, [ebp + 0x44]
call fcn.10014be0
push ebx
push ebx
push ebx
push 1
add eax, 5
push esi
mov dword [0x10162048], eax
mov dword [0x101621a0], 0x10014bd0
call fcn.10014bd0
mov dword [ebp - 0x490], eax
cmp eax, ebx
jne 0x100150e3
mov edi, 0x100fb1ba
lea esi, [ebp - 0x46c]
call fcn.1001d130
mov esi, eax
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x488]
mov ebx, 0xf
add eax, esi
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
mov ecx, eax
lea esi, [ecx + 1]
lea ecx, [ecx]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x10015050
sub ecx, esi
mov esi, ecx
mov ecx, dword [ebp - 0x488]
call fcn.10001570
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
xor eax, eax
mov edi, 0x10
mov dword [ebp - 0x46c], eax
mov dword [ebp - 0x468], eax
mov dword [ebp - 0x464], eax
mov dword [ebp - 0x460], eax
mov dword [ebp - 0x45c], eax
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x454], eax
mov dword [ebp - 0x450], eax
mov word [ebp - 0x44c], ax
cmp dword [ebp + 0x20], edi
jb 0x100150b8
mov ecx, dword [ebp + 0xc]
push ecx
call esi
add esp, 4
mov dword [ebp + 0x20], ebx
mov dword [ebp + 0x1c], 0
mov byte [ebp + 0xc], 0
cmp dword [ebp + 0x3c], edi
jb 0x100150d4
mov edx, dword [ebp + 0x28]
push edx
call esi
add esp, 4
cmp dword [ebp + 0x58], edi
mov dword [ebp + 0x38], 0
jmp 0x1001575a
mov edx, 7
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x434], edx
mov dword [ebp - 0x438], eax
mov word [ebp - 0x448], cx
mov byte [ebp - 4], 4
cmp dword [ebp + 0x1c], ebx
jbe 0x100151f4
lea esp, [esp]
cmp dword [ebp + 0x20], 0x10
mov ecx, dword [ebp + 0xc]
jae 0x1001511c
lea ecx, [ebp + 0xc]
movsx cx, byte [ecx + ebx]
movzx edi, cx
or ecx, 0xffffffff
sub ecx, eax
cmp ecx, 1
jbe 0x100151e9
lea esi, [eax + 1]
cmp esi, 0x7ffffffe
ja 0x100151e9
cmp edx, esi
jae 0x10015155
push eax
push esi
lea edx, [ebp - 0x448]
push edx
call fcn.1001a810
jmp 0x10015175
test esi, esi
jne 0x10015183
mov eax, dword [ebp - 0x448]
mov dword [ebp - 0x438], esi
cmp edx, 8
jae 0x10015170
lea eax, [ebp - 0x448]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp - 0x438]
mov edx, dword [ebp - 0x434]
test esi, esi
setne cl
test cl, cl
je 0x100151cc
mov ecx, dword [ebp - 0x448]
cmp edx, 8
jae 0x1001519b
lea ecx, [ebp - 0x448]
mov word [ecx + eax*2], di
cmp dword [ebp - 0x434], 8
mov eax, dword [ebp - 0x448]
mov dword [ebp - 0x438], esi
jae 0x100151ba
lea eax, [ebp - 0x448]
xor edx, edx
mov word [eax + esi*2], dx
mov edx, dword [ebp - 0x434]
mov eax, dword [ebp - 0x438]
inc ebx
cmp ebx, dword [ebp + 0x1c]
jb 0x10015110
cmp edx, 8
jb 0x100151f4
mov eax, dword [ebp - 0x448]
mov dword [ebp - 0x48c], eax
jmp 0x10015200
push 0x10026bdc
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const__]
lea ecx, [ebp - 0x448]
mov dword [ebp - 0x48c], ecx
mov edx, 7
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x418], edx
mov dword [ebp - 0x41c], eax
mov word [ebp - 0x42c], cx
xor ebx, ebx
mov byte [ebp - 4], 5
cmp dword [ebp + 0x38], ebx
jbe 0x100152f9
jmp 0x10015230
cmp dword [ebp + 0x3c], 0x10
mov ecx, dword [ebp + 0x28]
jae 0x1001523c
lea ecx, [ebp + 0x28]
movsx cx, byte [ecx + ebx]
movzx edi, cx
or ecx, 0xffffffff
sub ecx, eax
cmp ecx, 1
jbe 0x100151e9
lea esi, [eax + 1]
cmp esi, 0x7ffffffe
ja 0x100151e9
cmp edx, esi
jae 0x1001526d
push eax
push esi
lea edx, [ebp - 0x42c]
push edx
call fcn.1001a810
jmp 0x1001528d
test esi, esi
jne 0x1001529b
mov eax, dword [ebp - 0x42c]
mov dword [ebp - 0x41c], esi
cmp edx, 8
jae 0x10015288
lea eax, [ebp - 0x42c]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp - 0x41c]
mov edx, dword [ebp - 0x418]
test esi, esi
setne cl
test cl, cl
je 0x100152e4
mov ecx, dword [ebp - 0x42c]
cmp edx, 8
jae 0x100152b3
lea ecx, [ebp - 0x42c]
mov word [ecx + eax*2], di
cmp dword [ebp - 0x418], 8
mov eax, dword [ebp - 0x42c]
mov dword [ebp - 0x41c], esi
jae 0x100152d2
lea eax, [ebp - 0x42c]
xor edx, edx
mov word [eax + esi*2], dx
mov edx, dword [ebp - 0x418]
mov eax, dword [ebp - 0x41c]
inc ebx
cmp ebx, dword [ebp + 0x38]
jb 0x10015230
mov esi, dword [ebp - 0x42c]
cmp edx, 8
jae 0x100152ff
lea esi, [ebp - 0x42c]
mov eax, dword [ebp - 0x48c]
mov ecx, dword [ebp - 0x490]
push 0
push 0
push 3
push 0
push 0
push 0x50
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetConnectW]
test eax, eax
jne 0x1001545f
mov ecx, 0x44
lea esp, [esp]
mov dl, byte [eax + str._r2_:__]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x478], dl
jns 0x10015350
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x2b
jl 0x10015330
mov byte [ebp - 0x44d], 0
mov edi, dword [ebp - 0x488]
mov byte [ebp - 4], 6
mov ebx, 0xf
lea eax, [ebp - 0x478]
mov dword [edi + 0x14], ebx
mov dword [edi + 0x10], 0
mov byte [edi], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10015382
sub eax, edx
mov esi, eax
lea eax, [ebp - 0x478]
mov ecx, edi
call fcn.10001570
push 0x2c
lea eax, [ebp - 0x478]
push 0
push eax
call sub.MSVCR100.dll_memset
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 0xc
cmp dword [ebp - 0x418], 8
jb 0x100153c8
mov ecx, dword [ebp - 0x42c]
push ecx
call esi
add esp, 4
xor edx, edx
cmp dword [ebp - 0x434], 8
mov dword [ebp - 0x418], 7
mov dword [ebp - 0x41c], edx
mov word [ebp - 0x42c], dx
jb 0x100153f6
mov eax, dword [ebp - 0x448]
push eax
call esi
add esp, 4
xor ecx, ecx
cmp dword [ebp + 0x20], 0x10
mov dword [ebp - 0x434], 7
mov dword [ebp - 0x438], ecx
mov word [ebp - 0x448], cx
jb 0x1001541e
mov edx, dword [ebp + 0xc]
push edx
call esi
add esp, 4
cmp dword [ebp + 0x3c], 0x10
mov byte [ebp + 0xc], 0
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], ebx
jb 0x1001543b
mov eax, dword [ebp + 0x28]
push eax
call esi
add esp, 4
cmp dword [ebp + 0x58], 0x10
mov dword [ebp + 0x3c], ebx
mov dword [ebp + 0x38], 0
mov byte [ebp + 0x28], 0
jb 0x10015458
mov ecx, dword [ebp + 0x44]
push ecx
call esi
add esp, 4
mov eax, edi
jmp 0x10015772
push 0
push 0
lea edx, [ebp - 0x494]
push edx
push 0
push 0
push esi
push 0x1002a3e4
push eax
mov dword [ebp - 0x494], str.text_
mov dword [ebp - 0x490], 0
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
test esi, esi
jne 0x1001551f
mov ecx, 0x44
mov edi, edi
mov dl, byte [eax + str._f127_a9__]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x478], dl
jns 0x100154c0
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x2a
jl 0x100154a0
mov byte [ebp - 0x44e], 0
mov byte [ebp - 4], 7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [ebp - 0x488]
lea eax, [ebp + eax - 0x478]
mov ebx, 0xf
mov ecx, eax
mov dword [edi + 0x14], ebx
mov dword [edi + 0x10], 0
mov byte [edi], 0
lea esi, [ecx + 1]
jmp 0x10015500
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x10015500
sub ecx, esi
mov esi, ecx
mov ecx, edi
call fcn.10001570
push 0x2b
lea eax, [ebp - 0x478]
jmp 0x100153a2
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x100155bf
mov ecx, 0x43
jmp 0x10015540
mov dl, byte [eax + 0x1002a418]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x484], dl
jns 0x10015560
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x39
jl 0x10015540
mov byte [ebp - 0x44b], 0
mov byte [ebp - 4], 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [ebp - 0x488]
lea eax, [ebp + eax - 0x484]
mov ebx, 0xf
mov ecx, eax
mov dword [edi + 0x14], ebx
mov dword [edi + 0x10], 0
mov byte [edi], 0
lea esi, [ecx + 1]
jmp 0x100155a0
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x100155a0
sub ecx, esi
mov esi, ecx
mov ecx, edi
call fcn.10001570
push 0x3a
lea eax, [ebp - 0x484]
jmp 0x100153a2
mov ebx, 0xf
mov dword [ebp - 0x454], ebx
mov dword [ebp - 0x458], 0
mov byte [ebp - 0x468], 0
mov byte [ebp - 4], 9
lea edx, [ebp - 0x48c]
lea edi, [ebp - 0x410]
mov ecx, esi
mov dword [ebp - 0x48c], 0xffffffff
call fcn.1001ea70
mov edx, dword [ebp - 0x48c]
push edx
mov eax, edi
lea ecx, [ebp - 0x468]
call fcn.10017ec0
mov eax, dword [ebp - 0x488]
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
lea ecx, [ebp - 0x468]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0
mov byte [eax], 0
cmp eax, ecx
je 0x100156a5
mov edi, eax
cmp dword [edi + 0x14], 0x10
jb 0x10015643
mov edx, dword [edi]
push edx
call esi
add esp, 4
xor eax, eax
mov dword [edi + 0x14], ebx
mov dword [edi + 0x10], eax
mov byte [edi], al
cmp dword [ebp - 0x454], 0x10
jae 0x10015683
mov eax, dword [ebp - 0x458]
inc eax
push eax
lea ecx, [ebp - 0x468]
push ecx
push edi
call dword [sym.imp.MSVCR100.dll_memmove]
mov eax, dword [ebp - 0x458]
mov ecx, dword [ebp - 0x454]
add esp, 0xc
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
jmp 0x100156ba
mov edx, dword [ebp - 0x468]
mov ecx, dword [ebp - 0x454]
mov dword [ebp - 0x468], eax
mov eax, dword [ebp - 0x458]
mov dword [edi], edx
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
jmp 0x100156ba
cmp dword [ebp - 0x454], 0x10
jb 0x100156ba
mov edx, dword [ebp - 0x468]
push edx
call esi
add esp, 4
xor edi, edi
cmp dword [ebp - 0x418], 8
mov dword [ebp - 0x454], ebx
mov dword [ebp - 0x458], edi
mov byte [ebp - 0x468], 0
jb 0x100156e4
mov eax, dword [ebp - 0x42c]
push eax
call esi
add esp, 4
xor ecx, ecx
cmp dword [ebp - 0x434], 8
mov dword [ebp - 0x418], 7
mov dword [ebp - 0x41c], edi
mov word [ebp - 0x42c], cx
jb 0x10015712
mov edx, dword [ebp - 0x448]
push edx
call esi
add esp, 4
xor eax, eax
cmp dword [ebp + 0x20], 0x10
mov dword [ebp - 0x434], 7
mov dword [ebp - 0x438], edi
mov word [ebp - 0x448], ax
jb 0x1001573a
mov ecx, dword [ebp + 0xc]
push ecx
call esi
add esp, 4
cmp dword [ebp + 0x3c], 0x10
mov dword [ebp + 0x20], ebx
mov dword [ebp + 0x1c], edi
mov byte [ebp + 0xc], 0
jb 0x10015753
mov edx, dword [ebp + 0x28]
push edx
call esi
add esp, 4
cmp dword [ebp + 0x58], 0x10
mov dword [ebp + 0x38], edi
mov byte [ebp + 0x28], 0
mov dword [ebp + 0x3c], ebx
jb 0x1001576c
mov eax, dword [ebp + 0x44]
push eax
call esi
add esp, 4
mov eax, dword [ebp - 0x488]
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.1001eb32
mov esp, ebp
pop ebp
ret