Function at 0x433070
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x549339
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x595978]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x128], edi
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x120], ebx
mov esi, 0xf
mov dword [ebp - 4], 1
push esi
push str.http_client.cpp
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.00410af0
mov byte [ebp - 4], 2
push 0x21
push str.psafe::http_client::read_response
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
call fcn.00410af0
lea ecx, [ebp - 0x80]
push ecx
mov edx, 0x12a
lea ecx, [ebp - 0x48]
lea ebx, [ebp - 0xbc]
mov byte [ebp - 4], 3
call fcn.00430970
mov esi, 0x10
cmp dword [ebp - 0x6c], esi
jb 0x433127
mov edx, dword [ebp - 0x80]
push edx
call fcn.0049cf83
add esp, 4
xor ebx, ebx
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
mov byte [ebp - 4], 6
cmp dword [ebp - 0x34], esi
jb 0x43314b
mov eax, dword [ebp - 0x48]
push eax
call fcn.0049cf83
add esp, 4
lea esi, [edi + 0x30]
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], 0
cmp esi, ecx
je 0x4331a2
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
je 0x43317d
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
cmp ecx, esi
setne al
movzx eax, al
push eax
call edx
mov dword [esi + 0x10], ebx
mov ecx, dword [ebp + 0x1c]
cmp ecx, ebx
jne 0x433189
mov dword [esi + 0x10], ebx
jmp 0x4331a2
lea eax, [ebp + 0xc]
cmp ecx, eax
jne 0x43319c
mov edx, dword [ecx]
mov eax, dword [edx]
push esi
call eax
mov dword [esi + 0x10], eax
jmp 0x4331a2
mov dword [esi + 0x10], ecx
mov dword [ebp + 0x1c], ebx
mov ecx, dword [edi + 0x1c]
lea esi, [edi + 0x1c]
mov dword [ebp - 0x10c], esi
cmp ecx, dword [esi + 4]
jne 0x433806
mov eax, dword [edi + 0x58]
lea esi, [edi + 0x58]
push ebx
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x114], eax
test ebx, ebx
jne 0x4332ce
lea edx, [ebp - 0x1d0]
push edx
call fcn.0040a0e0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x114]
push eax
push str.._Last_win_error
push 0x130
push str._at_line
push str._http_client.cpp_
push str._at_file
push str.WinHttpReceiveResponse_request_.get____nullptr_
push str.._Failed_expression_
lea ecx, [ebp - 0x1d0]
push str.Failed_to_receive_http_response
push ecx
call fcn.00415b80
add esp, 8
push eax
call fcn.00415b80
add esp, 8
push eax
call fcn.00415b80
add esp, 8
push eax
call fcn.00415b80
add esp, 8
push eax
call fcn.00415b80
add esp, 8
push eax
call fcn.00415b80
add esp, 8
push eax
call fcn.00409560
push eax
call fcn.00415b80
add esp, 8
push eax
call fcn.00409730
lea ecx, [ebp - 0x64]
lea eax, [ebp - 0x1d0]
call fcn.0040a180
mov ecx, eax
lea ebx, [ebp - 0x48]
mov byte [ebp - 4], 8
call fcn.004045b0
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 0x10
jb 0x43329b
mov edx, dword [eax]
mov dword [ebp - 0x10c], edx
jmp 0x4332a1
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x11c]
call fcn.0049ce20
push 0x58c098
lea ecx, [ebp - 0x11c]
push ecx
mov dword [ebp - method.std::logic_error.virtual_0], vtable.std::runtime_error.0
call fcn.004a60bb
push esi
call fcn.00431a00
lea edx, [ebp - 0x138]
push esi
push edx
call fcn.00431cd0
add esp, 0xc
lea eax, [ebp - 0x1d0]
push eax
mov byte [ebp - 4], 0xa
call fcn.0040a0e0
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x134]
mov ecx, dword [eax]
lea edx, [ebp - 0x1d0]
push edx
push eax
push ecx
lea esi, [ebp - 0x110]
call fcn.00435330
add esp, 0xc
call fcn.00403ae0
mov esi, eax
lea ebx, [esi + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi], 0x3e8
push ebx
setbe byte [ebp - 0x105]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [ebp - 0x105], 0
je 0x433412
lea ecx, [ebp - 0x64]
lea eax, [ebp - 0x1d0]
call fcn.0040a180
mov ebx, eax
mov byte [ebp - 4], 0xc
call fcn.00403a70
lea esi, [ebp - 0x288]
call fcn.0040b920
push 0x57aa58
push ebx
push 0x57b588
push edi
push str.Received_headers_from_
push 0x577db0
push 0x13b
push 0x577be4
push str.http_client.cpp
add eax, 8
push str.__DBG____
push eax
mov byte [ebp - 4], 0xd
call fcn.00415b80
add esp, 8
push eax
call fcn.00416190
add esp, 8
push eax
call fcn.00415b80
add esp, 8
push eax
call fcn.00409560
push eax
call fcn.00415b80
add esp, 8
push eax
call fcn.00415b80
add esp, 8
push eax
call fcn.004169b0
add esp, 8
push eax
call fcn.00415b80
add esp, 8
push eax
call fcn.004169b0
add esp, 8
push eax
call fcn.00415b80
add esp, 8
mov ebx, esi
mov byte [ebp - 4], 0xc
call fcn.0040b9a0
cmp dword [ebp - 0x50], 8
jb 0x433412
mov eax, dword [ebp - 0x64]
push eax
call fcn.0049cf83
add esp, 4
lea ecx, [ebp - 0x1d0]
mov byte [ebp - 4], 0xa
call fcn.004030b0
call fcn.004961f8
mov dword [ebp - 0x114], eax
call fcn.00495fb7
push 0
lea ecx, [ebp - 0x110]
mov esi, eax
call fcn.00495eec
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
jae 0x43344c
inc eax
mov dword [esi + 4], eax
lea ecx, [ebp - 0x110]
call fcn.00495f14
mov byte [ebp - 4], 0xe
xor ecx, ecx
push 0xe
mov word [ebp - 0x2c], cx
push 0x57b5c4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
call fcn.0040d980
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x114]
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xf
call fcn.00434720
add esp, 4
lea ebx, [ebp - 0x110]
lea esi, [ebp - 0x138]
mov byte [ebp - 4], 0x10
call fcn.00411d80
mov ebx, 8
cmp dword [ebp - 0x50], ebx
jb 0x4334c2
mov eax, dword [ebp - 0x64]
push eax
call fcn.0049cf83
add esp, 4
xor esi, esi
xor ecx, ecx
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], esi
mov word [ebp - 0x64], cx
cmp dword [ebp - 0x18], ebx
jb 0x4334e5
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0049cf83
add esp, 4
xor eax, eax
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 0xa
call fcn.00401360
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x114], esi
cmp eax, dword [ebp - 0x134]
jne 0x433656
cmp dword [edi + 0x40], esi
je 0x433593
call fcn.00403ae0
mov esi, eax
lea ebx, [esi + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi], 0xbb8
push ebx
setbe byte [ebp - 0x105]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [ebp - 0x105], 0
je 0x43366a
call fcn.00403a70
lea esi, [ebp - 0x288]
call fcn.0040b920
push str.__progress_wont_be_called
push edi
push str.Content_Length_isnt_found_in_headers_of_response_from_
push 0x577db0
push 0x143
push 0x577be4
push str.http_client.cpp
mov byte [ebp - 4], 0x11
push str.__WARN___
jmp 0x4335fd
call fcn.00403ae0
mov esi, eax
lea ebx, [esi + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi], 0x3e8
push ebx
setbe byte [ebp - 0x105]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [ebp - 0x105], 0
je 0x43366a
call fcn.00403a70
lea esi, [ebp - 0x288]
call fcn.0040b920
push 0x57aa58
push edi
push str.Content_Length_isnt_found_in_headers_of_response_from_
push 0x577db0
push 0x145
push 0x577be4
push str.http_client.cpp
mov byte [ebp - 4], 0x12
push str.__DBG____
add eax, 8
push eax
call fcn.00415b80
add esp, 8
push eax
call fcn.00416190
add esp, 8
push eax
call fcn.00415b80
add esp, 8
push eax
call fcn.00409560
push eax
call fcn.00415b80
add esp, 8
push eax
call fcn.00415b80
add esp, 8
push eax
call fcn.004169b0
add esp, 8
push eax
call fcn.00415b80
add esp, 8
lea ebx, [ebp - 0x288]
mov byte [ebp - 4], 0xa
call fcn.0040b9a0
jmp 0x43366a
lea ecx, [eax + 0x28]
call fcn.00434a80
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], edx
mov ecx, dword [ebp - 0x114]
mov edx, dword [ebp - 0x118]
push ecx
push edx
lea eax, [ebp - 0x20]
push eax
push edi
call fcn.00433a30
mov esi, eax
mov ebx, dword [ebp - 0x10c]
xor ecx, ecx
cmp ebx, esi
je 0x4336c1
mov eax, dword [ebx]
cmp eax, ecx
je 0x4336a1
push eax
call fcn.0049cf83
add esp, 4
xor ecx, ecx
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov edx, dword [esi]
mov dword [ebx], edx
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov edx, dword [esi + 8]
mov dword [ebx + 8], edx
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x20]
cmp eax, ecx
je 0x4336d5
push eax
call fcn.0049cf83
add esp, 4
call fcn.00403ae0
mov esi, eax
lea ebx, [esi + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi], 0x3e8
push ebx
setbe byte [ebp - 0x105]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [ebp - 0x105], 0
je 0x4337c6
call fcn.00403a70
lea esi, [ebp - 0x288]
call fcn.0040b920
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x10c]
mov ecx, dword [edx + 4]
sub ecx, dword [edx]
mov edx, dword [ebp - 0x114]
push edx
mov edx, dword [ebp - 0x118]
push edx
push str._and_content_length
push ecx
push str._with_size
push edi
push str.Received_response_from_
push 0x577db0
push 0x14b
push 0x577be4
push str.http_client.cpp
add eax, 8
push str.__DBG____
push eax
call fcn.00415b80
add esp, 8
push eax
call fcn.00416190
add esp, 8
push eax
call fcn.00415b80
add esp, 8
push eax
call fcn.00409560
push eax
call fcn.00415b80
add esp, 8
push eax
call fcn.00415b80
add esp, 8
push eax
call fcn.004169b0
add esp, 8
push eax
call fcn.00415b80
add esp, 8
push eax
call fcn.00409730
push eax
call fcn.00415b80
add esp, 8
push eax
call fcn.00434000
mov ebx, esi
mov byte [ebp - 4], 0xa
call fcn.0040b9a0
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x134]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [ebp - 0x110]
lea esi, [ebp - 0x138]
call fcn.00411cc0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x134]
push eax
call fcn.0049cf83
mov edi, dword [ebp - 0x128]
mov esi, dword [ebp - 0x10c]
add esp, 4
xor ebx, ebx
test byte [0x5b0b2c], 1
jne 0x433834
or dword [0x5b0b2c], 1
push 0x5b0b14
mov dword [0x5b0b10], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x54b980
call fcn.0049ddb1
add esp, 4
push 0x5b0b14
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x5b0b10], 0x3e8
push 0x5b0b14
setbe bl
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
je 0x43396e
test byte [0x5b0b90], 1
jne 0x433893
or dword [0x5b0b90], 1
mov byte [ebp - 4], 0x16
call fcn.0040e5d0
push 0x54b970
mov dword [0x5b0988], 0x578cc0
call fcn.0049ddb1
add esp, 4
mov byte [ebp - 4], 6
lea esi, [ebp - 0x1e0]
mov eax, 0x5b0988
call fcn.0040b920
mov byte [ebp - 4], 0x17
mov edx, dword [ebp - 0x10c]
mov ecx, dword [edx + 4]
sub ecx, dword [edx]
add eax, 8
push ecx
push str._with_size
push edi
push str.Response_from_
push 0x577db0
push 0x14e
push 0x577be4
push str.http_client.cpp
push str.__DBG____
push eax
call fcn.00415b80
add esp, 8
push eax
call fcn.00416190
add esp, 8
push eax
call fcn.00415b80
add esp, 8
push eax
call fcn.00409560
push eax
call fcn.00415b80
add esp, 8
push eax
call fcn.00415b80
add esp, 8
push eax
call fcn.004169b0
add esp, 8
push eax
call fcn.00415b80
add esp, 8
push eax
call fcn.00409730
mov byte [ebp - 4], 0x18
cmp byte [ebp - 0x140], 0
je 0x433959
lea ecx, [ebp - 0x1d8]
push ecx
lea esi, [ebp - 0x104]
call fcn.0040e710
mov byte [ebp - 4], 0x19
mov edi, dword [ebp - 0x1e0]
push eax
call fcn.0040e690
call fcn.0040cc40
lea ecx, [ebp - 0x1d8]
mov byte [ebp - 4], 6
call fcn.004030b0
mov esi, dword [ebp - 0x10c]
mov edi, dword [ebp - 0x124]
push edi
mov ecx, esi
call fcn.004341e0
lea ebx, [ebp - 0xbc]
mov dword [ebp - 0x120], 1
mov byte [ebp - 4], 1
call fcn.00430b70
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x4339b3
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [ebp + 0xc]
cmp ecx, eax
setne al
movzx eax, al
push eax
call edx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049cc86
mov esp, ebp
pop ebp
ret 0x1c