Function at 0x57af00
Capabilities:
Prepare http request
Receive http response
Set http header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
cmp dword [ebp + 0x10], 0
xorps xmm0, xmm0
push edi
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], 0xffffffff
je 0x57b4ec
cmp dword [ebp + 0xc], 0
je 0x57b4ec
mov edi, dword [ebp + 8]
test edi, edi
je 0x57b4ec
push esi
call fcn.00572870
mov esi, eax
test esi, esi
je 0x57af89
test byte [0x9538a8], 1
je 0x57b142
push dword [ebp + 0x14]
push edi
push str.TIE:_Couldnt_submit_file:__s_to_atd_server:__s_as_TIE_server_is_not_available.
push 0x165
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_tie_tie_atd.cpp
push str.tie_atd_submit_file
push dword [0x7d2780]
push 1
call fcn.004f21c0
add esp, 0x20
jmp 0x57b142
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x57af9d
lea ecx, [ebp - 0xc]
push ecx
push eax
call fcn.00585320
add esp, 8
push 4
lea eax, [ebp - 8]
push edi
push eax
call fcn.005065b0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x57afed
test byte [0x9538a8], 1
je 0x57b142
push esi
push dword [ebp + 0x14]
push edi
push str.TIE:_Couldnt_submit_file:__s_to_atd_server:__s_opening_it_failed__err:__d
push 0x17d
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_tie_tie_atd.cpp
push str.tie_atd_submit_file
push dword [0x7d2780]
push 1
call fcn.004f21c0
add esp, 0x24
jmp 0x57b142
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 8]
push eax
call fcn.005070a0
mov esi, eax
add esp, 8
test esi, esi
je 0x57b021
test byte [0x9538a8], 1
je 0x57b142
push esi
push edi
push str.Failed_to_calculate_file_size_of_file__sError__x
push 0x185
jmp 0x57af6a
cmp dword [ebp - 0xc], 0
je 0x57b033
lea eax, [ebp - 0xc]
push eax
call fcn.005853a0
add esp, 4
push ebx
mov ebx, dword [ebp + 0x14]
push 0
push 0x1bb
push ebx
push dword [0x9114c8]
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov esi, eax
mov dword [ebp - 0x20], esi
test esi, esi
jne 0x57b09c
call dword [sym.imp.KERNEL32.dll_GetLastError]
test byte [0x9538a8], 1
mov esi, eax
je 0x57b08c
push esi
push ebx
push edi
push str.Failed_to_open_WinHttp_connection_for_file__s_to_host__s__qerr__x_n
push 0x194
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_tie_tie_atd.cpp
push str.tie_atd_submit_file
push dword [0x7d2780]
push 1
call fcn.004f21c0
add esp, 0x24
push esi
call fcn.004f1a60
add esp, 4
mov esi, eax
jmp 0x57b141
test byte [0x9538a8], 8
je 0x57b0ce
push 0x1bb
push str.Sending_the_tie_Request_on_Port_number_:__d
push 0x19a
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_tie_tie_atd.cpp
push str.tie_atd_submit_file
push dword [0x7d2780]
push 8
call fcn.004f21c0
add esp, 0x1c
push 0x800000
push 0
push 0
push 0
push str._file_submit
push 0x700e28
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov esi, eax
mov dword [ebp - 4], esi
test esi, esi
jne 0x57b16e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test byte [0x9538a8], 1
mov esi, eax
je 0x57b12b
push esi
push ebx
push edi
push str.Failed_to_create_WinHttp_request_for_file__s_to_host__s__qerr__x_n
push 0x1a5
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_tie_tie_atd.cpp
push str.tie_atd_submit_file
push dword [0x7d2780]
push 1
call fcn.004f21c0
add esp, 0x24
push esi
call fcn.004f1a60
add esp, 4
mov esi, eax
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push dword [ebp - 0x20]
call edi
pop ebx
cmp dword [ebp - 8], 0xffffffff
je 0x57b154
lea eax, [ebp - 8]
push eax
call fcn.00506db0
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x57b166
lea eax, [ebp - 0xc]
push eax
call fcn.005853a0
add esp, 4
mov eax, esi
pop esi
pop edi
mov esp, ebp
pop ebp
ret
push 4
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0xaa0
push eax
push 0x54
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
xor eax, eax
push 0x45495451
push 0x1000
mov dword [ebp - 0x18], eax
call fcn.004f3590
add esp, 8
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x57b1db
test byte [0x9538a8], 1
je 0x57b1cf
push 0xc
push edi
push str.Failed_to_allocate_memory_to_send_Http_Header_for_file__s_Error__x
push 0x3f
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_tie_tie_atd.cpp
push str.tie_atd_add_req_headers
push dword [0x7d2780]
push 1
call fcn.004f21c0
add esp, 0x20
mov eax, 0xc
mov esi, eax
jmp 0x57b274
push 0x708088
push str.Content_Type:_multipart_form_data__boundary_s
push 0x1000
push eax
call fcn.004f3b60
add esp, 0x10
cmp eax, 0xffffffff
jne 0x57b20a
push dword [ebp - 0x10]
call fcn.004f3570
or esi, 0xffffffff
add esp, 4
or eax, esi
jmp 0x57b274
push 0x20000000
push 0xffffffffffffffff
push dword [ebp - 0x10]
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x57b260
call dword [sym.imp.KERNEL32.dll_GetLastError]
test byte [0x9538a8], 1
mov esi, eax
je 0x57b254
push esi
push ebx
push edi
push str.Failed_to_add_WinHttp_header_for_file__s_to_host__s__qerr__x
push 0x54
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_tie_tie_atd.cpp
push str.tie_atd_add_req_headers
push dword [0x7d2780]
push 1
call fcn.004f21c0
add esp, 0x24
push esi
call fcn.004f1a60
add esp, 4
mov dword [ebp - 0x18], eax
push dword [ebp - 0x10]
call fcn.004f3570
mov eax, dword [ebp - 0x18]
add esp, 4
mov esi, eax
test eax, eax
je 0x57b2b0
test byte [0x9538a8], 1
je 0x57b4d3
push eax
push str.Err:__d
push str.TIE:_failed_to_add_winhttp_header_for_file__s
push 0x1b6
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_tie_tie_atd.cpp
push str.tie_atd_submit_file
push dword [0x7d2780]
push 1
call fcn.004f21c0
add esp, 0x20
jmp 0x57b4d3
push 0x46495451
push 0x1000
call fcn.004f3590
add esp, 8
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x57b302
test byte [0x9538a8], 1
je 0x57b2f8
push 0xc
push str.Failed_to_allocate_memory_to_send_Http_HeaderError__x_n
push 0x1bf
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_tie_tie_atd.cpp
push str.tie_atd_submit_file
push dword [0x7d2780]
push 1
call fcn.004f21c0
add esp, 0x1c
mov esi, 0xc
jmp 0x57b4d3
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 4]
push dword [ebp + 0xc]
push edi
push eax
call fcn.0057b7b0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x57b354
test byte [0x9538a8], 1
je 0x57b4c8
push esi
push edi
push str.TIE:_failed_to_create_http_body_for_file__s_Err:__d
push 0x1c8
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_tie_tie_atd.cpp
push str.tie_atd_submit_file
push dword [0x7d2780]
push 1
call fcn.004f21c0
add esp, 0x20
jmp 0x57b4c8
push 0x47495451
push 0x1000
call fcn.004f3590
add esp, 8
mov dword [ebp + 0x10], eax
test eax, eax
jne 0x57b3a6
test byte [0x9538a8], 1
je 0x57b39c
push 0xc
push str.Failed_to_allocate_memory_to_send_Http_HeaderError__x_n
push 0x1d1
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_tie_tie_atd.cpp
push str.tie_atd_submit_file
push dword [0x7d2780]
push 1
call fcn.004f21c0
add esp, 0x1c
mov esi, 0xc
jmp 0x57b4c8
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 8]
push eax
push ebx
lea eax, [ebp - 4]
push edi
push eax
call fcn.0057ba10
mov esi, eax
add esp, 0x20
test esi, esi
je 0x57b3f8
test byte [0x9538a8], 1
je 0x57b4bd
push esi
push edi
push str.TIE:_failed_to_send_http_header_for_file__s__Err:__d
push 0x1db
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_tie_tie_atd.cpp
push str.tie_atd_submit_file
push dword [0x7d2780]
push 1
jmp 0x57b4b5
push 0
push dword [ebp - 4]
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x57b44d
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
test byte [0x9538a8], 1
mov esi, eax
je 0x57b440
push esi
push ebx
push edi
push str.Failed_to_get_WinHttp_Response_for_file__s_to_host__s__qerr__x
push 0x1e5
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_tie_tie_atd.cpp
push str.tie_atd_submit_file
push dword [0x7d2780]
push 1
call fcn.004f21c0
add esp, 0x24
push esi
call fcn.004f1a60
add esp, 4
mov esi, eax
jmp 0x57b4bd
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push dword [ebp - 4]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x57b486
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
test byte [0x9538a8], 1
mov esi, eax
je 0x57b440
push esi
push ebx
push edi
push str.Failed_to_get_WinHttp_QueryData_for_file__s_to_host__s__qerr__x
push 0x1f1
jmp 0x57b426
xor eax, eax
cmp dword [ebp - 0x1c], eax
cmove esi, eax
test byte [0x9538a8], 0x10
je 0x57b4bd
push ebx
push edi
push str.Successfully_submitted_file:__s_to_atd._server:__s
push 0x1fa
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_tie_tie_atd.cpp
push str.tie_atd_submit_file
push dword [0x7d2780]
push 0x10
call fcn.004f21c0
add esp, 0x20
push dword [ebp + 0x10]
call fcn.004f3570
add esp, 4
push dword [ebp - 0x18]
call fcn.004f3570
add esp, 4
mov eax, dword [ebp - 4]
test eax, eax
je 0x57b136
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push eax
call edi
jmp 0x57b13c
mov eax, 0x16
pop edi
mov esp, ebp
pop ebp
ret