Function at 0x56ab30
Capabilities:
Set http header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x628
mov eax, dword [0x906648]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x624], eax
xor ebx, ebx
mov eax, dword [ebp + 0xc]
push 0xa0
mov dword [ebp - 0x628], eax
lea eax, [ebp - 0xa4]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
push 0x190
lea eax, [ebp - 0x420]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
push 0x200
lea eax, [ebp - 0x620]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
push 0x190
lea eax, [ebp - 0x290]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, 0x17
lea edi, [ebp - 0x100]
mov esi, str.Content_Type:_application_json__charsetutf_8
add esp, 0x30
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x624]
test esi, esi
jne 0x56ac01
test byte [0x9538a8], 1
je 0x56abeb
push str.Invalid_handle.
push 0x69
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_gti_gti_http.c
push str.set_request_headers
push dword [0x7d18d4]
push 1
call fcn.004f21c0
add esp, 0x18
pop edi
pop esi
mov eax, 0x16
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0063c972
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
lea eax, [ebp - 0x100]
push 0x20000000
push 0xffffffffffffffff
push eax
push dword [esi]
call edi
test eax, eax
jne 0x56ac70
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004f1a60
add esp, 4
mov ebx, eax
test byte [0x9538a8], 1
je 0x56af23
push ebx
push str.WinHttpAddRequestHeaders_failed__Err:__d
push 0x74
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_gti_gti_http.c
push str.set_request_headers
push dword [0x7d18d4]
push 1
call fcn.004f21c0
add esp, 0x1c
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0063c972
mov esp, ebp
pop ebp
ret
call fcn.004f46e0
push str._a___d__b__Y__H:_M:_S
push 0x50
lea ecx, [ebp - 0xa4]
push ecx
push edx
push eax
call fcn.004f4870
push 4
push 0x700830
lea eax, [ebp - 0xa4]
push 0xa0
push eax
call fcn.004f3920
add esp, 0x24
test eax, eax
jne 0x56acc1
pop edi
mov ebx, 0x3f1
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0063c972
mov esp, ebp
pop ebp
ret
push 6
push str.Date:
lea eax, [ebp - 0x420]
push 0x190
push eax
call fcn.004f38e0
add esp, 0x10
test eax, eax
je 0x56aca9
lea eax, [ebp - 0xa4]
push eax
call fcn.004f36b0
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x420]
push 0x190
push eax
call fcn.004f3920
add esp, 0x14
test eax, eax
je 0x56aca9
push 0x20000000
push 0xffffffffffffffff
lea eax, [ebp - 0x420]
push eax
push dword [esi]
call edi
test eax, eax
jne 0x56ad47
call dword [sym.imp.KERNEL32.dll_GetLastError]
test byte [0x9538a8], 1
mov esi, eax
je 0x56af18
push esi
push str.WinHttpAddRequestHeaders_failed__Err:__d
push 0x95
jmp 0x56aefe
push str.Host:
call fcn.004f36b0
push eax
push str.Host:
lea eax, [ebp - 0x620]
push 0x200
push eax
call fcn.004f38e0
add esp, 0x14
test eax, eax
je 0x56aca9
call fcn.00595640
mov edi, eax
test edi, edi
jne 0x56ad96
pop edi
mov ebx, 0x16
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0063c972
mov esp, ebp
pop ebp
ret
push edi
call fcn.004f36b0
push eax
push edi
lea eax, [ebp - 0x620]
push 0x200
push eax
call fcn.004f3920
add esp, 0x14
test eax, eax
je 0x56aca9
push 0x20000000
push 0xffffffffffffffff
lea eax, [ebp - 0x620]
push eax
push dword [esi]
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x56adf9
call dword [sym.imp.KERNEL32.dll_GetLastError]
test byte [0x9538a8], 1
mov esi, eax
je 0x56af18
push esi
push str.WinHttpAddRequestHeaders_failed__Err:__d
push 0xb2
jmp 0x56aefe
push str.Authorization:
call fcn.004f36b0
push eax
push str.Authorization:
lea eax, [ebp - 0x290]
push 0x190
push eax
call fcn.004f38e0
add esp, 0x14
test eax, eax
je 0x56aca9
push 4
push str.GTI
lea eax, [ebp - 0x290]
push 0x190
push eax
call fcn.004f3920
add esp, 0x10
test eax, eax
je 0x56aca9
call fcn.00595660
mov edi, eax
test edi, edi
je 0x56ad7e
push edi
call fcn.004f36b0
push eax
push edi
lea eax, [ebp - 0x290]
push 0x190
push eax
call fcn.004f3920
add esp, 0x14
test eax, eax
je 0x56aca9
push 1
push 0x6e093c
lea eax, [ebp - 0x290]
push 0x190
push eax
call fcn.004f3920
add esp, 0x10
test eax, eax
je 0x56aca9
mov edi, dword [ebp - 0x628]
push edi
call fcn.004f36b0
push eax
push edi
lea eax, [ebp - 0x290]
push 0x190
push eax
call fcn.004f3920
add esp, 0x14
test eax, eax
je 0x56aca9
push 0x20000000
push 0xffffffffffffffff
lea eax, [ebp - 0x290]
push eax
push dword [esi]
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x56af23
call dword [sym.imp.KERNEL32.dll_GetLastError]
test byte [0x9538a8], 1
mov esi, eax
je 0x56af18
push esi
push str.WinHttpAddRequestHeaders_failed__Err:__d
push 0xe0
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_gti_gti_http.c
push str.set_request_headers
push dword [0x7d18d4]
push 1
call fcn.004f21c0
add esp, 0x1c
push esi
call fcn.004f1a60
add esp, 4
mov ebx, eax
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0063c972
mov esp, ebp
pop ebp
ret