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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001fae5
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x1002b018]
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 0x10014922
lea esi, [ebp + 0x44]
call fcn.10014520
push ebx
push ebx
push ebx
push 1
add eax, 5
push esi
mov dword [0x1015df3c], eax
mov dword [0x1015e070], 0x10014510
call fcn.10014510
mov dword [ebp - 0x490], eax
cmp eax, ebx
jne 0x10014a23
mov edi, 0x100f6eb6
lea esi, [ebp - 0x46c]
call fcn.1001b7f0
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 0x10014990
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 0x100149f8
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 0x10014a14
mov edx, dword [ebp + 0x28]
push edx
call esi
add esp, 4
cmp dword [ebp + 0x58], edi
mov dword [ebp + 0x38], 0
jmp 0x1001509a
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 0x10014b34
lea esp, [esp]
cmp dword [ebp + 0x20], 0x10
mov ecx, dword [ebp + 0xc]
jae 0x10014a5c
lea ecx, [ebp + 0xc]
movsx cx, byte [ecx + ebx]
movzx edi, cx
or ecx, 0xffffffff
sub ecx, eax
cmp ecx, 1
jbe 0x10014b29
lea esi, [eax + 1]
cmp esi, 0x7ffffffe
ja 0x10014b29
cmp edx, esi
jae 0x10014a95
push eax
push esi
lea edx, [ebp - 0x448]
push edx
call fcn.10019180
jmp 0x10014ab5
test esi, esi
jne 0x10014ac3
mov eax, dword [ebp - 0x448]
mov dword [ebp - 0x438], esi
cmp edx, 8
jae 0x10014ab0
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 0x10014b0c
mov ecx, dword [ebp - 0x448]
cmp edx, 8
jae 0x10014adb
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 0x10014afa
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 0x10014a50
cmp edx, 8
jb 0x10014b34
mov eax, dword [ebp - 0x448]
mov dword [ebp - 0x48c], eax
jmp 0x10014b40
push 0x10022a64
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 0x10014c39
jmp 0x10014b70
cmp dword [ebp + 0x3c], 0x10
mov ecx, dword [ebp + 0x28]
jae 0x10014b7c
lea ecx, [ebp + 0x28]
movsx cx, byte [ecx + ebx]
movzx edi, cx
or ecx, 0xffffffff
sub ecx, eax
cmp ecx, 1
jbe 0x10014b29
lea esi, [eax + 1]
cmp esi, 0x7ffffffe
ja 0x10014b29
cmp edx, esi
jae 0x10014bad
push eax
push esi
lea edx, [ebp - 0x42c]
push edx
call fcn.10019180
jmp 0x10014bcd
test esi, esi
jne 0x10014bdb
mov eax, dword [ebp - 0x42c]
mov dword [ebp - 0x41c], esi
cmp edx, 8
jae 0x10014bc8
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 0x10014c24
mov ecx, dword [ebp - 0x42c]
cmp edx, 8
jae 0x10014bf3
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 0x10014c12
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 0x10014b70
mov esi, dword [ebp - 0x42c]
cmp edx, 8
jae 0x10014c3f
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 0x10014d9f
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 0x10014c90
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x2b
jl 0x10014c70
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 0x10014cc2
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 0x10014d08
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 0x10014d36
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 0x10014d5e
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 0x10014d7b
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 0x10014d98
mov ecx, dword [ebp + 0x44]
push ecx
call esi
add esp, 4
mov eax, edi
jmp 0x100150b2
push 0
push 0
lea edx, [ebp - 0x494]
push edx
push 0
push 0
push esi
push 0x100260e0
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 0x10014e5f
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 0x10014e00
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x2a
jl 0x10014de0
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 0x10014e40
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x10014e40
sub ecx, esi
mov esi, ecx
mov ecx, edi
call fcn.10001570
push 0x2b
lea eax, [ebp - 0x478]
jmp 0x10014ce2
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x10014eff
mov ecx, 0x43
jmp 0x10014e80
mov dl, byte [eax + 0x10026114]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x484], dl
jns 0x10014ea0
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x39
jl 0x10014e80
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 0x10014ee0
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x10014ee0
sub ecx, esi
mov esi, ecx
mov ecx, edi
call fcn.10001570
push 0x3a
lea eax, [ebp - 0x484]
jmp 0x10014ce2
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.1001d0a0
mov edx, dword [ebp - 0x48c]
push edx
mov eax, edi
lea ecx, [ebp - 0x468]
call fcn.100169c0
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 0x10014fe5
mov edi, eax
cmp dword [edi + 0x14], 0x10
jb 0x10014f83
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 0x10014fc3
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 0x10014ffa
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 0x10014ffa
cmp dword [ebp - 0x454], 0x10
jb 0x10014ffa
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 0x10015024
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 0x10015052
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 0x1001507a
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 0x10015093
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 0x100150ac
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.1001d181
mov esp, ebp
pop ebp
ret