Function at 0x57ba10
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x102c
call fcn.0063cb10
mov eax, dword [0x906648]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x1c]
push edi
mov edi, dword [ebp + 0x18]
push str.CC91125A_AAC8_4a72_9257_D862E2098CBC
mov dword [ebp - 0x100c], eax
mov eax, dword [ebp + 0x10]
push str._r_n___s___r_n
mov dword [ebp - 0x1010], eax
mov eax, dword [ebp + 0x14]
push 0x1000
push esi
mov dword [ebp - 0x1008], ebx
mov dword [ebp - 0x1028], eax
mov dword [ebp - 0x102c], esi
mov dword [ebp - 0x1020], 0
call fcn.0063f929
add esp, 0x10
test eax, eax
jns 0x57bac4
test byte [0x9538a8], 1
je 0x57bab0
push 0xc
push ebx
push str.Failed_to_snprintf_form_data_to_send_Http_Header_for_file__s_Error__x
push 0xd7
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_tie_tie_atd.cpp
push str.tie_atd_send_request
push dword [0x7d2780]
push 1
call fcn.004f21c0
add esp, 0x20
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0063c972
mov esp, ebp
pop ebp
ret
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x57bad0
sub ecx, edx
mov edx, esi
lea esi, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x57bae0
sub edx, esi
mov esi, dword [ebp + 0x20]
lea ebx, [edx + ecx]
mov ecx, edi
add ebx, esi
mov dword [ebp - 0x1014], ebx
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x57bb00
mov eax, dword [ebp - 0x100c]
sub ecx, edx
push 0
push ebx
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
push ecx
push edi
push 0
push 0
push dword [eax]
call ebx
test eax, eax
jne 0x57bc3d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f8f
jne 0x57bc11
push 4
lea eax, [ebp - 0x1024]
mov dword [ebp - 0x1024], 0x3300
push eax
mov eax, dword [ebp - 0x100c]
push 0x1f
push dword [eax]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x57bbb6
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
test byte [0x9538a8], 1
je 0x57bba3
push eax
push dword [ebp - 0x1010]
push dword [ebp - 0x1008]
push str.Failed_to_add_WinHttps_header_for_file__s_to_host__s__qerr__x_n
push 0xf7
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_tie_tie_atd.cpp
push str.tie_atd_send_request
push dword [0x7d2780]
push 1
call fcn.004f21c0
add esp, 0x24
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0063c972
mov esp, ebp
pop ebp
ret
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x57bbc0
mov eax, dword [ebp - 0x100c]
sub ecx, edx
push 0
push dword [ebp - 0x1014]
push ecx
push edi
push 0
push 0
push dword [eax]
call ebx
test eax, eax
jne 0x57bc3d
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
test byte [0x9538a8], 1
je 0x57bba3
push eax
push dword [ebp - 0x1010]
push dword [ebp - 0x1008]
push str.Failed_to_add_WinHttps_header_for_file__s_to_host__s__qerr__x_n
push 0x104
jmp 0x57bb89
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
test byte [0x9538a8], 1
je 0x57bba3
push eax
push dword [ebp - 0x1010]
push dword [ebp - 0x1008]
push str.Failed_to_add_WinHttp_header_for_file__s_to_host__s__qerr__x_n
push 0x10d
jmp 0x57bb89
mov edi, dword [ebp + 0x24]
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
test edi, edi
jl 0x57bdd3
jg 0x57bc5a
test esi, esi
je 0x57bdd3
test edi, edi
jb 0x57bc6d
ja 0x57bc66
cmp esi, 0x1000
jbe 0x57bc6d
mov eax, 0x1000
jmp 0x57bc6f
mov eax, esi
lea ecx, [ebp - 0x1018]
xorps xmm0, xmm0
push ecx
push 0
push eax
lea eax, [ebp - 0x1004]
movlpd qword [ebp - 0x1018], xmm0
push eax
push dword [ebp - 0x1028]
call fcn.00506de0
add esp, 0x14
mov dword [ebp - 0x1020], eax
test eax, eax
jne 0x57bd88
mov edx, dword [ebp - 0x1018]
sub esi, edx
mov ecx, dword [ebp - 0x1014]
sbb edi, ecx
test ecx, ecx
jl 0x57bc46
jg 0x57bcd0
test edx, edx
je 0x57bc46
nop dword [eax]
nop word [eax + eax]
lea eax, [ebp - 0x101c]
mov dword [ebp - 0x101c], 0
push eax
push edx
lea eax, [ebp - 0x1004]
push eax
mov eax, dword [ebp - 0x100c]
push dword [eax]
call ebx
test eax, eax
je 0x57bd2b
mov edx, dword [ebp - 0x1018]
sub edx, dword [ebp - 0x101c]
mov eax, dword [ebp - 0x1014]
sbb eax, 0
mov dword [ebp - 0x1018], edx
mov dword [ebp - 0x1014], eax
test eax, eax
jg 0x57bcd0
jl 0x57bc46
test edx, edx
jne 0x57bcd0
jmp 0x57bc46
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
test byte [0x9538a8], 1
mov esi, eax
je 0x57bd6e
push esi
push dword [ebp - 0x1010]
push dword [ebp - 0x1008]
push str.Failed_to_write_WinHttp_Data_for_file__s_to_host__s__qerr__x
push 0x12d
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_tie_tie_atd.cpp
push str.tie_atd_send_request
push dword [0x7d2780]
push 1
call fcn.004f21c0
add esp, 0x24
push esi
call fcn.004f1a60
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0063c972
mov esp, ebp
pop ebp
ret
test byte [0x9538a8], 1
je 0x57bdc2
push eax
push dword [ebp - 0x1008]
push str.Failed_to_read_file__sError__x
push 0x11e
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_tie_tie_atd.cpp
push str.tie_atd_send_request
push dword [0x7d2780]
push 1
call fcn.004f21c0
add esp, 0x20
mov eax, dword [ebp - 0x1020]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0063c972
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x102c]
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x57bde0
lea eax, [ebp - 0x101c]
sub ecx, edx
push eax
mov eax, dword [ebp - 0x100c]
push ecx
push esi
push dword [eax]
call ebx
test eax, eax
jne 0x57bdbc
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
test byte [0x9538a8], 1
mov esi, eax
je 0x57bd6e
push esi
push dword [ebp - 0x1010]
push dword [ebp - 0x1008]
push str.Failed_to_write_WinHttp_Data_for_file__s_to_host__s__qerr__x_n
push 0x13d
jmp 0x57bd54