Function at 0x56a320
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
xor ebx, ebx
mov dword [ebp - 4], 0
push esi
push edi
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x20], ebx
mov dword [ebp - 8], ebx
cmp dword [0x9111c4], ebx
jne 0x56a40b
test byte [0x9538a8], 1
je 0x56a378
push str.Winhttp_session_not_connected
push 0x24f
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_gti_gti_http.c
push str.gti_get_response
push dword [0x7d18d4]
push 1
call fcn.004f21c0
add esp, 0x18
mov edi, 0x6b
test byte [0x9538a8], 1
je 0x56a3ab
push edi
push str.GTI:_Request_to_get_reputation_from_GTI_failed__err:__d
push 0x2c9
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_gti_gti_http.c
push str.gti_get_response
push dword [0x7d18d4]
push 1
call fcn.004f21c0
add esp, 0x1c
call fcn.0056b110
mov eax, dword [ebp - 8]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test eax, eax
je 0x56a6c1
push eax
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x56a6c7
test byte [0x9538a8], 1
je 0x56a6c7
call ebx
push eax
push str.WinHttpCloseHandle_failed__Err:__d
push 0x1c6
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_gti_gti_http.c
push str.gti_winhttp_close_req_connect
push dword [0x7d18d4]
push 1
call fcn.004f21c0
add esp, 0x1c
jmp 0x56a6c7
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0056b4a0
mov edi, eax
add esp, 0x18
mov dword [ebp - 0x10], edi
test edi, edi
jne 0x56a37d
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
mov dword [ebp - 4], 0
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x56a654
mov eax, dword [ebp - 4]
test eax, eax
je 0x56a522
add edi, eax
push 0x36544751
adc esi, 0
inc eax
push eax
mov dword [ebp - 0x18], esi
call fcn.004f3590
mov esi, eax
add esp, 8
test esi, esi
je 0x56a64d
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
push esi
push dword [ebp - 8]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x56a603
mov eax, dword [ebp - 0xc]
mov byte [esi + eax], 0
mov eax, dword [ebp - 4]
test ebx, ebx
je 0x56a512
cmp dword [ebp - 0x18], 0
jl 0x56a512
jg 0x56a4bd
cmp edi, eax
jbe 0x56a512
lea eax, [edi + 1]
push 0x37544751
push eax
call fcn.004f3590
add esp, 8
mov dword [ebp - 0x14], eax
test eax, eax
je 0x56a5e7
mov ecx, edi
sub ecx, dword [ebp - 4]
push ecx
push ebx
push eax
call fcn.004f35b0
mov ecx, dword [ebp - 4]
lea eax, [ecx + 1]
push eax
mov eax, edi
sub eax, ecx
add eax, dword [ebp - 0x14]
push esi
push eax
call fcn.004f35b0
push esi
call fcn.004f3570
push ebx
call fcn.004f3570
mov ebx, dword [ebp - 0x14]
add esp, 0x20
mov eax, dword [ebp - 4]
jmp 0x56a514
mov ebx, esi
cmp dword [ebp - 0xc], 0
je 0x56a522
test eax, eax
jne 0x56a43f
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp + 0x18]
push 0x9111cc
mov dword [eax], ebx
call fcn.004f4d30
mov eax, dword [0x9111b0]
xor ecx, ecx
test eax, eax
push 0x9111cc
cmovne eax, ecx
mov dword [0x9111b0], eax
call fcn.004f4d70
push 0x9111d0
call fcn.004f4d00
add esp, 0xc
cmp dword [0x9111a8], 0
push 0x9111d0
jne 0x56a6b4
call fcn.004f4d60
add esp, 4
test byte [0x9538a8], 4
je 0x56a5a3
push str.GTI:_Response_received_while_GTI_was_unresponsive__Setting_GTI_responsive
push 0x1ae
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_gti_gti_http.c
push str.gti_check_set_state_responsive
push dword [0x7d18d4]
push 4
call fcn.004f21c0
add esp, 0x18
call fcn.0056a8e0
test eax, eax
je 0x56a3b0
test byte [0x9538a8], 1
je 0x56a3b0
push eax
push str.GTI:_failed_to_set_GTI_as_responsiveerr__d
push 0x1b3
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_gti_gti_http.c
push str.gti_check_set_state_responsive
push dword [0x7d18d4]
push 1
call fcn.004f21c0
add esp, 0x1c
jmp 0x56a3b0
push esi
mov edi, 0xc
call fcn.004f3570
add esp, 4
push ebx
call fcn.004f3570
add esp, 4
jmp 0x56a37d
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
test byte [0x9538a8], 1
mov edi, eax
je 0x56a63a
push edi
push str.WinHttpReadData_failed__err:__d
push 0x27d
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_gti_gti_http.c
push str.gti_get_response
push dword [0x7d18d4]
push 1
call fcn.004f21c0
add esp, 0x1c
push edi
call fcn.004f1a60
push esi
mov edi, eax
call fcn.004f3570
add esp, 8
jmp 0x56a696
mov edi, 0xc
jmp 0x56a69e
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
test byte [0x9538a8], 1
mov esi, eax
je 0x56a68b
push esi
push str.WinHttpQueryDataAvailable_failed__err:__d
push 0x264
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_gti_gti_http.c
push str.gti_get_response
push dword [0x7d18d4]
push 1
call fcn.004f21c0
add esp, 0x1c
push esi
call fcn.004f1a60
add esp, 4
mov edi, eax
test edi, edi
je 0x56a525
test ebx, ebx
je 0x56a37d
push ebx
call fcn.004f3570
add esp, 4
jmp 0x56a37d
call fcn.004f4d60
add esp, 4
jmp 0x56a3b0
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x56a705
push eax
call esi
test eax, eax
jne 0x56a705
test byte [0x9538a8], 1
je 0x56a705
call ebx
push eax
push str.WinHttpCloseHandle_failed__Err:__d
push 0x1ce
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_gti_gti_http.c
push str.gti_winhttp_close_req_connect
push dword [0x7d18d4]
push 1
call fcn.004f21c0
add esp, 0x1c
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret