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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10021755
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x1002e018]
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 0x100148f2
lea esi, [ebp + 0x44]
call fcn.100144f0
push ebx
push ebx
push ebx
push 1
add eax, 5
push esi
mov dword [0x10161048], eax
mov dword [0x101611a0], 0x100144e0
call fcn.100144e0
mov dword [ebp - 0x490], eax
cmp eax, ebx
jne 0x100149f3
mov edi, 0x100fa192
lea esi, [ebp - 0x46c]
call fcn.1001c8a0
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 0x10014960
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 0x100149c8
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 0x100149e4
mov edx, dword [ebp + 0x28]
push edx
call esi
add esp, 4
cmp dword [ebp + 0x58], edi
mov dword [ebp + 0x38], 0
jmp 0x1001506a
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 0x10014b04
lea esp, [esp]
cmp dword [ebp + 0x20], 0x10
mov ecx, dword [ebp + 0xc]
jae 0x10014a2c
lea ecx, [ebp + 0xc]
movsx cx, byte [ecx + ebx]
movzx edi, cx
or ecx, 0xffffffff
sub ecx, eax
cmp ecx, 1
jbe 0x10014af9
lea esi, [eax + 1]
cmp esi, 0x7ffffffe
ja 0x10014af9
cmp edx, esi
jae 0x10014a65
push eax
push esi
lea edx, [ebp - 0x448]
push edx
call fcn.1001a040
jmp 0x10014a85
test esi, esi
jne 0x10014a93
mov eax, dword [ebp - 0x448]
mov dword [ebp - 0x438], esi
cmp edx, 8
jae 0x10014a80
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 0x10014adc
mov ecx, dword [ebp - 0x448]
cmp edx, 8
jae 0x10014aab
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 0x10014aca
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 0x10014a20
cmp edx, 8
jb 0x10014b04
mov eax, dword [ebp - 0x448]
mov dword [ebp - 0x48c], eax
jmp 0x10014b10
push 0x10025bdc
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 0x10014c09
jmp 0x10014b40
cmp dword [ebp + 0x3c], 0x10
mov ecx, dword [ebp + 0x28]
jae 0x10014b4c
lea ecx, [ebp + 0x28]
movsx cx, byte [ecx + ebx]
movzx edi, cx
or ecx, 0xffffffff
sub ecx, eax
cmp ecx, 1
jbe 0x10014af9
lea esi, [eax + 1]
cmp esi, 0x7ffffffe
ja 0x10014af9
cmp edx, esi
jae 0x10014b7d
push eax
push esi
lea edx, [ebp - 0x42c]
push edx
call fcn.1001a040
jmp 0x10014b9d
test esi, esi
jne 0x10014bab
mov eax, dword [ebp - 0x42c]
mov dword [ebp - 0x41c], esi
cmp edx, 8
jae 0x10014b98
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 0x10014bf4
mov ecx, dword [ebp - 0x42c]
cmp edx, 8
jae 0x10014bc3
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 0x10014be2
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 0x10014b40
mov esi, dword [ebp - 0x42c]
cmp edx, 8
jae 0x10014c0f
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 0x10014d6f
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 0x10014c60
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x2b
jl 0x10014c40
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 0x10014c92
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 0x10014cd8
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 0x10014d06
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 0x10014d2e
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 0x10014d4b
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 0x10014d68
mov ecx, dword [ebp + 0x44]
push ecx
call esi
add esp, 4
mov eax, edi
jmp 0x10015082
push 0
push 0
lea edx, [ebp - 0x494]
push edx
push 0
push 0
push esi
push 0x100293bc
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 0x10014e2f
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 0x10014dd0
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x2a
jl 0x10014db0
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 0x10014e10
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x10014e10
sub ecx, esi
mov esi, ecx
mov ecx, edi
call fcn.10001570
push 0x2b
lea eax, [ebp - 0x478]
jmp 0x10014cb2
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x10014ecf
mov ecx, 0x43
jmp 0x10014e50
mov dl, byte [eax + 0x100293f0]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x484], dl
jns 0x10014e70
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x39
jl 0x10014e50
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 0x10014eb0
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x10014eb0
sub ecx, esi
mov esi, ecx
mov ecx, edi
call fcn.10001570
push 0x3a
lea eax, [ebp - 0x484]
jmp 0x10014cb2
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.1001e180
mov edx, dword [ebp - 0x48c]
push edx
mov eax, edi
lea ecx, [ebp - 0x468]
call fcn.100176d0
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 0x10014fb5
mov edi, eax
cmp dword [edi + 0x14], 0x10
jb 0x10014f53
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 0x10014f93
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 0x10014fca
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 0x10014fca
cmp dword [ebp - 0x454], 0x10
jb 0x10014fca
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 0x10014ff4
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 0x10015022
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 0x1001504a
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 0x10015063
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 0x1001507c
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.1001e242
mov esp, ebp
pop ebp
ret