Function at 0x140038360
Capabilities:
Check http status code
Initialize winhttp library
Prepare http request
Read http header
Receive http response
Send data
Send http request
Set http header

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1080]
mov eax, 0x1180
call fcn.1401427f0
sub rsp, rax
mov rax, qword [0x1401c4de0]
xor rax, rsp
mov qword [rbp + 0x1070], rax
mov rax, r9
mov qword [rsp + 0x48], rax
mov r12, r8
mov qword [rsp + 0x78], r8
mov r14, rdx
mov r13, rcx
mov qword [rsp + 0x70], rax
xor edi, edi
mov byte [rsp + 0x40], dil
mov qword [rbp - 0x10], rdi
mov qword [rbp], rdi
mov qword [rbp + 8], 7
mov word [rbp - 0x10], di
mov rsi, qword [r9]
mov rbx, qword [rsi]
lea rax, [rbp - 0x10]
mov qword [rbp - 0x80], rax
cmp rbx, rsi
je 0x14003841b
nop
lea rax, [rbp + 0x30]
mov qword [rbp - 0x78], rax
lea rdx, [rbx + 0x10]
lea rcx, [rbp + 0x30]
call fcn.1400130b0
nop
lea rdx, [rbx + 0x30]
lea rcx, [rbp + 0x50]
call fcn.1400130b0
nop
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x80]
call fcn.140036a70
mov rbx, qword [rbx]
cmp rbx, rsi
jne 0x1400383e0
xor edi, edi
lea rsi, str.Killer_Network_Tracking_Service
mov ebx, 0x7ff
lea r15d, [rbx + 1]
mov rax, qword [0x1401c8980]
cmp dword [rax], 6
jbe 0x1400384e9
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], 0x27a
lea rcx, str.D:jenk11workspacewsg_citKiller_Release_3.5_srcKillerNetwork_TrackingServiceKillerNetworkTrackingServiceActivityLogDBUploader.cpp
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], eax
lea r9, str.__d___hs__d__:__ls__
mov r8d, ebx
mov edx, r15d
lea rcx, [rbp + 0x70]
call fcn.140034d50
mov edx, r15d
lea rcx, [rbp + 0x70]
call fcn.14014de6c
lea r10, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae r10, qword [rbp - 0x10]
mov r11, r12
cmp qword [r12 + 0x18], 8
jb 0x14003849d
mov r11, qword [r12]
mov r9, r14
cmp qword [r14 + 0x18], 8
jb 0x1400384aa
mov r9, qword [r14]
mov r8, rbx
sub r8, rax
mov rdx, r15
sub rdx, rax
lea rcx, [rbp + 0x70]
lea rcx, [rcx + rax*2]
mov qword [rsp + 0x30], r10
mov qword [rsp + 0x28], r11
mov qword [rsp + 0x20], r9
lea r9, str.PostFileToDestination_Destination_ls___File_ls___QueryParams_ls
call fcn.140034d50
lea rdx, [rbp + 0x70]
lea rcx, [0x1401c8970]
call fcn.140035070
cmp qword [r14 + 0x10], 0
je 0x140038c0c
mov qword [rbp + 0x10], rdi
mov qword [rbp + 0x20], rdi
mov qword [rbp + 0x28], 7
mov word [rbp + 0x10], di
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], di
lea r9, [rbp - 0x50]
lea r8, [rbp + 0x10]
mov rdx, r14
mov rcx, r13
call fcn.140037480
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, str.RivetNetworkTrackingService
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov r14, rax
mov qword [rbp - 0x80], rax
mov r13, rdi
test rax, rax
je 0x14003857c
lea rdx, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae rdx, qword [rbp + 0x10]
mov r8d, 0x1bb
xor r9d, r9d
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov r13, rax
mov rsi, rdi
test r13, r13
je 0x140038781
mov r14, qword [rbp]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, r14
cmp rax, 1
jb 0x140038c97
lea r12, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae r12, qword [rbp - 0x10]
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], rdi
lea rsi, [r14 + 1]
mov edi, 7
lea rbx, [rbp - 0x30]
cmp rsi, rdi
jbe 0x140038667
mov rdi, rsi
or rdi, 7
cmp rdi, rcx
jbe 0x1400385e7
mov rdi, rcx
jmp 0x1400385f3
mov eax, 0xa
cmp rdi, rax
cmovb rdi, rax
mov rax, rdi
add rax, 1
mov rcx, 0xffffffffffffffff
cmovb rax, rcx
movabs rcx, 0x7fffffffffffffff
cmp rax, rcx
ja 0x140038c9d
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x140038651
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140038c9d
mov rcx, rax
call fcn.1401420a0
test rax, rax
je 0x140038ca3
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140038663
test rcx, rcx
je 0x140038660
call fcn.1401420a0
mov rbx, rax
jmp 0x140038663
mov rbx, rcx
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], rdi
mov eax, 0x3f
mov word [rbx], ax
lea rcx, [rbx + 2]
lea r8, [r14 + r14]
mov rdx, r12
call fcn.1401441e0
xor eax, eax
mov word [rbx + rsi*2], ax
lea r9, [rbp - 0x30]
mov rdi, qword [rbp - 0x30]
mov r14, qword [rbp - 0x18]
cmp r14, 8
cmovae r9, rdi
mov r12, qword [rbp - 0x40]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
sub rax, r12
mov rsi, qword [rbp - 0x20]
cmp rsi, rax
ja 0x1400386e9
lea rax, [rsi + r12]
mov qword [rbp - 0x40], rax
lea rbx, [rbp - 0x50]
cmp rcx, 8
cmovae rbx, qword [rbp - 0x50]
lea rcx, [rbx + r12*2]
lea r8, [rsi + rsi]
mov rdx, r9
call fcn.1401441e0
lea rax, [rsi + r12]
xor ecx, ecx
mov word [rbx + rax*2], cx
jmp 0x140038705
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x50]
call fcn.14000f410
mov r14, qword [rbp - 0x18]
mov rdi, qword [rbp - 0x30]
cmp r14, 8
jb 0x140038740
lea rdx, [r14*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140038738
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038ca3
mov rcx, rdi
call fcn.1401420dc
lea r8, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae r8, qword [rbp - 0x50]
mov dword [rsp + 0x30], 0x800000
xor edi, edi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea rdx, str.POST
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rsi, rax
mov r12, qword [rsp + 0x78]
mov r14, qword [rbp - 0x80]
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
mov qword [rsp + 0x20], rdi
mov r9b, 1
movzx r8d, r9b
mov rdx, r12
lea rcx, [rbp + 0x30]
call fcn.14001b030
nop
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x30]
call fcn.14001b200
mov eax, dword [rax]
mov dword [rsp + 0x78], eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov rcx, r15
call fcn.1401420a0
mov rbx, rax
mov qword [rbp - 0x30], rax
lea rdi, [rax + 0x800]
mov qword [rbp - 0x20], rdi
mov r8, r15
xor edx, edx
mov rcx, rax
call fcn.140144890
mov qword [rbp - 0x28], rdi
mov rdx, r12
lea rcx, [rsp + 0x50]
call fcn.140018ba0
cmp qword [rax + 0x18], 8
jb 0x140038809
mov rax, qword [rax]
lea r9, [0x1401c1550]
cmp qword [0x1401c1568], 0x10
cmovae r9, qword [0x1401c1550]
sub rdi, rbx
lea r8, [rdi - 1]
mov qword [rsp + 0x28], rax
lea rax, str.fileToUpload
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rbx
call fcn.14003ffc0
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140038885
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038880
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038ca9
call fcn.1401420dc
test rbx, rbx
jne 0x1400388a1
xor edx, edx
mov qword [rbp - 0x70], rdx
mov qword [rbp - 0x60], rdx
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], dl
jmp 0x1400388da
mov rdx, rdi
mov rcx, rbx
call fcn.14014dd1c
lea rcx, [rbx + rax]
xor edx, edx
mov qword [rbp - 0x70], rdx
mov qword [rbp - 0x60], rdx
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], dl
cmp rbx, rcx
je 0x1400388da
mov r8, rax
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.140012260
nop
test rsi, rsi
je 0x140038ad0
mov r9d, 0xa0000000
mov r8d, 0xffffffff
lea rdx, str.Content_Type:_multipart_form_data__boundaryAaBbCc07x
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
setne byte [rsp + 0x40]
test eax, eax
je 0x140038ac7
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x2f]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov ecx, dword [0x1401c1580]
add ecx, dword [rsp + 0x78]
add ecx, dword [rbp - 0x60]
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
xor eax, eax
mov dword [rbp - 0x78], eax
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rdx, qword [rbp - 0x70]
lea r9, [rbp - 0x78]
mov r8d, dword [rbp - 0x60]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpWriteData]
xor eax, eax
mov dword [rbp - 0x78], eax
lea rcx, [rbp + 0x30]
call fcn.14001b1f0
mov rdx, rax
lea r9, [rbp - 0x78]
mov r8d, dword [rsp + 0x78]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpWriteData]
xor r12d, r12d
mov dword [rbp - 0x78], r12d
lea rdx, [0x1401c1570]
cmp qword [0x1401c1588], 0x10
cmovae rdx, qword [0x1401c1570]
lea r9, [rbp - 0x78]
mov r8d, dword [0x1401c1580]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpWriteData]
test eax, eax
setne byte [rsp + 0x40]
test eax, eax
je 0x140038ac7
mov dword [rsp + 0x78], r12d
mov dword [rbp - 0x80], 4
xor edx, edx
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov qword [rsp + 0x28], r12
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x78]
xor r8d, r8d
mov edx, 0x20000013
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
setne byte [rsp + 0x40]
test eax, eax
je 0x140038ac7
cmp dword [rsp + 0x78], 0xc8
sete byte [rsp + 0x40]
mov rax, qword [0x1401c8980]
cmp dword [rax], 6
jbe 0x140038ac7
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rcx, str.Killer_Network_Tracking_Service
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], 0x2c7
lea rcx, str.D:jenk11workspacewsg_citKiller_Release_3.5_srcKillerNetwork_TrackingServiceKillerNetworkTrackingServiceActivityLogDBUploader.cpp
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], eax
lea r9, str.__d___hs__d__:__ls__
mov r12d, 0x7ff
mov r8d, r12d
mov rdx, r15
lea rcx, [rbp + 0x70]
call fcn.140034d50
mov rdx, r15
lea rcx, [rbp + 0x70]
call fcn.14014de6c
sub r12, rax
sub r15, rax
lea rcx, [rbp + 0x70]
lea rcx, [rcx + rax*2]
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
lea r9, str.PostFileToDestination_Complete_Webserver_response___ld
mov r8, r12
mov rdx, r15
call fcn.140034d50
lea rdx, [rbp + 0x70]
lea rcx, [0x1401c8970]
call fcn.140035070
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test r13, r13
je 0x140038ade
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test r14, r14
je 0x140038aed
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x140038b28
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038b23
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038caf
call fcn.1401420dc
xor eax, eax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], al
test rbx, rbx
je 0x140038b6f
cmp rdi, 0x1000
jb 0x140038b63
add rdi, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x140038cbb
mov rbx, rcx
mov rdx, rdi
mov rcx, rbx
call fcn.1401420dc
nop
lea rcx, [rbp + 0x30]
call fcn.14001b150
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x140038bb9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038bb4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038cb5
call fcn.1401420dc
xor edi, edi
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], di
mov rdx, qword [rbp + 0x28]
cmp rdx, 8
jb 0x140038c0c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038c06
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038cc1
call fcn.1401420dc
nop
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x140038c48
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038c43
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038c91
call fcn.1401420dc
mov qword [rbp], rdi
mov qword [rbp + 8], 7
mov word [rbp - 0x10], di
mov rcx, qword [rsp + 0x48]
call fcn.1400369d0
movzx eax, byte [rsp + 0x40]
mov rcx, qword [rbp + 0x1070]
xor rcx, rsp
call fcn.140142180
mov rbx, qword [rsp + 0x11c0]
add rsp, 0x1180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140149044
nop
call fcn.1400124e0
int3
call fcn.140012f70
int3
call fcn.140149044
nop
call fcn.140149044
int3
call fcn.140149044
nop
call fcn.140149044
nop
call fcn.140149044
nop
call fcn.140149044
int3