Function at 0x423d42
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response
Set http header

Disassembly:
push 0x228
mov eax, 0x4e95f1
call fcn.0044b094
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x160], edx
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x188], edx
mov edx, dword [ebp + 0x18]
xor ebx, ebx
mov dword [ebp - 0x198], edx
mov edx, dword [ebp + 0x20]
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x13c], edi
mov dword [ebp - 0x158], edx
mov dword [ebp - 0x194], ebx
mov dword [ebp - 0x190], ebx
cmp ecx, ebx
jne 0x423dd1
push str.No_comsumer_provided_
lea eax, [ebp - 0xa4]
push eax
call fcn.0040525a
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0xa4]
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.004029a2
push 1
lea esi, [ebp - 0xa4]
xor edi, edi
call fcn.00402a3c
jmp 0x424b05
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], ebx
jb 0x423ddc
mov edi, dword [edi]
xor ecx, ecx
mov word [edi], cx
cmp dword [eax + 0x14], 8
jb 0x423de9
mov eax, dword [eax]
xor edi, edi
push edi
push edi
push edi
push edi
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebp - 0x138], eax
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
cmp eax, edi
jne 0x423e65
push str.WinHttpOpen_failed:
lea eax, [ebp - 0xa4]
push eax
call fcn.0040525a
mov ecx, dword [ebp - 0x13c]
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 2
call fcn.004029a2
push ebx
lea esi, [ebp - 0xa4]
mov byte [ebp - 4], bl
call fcn.00402a3c
lea eax, [ebp - 0x34]
push eax
call fcn.00419ed4
pop ecx
mov esi, dword [ebp - 0x13c]
push edi
push eax
or eax, 0xffffffff
mov byte [ebp - 4], 3
call fcn.0040687d
push ebx
lea esi, [ebp - 0x34]
jmp 0x423dc5
cmp dword [ebp - 0x158], edi
je 0x423eba
mov eax, dword [ebp - 0x158]
push edi
call fcn.00417e46
test al, al
je 0x423eba
push str.Cancel_event
lea eax, [ebp - 0xa4]
push eax
call fcn.0040525a
mov ecx, dword [ebp - 0x13c]
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 4
call fcn.004029a2
lea esi, [ebp - 0xa4]
xor edi, edi
push ebx
call fcn.00402a3c
jmp 0x424af9
push 7
pop eax
xor ecx, ecx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], edi
mov word [ebp - 0x6c], cx
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [ebp - 0x40], edi
mov word [ebp - 0x50], ax
push dword [ebp - 0x13c]
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 6
push eax
mov ecx, esi
mov dword [ebp - 0x144], edi
mov dword [ebp - 0x134], edi
call fcn.004238ed
add esp, 0x14
test al, al
jne 0x423f1f
push ebx
xor edi, edi
lea esi, [ebp - 0x50]
call fcn.00402a3c
lea esi, [ebp - 0x6c]
jmp 0x423ead
mov esi, dword [ebp - 0x158]
cmp esi, edi
je 0x423f6f
push edi
mov eax, esi
call fcn.00417e46
test al, al
je 0x423f6f
push str.Cancel_event
lea eax, [ebp - 0xa4]
push eax
call fcn.0040525a
mov ecx, dword [ebp - 0x13c]
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 7
call fcn.004029a2
lea esi, [ebp - 0xa4]
xor edi, edi
push ebx
call fcn.00402a3c
jmp 0x423f0f
cmp dword [ebp - 0x58], 8
mov eax, dword [ebp - 0x6c]
jae 0x423f7b
lea eax, [ebp - 0x6c]
push edi
push dword [ebp - 0x144]
push eax
push dword [ebp - 0x138]
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0x140], eax
mov byte [ebp - 4], 8
cmp eax, edi
jne 0x423fff
push str.WinHttpConnect_failed:
lea eax, [ebp - 0xa4]
push eax
call fcn.0040525a
mov ecx, dword [ebp - 0x13c]
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 9
call fcn.004029a2
push ebx
xor edi, edi
lea esi, [ebp - 0xa4]
mov byte [ebp - 4], 8
call fcn.00402a3c
lea eax, [ebp - 0x34]
push eax
call fcn.00419ed4
pop ecx
mov esi, dword [ebp - 0x13c]
push edi
push eax
or eax, 0xffffffff
mov byte [ebp - 4], 0xa
call fcn.0040687d
lea esi, [ebp - 0x34]
jmp 0x423f65
cmp esi, edi
je 0x424058
push edi
mov eax, esi
call fcn.00417e46
test al, al
je 0x424058
push str.Cancel_event
lea eax, [ebp - 0xa4]
push eax
call fcn.0040525a
mov ecx, dword [ebp - 0x13c]
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 0xb
call fcn.004029a2
lea esi, [ebp - 0xa4]
xor edi, edi
push ebx
call fcn.00402a3c
push dword [ebp - 0x140]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x423f0f
cmp dword [ebp - 0x134], 2
jne 0x424068
mov ecx, 0x800000
jmp 0x42406a
xor ecx, ecx
cmp dword [ebp - 0x3c], 8
mov eax, dword [ebp - 0x50]
jae 0x424076
lea eax, [ebp - 0x50]
push ecx
push edi
push edi
push edi
push eax
push dword [ebp - 0x198]
push dword [ebp - 0x140]
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov ecx, eax
mov dword [ebp - 0x134], ecx
mov byte [ebp - 4], 0xc
cmp ecx, edi
jne 0x4240ff
push str.WinHttpOpenRequest_failed:
lea eax, [ebp - 0xa4]
push eax
call fcn.0040525a
mov ecx, dword [ebp - 0x13c]
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 0xd
call fcn.004029a2
push ebx
xor edi, edi
lea esi, [ebp - 0xa4]
mov byte [ebp - 4], 0xc
call fcn.00402a3c
lea eax, [ebp - 0x34]
push eax
call fcn.00419ed4
pop ecx
mov esi, dword [ebp - 0x13c]
push edi
push eax
or eax, 0xffffffff
mov byte [ebp - 4], 0xe
call fcn.0040687d
lea esi, [ebp - 0x34]
jmp 0x42403f
cmp dword [ebp + 0x10], edi
je 0x42410d
push dword [ebp + 0x10]
call fcn.00423a87
pop ecx
mov ecx, dword [ebp - 0x188]
lea eax, [ebp - 0x178]
push eax
call fcn.0042506c
mov ecx, dword [ebp - 0x168]
lea edx, [ebp - 0x178]
mov byte [ebp - 4], 0xf
mov eax, dword [ecx]
push edx
call dword [eax + 8]
test al, al
jne 0x424197
push str.Consumers_AddHeaders_failed.
lea eax, [ebp - 0xa4]
push eax
call fcn.0040525a
mov ecx, dword [ebp - 0x13c]
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 0x10
call fcn.004029a2
lea esi, [ebp - 0xa4]
xor edi, edi
push ebx
call fcn.00402a3c
lea esi, [ebp - 0x178]
call fcn.0041674c
push dword [ebp - 0x134]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call esi
push dword [ebp - 0x140]
call esi
jmp 0x423f0f
mov eax, dword [ebp - 0x178]
cmp eax, dword [ebp - 0x174]
je 0x424403
xor ecx, ecx
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], edi
mov word [ebp - 0x88], cx
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x144], eax
mov esi, dword [ebp - 0x144]
push 0x4f7a94
lea ebx, [ebp - 0xf8]
mov ecx, esi
call fcn.004064d5
add esi, 0x1c
push esi
lea ecx, [ebp - 0x114]
push ecx
push eax
mov byte [ebp - 4], 0x12
call fcn.004065ee
push 0x4fbff0
lea ebx, [ebp - 0x130]
mov ecx, eax
mov byte [ebp - 4], 0x13
call fcn.004064d5
push 0
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x88]
mov byte [ebp - 4], 0x14
call fcn.0040687d
push 1
xor edi, edi
mov esi, ebx
call fcn.00402a3c
push 1
lea esi, [ebp - 0x114]
call fcn.00402a3c
push 1
lea esi, [ebp - 0xf8]
mov byte [ebp - 4], 0x11
call fcn.00402a3c
add dword [ebp - 0x144], 0x38
mov eax, dword [ebp - 0x144]
cmp eax, dword [ebp - 0x174]
jne 0x4241c6
mov eax, dword [ebp - 0x78]
add eax, 0xfffffffe
lea ecx, [ebp - 0x88]
call fcn.0041191a
lea eax, [ebp - 0x234]
push eax
call fcn.004021e7
lea eax, [ebp - 0x234]
push str.Request_headers:
push eax
mov byte [ebp - 4], 0x15
call fcn.004035ab
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x88]
call fcn.00404b18
add esp, 0xc
lea edx, [ebp - 0xa4]
lea ecx, [ebp - 0x234]
call fcn.00402860
mov byte [ebp - 4], 0x16
cmp dword [ebp - 0x90], 8
mov eax, dword [ebp - 0xa4]
jae 0x4242d1
lea eax, [ebp - 0xa4]
push eax
push 4
pop ecx
call fcn.00417f5f
xor ebx, ebx
pop ecx
inc ebx
push ebx
xor edi, edi
lea esi, [ebp - 0xa4]
call fcn.00402a3c
lea ecx, [ebp - 0x1e4]
mov byte [ebp - 4], 0x11
call fcn.00402251
lea eax, [ebp - 0x1e4]
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004441d6
cmp dword [ebp - 0x74], 8
mov eax, dword [ebp - 0x88]
pop ecx
jae 0x424324
lea eax, [ebp - 0x88]
push 0x20000000
push 0xffffffffffffffff
push eax
push dword [ebp - 0x134]
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x4243ee
push str.WinHttpAddRequestHeaders_failed:
lea eax, [ebp - 0x34]
push eax
call fcn.0040525a
mov ecx, dword [ebp - 0x13c]
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0x17
call fcn.004029a2
push ebx
xor edi, edi
lea esi, [ebp - 0x34]
mov byte [ebp - 4], 0x11
call fcn.00402a3c
lea eax, [ebp - 0xdc]
push eax
call fcn.00419ed4
pop ecx
mov esi, dword [ebp - 0x13c]
push edi
push eax
or eax, 0xffffffff
mov byte [ebp - 4], 0x18
call fcn.0040687d
push ebx
lea esi, [ebp - 0xdc]
call fcn.00402a3c
push ebx
lea esi, [ebp - 0x88]
call fcn.00402a3c
lea esi, [ebp - 0x178]
call fcn.0041674c
push dword [ebp - 0x134]
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call ebx
push dword [ebp - 0x140]
call ebx
push 1
lea esi, [ebp - 0x50]
call fcn.00402a3c
push 1
lea esi, [ebp - 0x6c]
call fcn.00402a3c
push dword [ebp - 0x138]
call ebx
jmp 0x424b05
push ebx
xor edi, edi
lea esi, [ebp - 0x88]
mov byte [ebp - 4], 0xf
call fcn.00402a3c
xor ebx, ebx
inc ebx
mov eax, dword [ebp - 0x158]
cmp eax, edi
je 0x424443
push edi
call fcn.00417e46
test al, al
je 0x424443
push str.Cancel_event
lea eax, [ebp - 0x34]
push eax
call fcn.0040525a
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x13c]
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x34]
call fcn.004029a2
lea esi, [ebp - 0x34]
jmp 0x424169
mov eax, dword [ebp - 0x160]
mov edx, dword [eax]
mov esi, dword [eax + 4]
cmp edx, esi
jne 0x42445a
mov dword [ebp - 0x144], edi
jmp 0x424464
mov eax, esi
sub eax, edx
mov dword [ebp - 0x144], eax
cmp edx, esi
jne 0x42446c
xor ecx, ecx
jmp 0x424470
mov ecx, esi
sub ecx, edx
push edi
push dword [ebp - 0x144]
mov eax, edx
sub eax, esi
neg eax
push ecx
sbb eax, eax
and eax, edx
push eax
push edi
push edi
push dword [ebp - 0x134]
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x4244f5
push str.WinHttpSendRequest_failed:
lea eax, [ebp - 0x34]
push eax
call fcn.0040525a
mov ecx, dword [ebp - 0x13c]
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0x1a
call fcn.004029a2
push ebx
xor edi, edi
lea esi, [ebp - 0x34]
mov byte [ebp - 4], 0xf
call fcn.00402a3c
lea eax, [ebp - 0xdc]
push eax
call fcn.00419ed4
pop ecx
mov byte [ebp - 4], 0x1b
mov esi, dword [ebp - 0x13c]
push 0
push eax
or eax, 0xffffffff
call fcn.0040687d
lea esi, [ebp - 0xdc]
jmp 0x424169
mov eax, dword [ebp - 0x158]
cmp eax, edi
je 0x424520
push edi
call fcn.00417e46
test al, al
je 0x424520
push str.Cancel_event
lea eax, [ebp - 0x34]
push eax
call fcn.0040525a
mov byte [ebp - 4], 0x1c
jmp 0x424429
push edi
push dword [ebp - 0x134]
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x42457a
push str.WinHttpReceiveResponse_failed:
lea eax, [ebp - 0x34]
push eax
call fcn.0040525a
mov ecx, dword [ebp - 0x13c]
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0x1d
call fcn.004029a2
push ebx
xor edi, edi
lea esi, [ebp - 0x34]
mov byte [ebp - 4], 0xf
call fcn.00402a3c
lea eax, [ebp - 0xdc]
push eax
call fcn.00419ed4
pop ecx
mov byte [ebp - 4], 0x1e
jmp 0x4244d9
xor eax, eax
mov dword [ebp - 0xac], 7
mov dword [ebp - 0xb0], edi
mov word [ebp - 0xc0], ax
push dword [ebp - 0x13c]
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 0x1f
mov ecx, dword [ebp - 0x134]
push eax
call fcn.00423b04
pop ecx
pop ecx
test al, al
jne 0x4245c0
lea esi, [ebp - 0xc0]
jmp 0x424169
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x74], edi
mov ecx, dword [ebp - 0x13c]
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 0x20
push eax
lea edx, [ebp - 0xc0]
mov dword [ebp - 0x144], edi
call fcn.00424c42
pop ecx
pop ecx
test al, al
jne 0x4245ff
lea esi, [ebp - 0x7c]
call fcn.0041674c
jmp 0x4245b5
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x144]
lea eax, [ebp - 0x7c]
push eax
push esi
call fcn.004238aa
test al, al
jne 0x42464a
push str.Consumers_SetHeaders_failed.
lea eax, [ebp - 0x34]
push eax
call fcn.0040525a
mov byte [ebp - 4], 0x21
mov ecx, dword [ebp - 0x13c]
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x34]
call fcn.004029a2
push ebx
xor edi, edi
lea esi, [ebp - 0x34]
call fcn.00402a3c
jmp 0x4245f5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
test al, al
jne 0x424669
push str.Consumers_ConsumePrepare_failed.
lea eax, [ebp - 0x34]
push eax
call fcn.0040525a
mov byte [ebp - 4], 0x22
jmp 0x42462b
lea ecx, [ebp - 0x7c]
call fcn.00423c64
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x188], edx
cmp eax, edi
je 0x4246a5
push edi
call fcn.00417e46
test al, al
je 0x4246a5
push str.Cancel_event
lea eax, [ebp - 0x34]
push eax
call fcn.0040525a
mov byte [ebp - 4], 0x23
jmp 0x42462b
mov dword [ebp - 0x17c], edi
mov dword [ebp - 0x180], edi
mov dword [ebp - 0x154], edi
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x14c], edi
mov byte [ebp - 4], 0x24
mov dword [ebp - 0x164], edi
mov dword [ebp - 0x160], edi
mov ecx, dword [ebp - 0x18c]
mov eax, dword [ebp - 0x188]
mov edx, ecx
or edx, eax
je 0x4246ff
cmp dword [ebp - 0x160], eax
ja 0x42481b
jb 0x4246ff
cmp dword [ebp - 0x164], ecx
jae 0x42481b
lea eax, [ebp - 0x17c]
push eax
push dword [ebp - 0x134]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x42480d
push str.WinHttpQueryDataAvailable_failed:
lea eax, [ebp - 0x34]
push eax
call fcn.0040525a
mov ecx, dword [ebp - 0x13c]
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0x25
call fcn.004029a2
push ebx
xor edi, edi
lea esi, [ebp - 0x34]
mov byte [ebp - 4], 0x24
call fcn.00402a3c
lea eax, [ebp - 0xdc]
push eax
call fcn.00419ed4
pop ecx
mov byte [ebp - 4], 0x26
mov esi, dword [ebp - 0x13c]
push 0
push eax
or eax, 0xffffffff
call fcn.0040687d
lea esi, [ebp - 0xdc]
push ebx
xor edi, edi
call fcn.00402a3c
cmp dword [ebp - 0x154], edi
je 0x424791
push dword [ebp - 0x154]
call fcn.00445b41
pop ecx
xor eax, eax
lea esi, [ebp - 0x7c]
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x14c], eax
call fcn.0041674c
push ebx
xor edi, edi
lea esi, [ebp - 0xc0]
call fcn.00402a3c
lea esi, [ebp - 0x178]
call fcn.0041674c
cmp dword [ebp - 0x134], edi
je 0x4247da
push dword [ebp - 0x134]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp dword [ebp - 0x140], edi
je 0x4247ee
push dword [ebp - 0x140]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push ebx
xor edi, edi
lea esi, [ebp - 0x50]
call fcn.00402a3c
push ebx
lea esi, [ebp - 0x6c]
call fcn.00402a3c
cmp dword [ebp - 0x138], edi
jmp 0x424af7
mov esi, dword [ebp - 0x17c]
cmp esi, edi
jne 0x4248c6
mov ecx, dword [ebp - 0x168]
mov eax, dword [ecx]
call dword [eax + 0x14]
cmp dword [ebp - 0x154], edi
je 0x42483a
push dword [ebp - 0x154]
call fcn.00445b41
pop ecx
xor eax, eax
lea esi, [ebp - 0x7c]
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x14c], eax
call fcn.0041674c
push ebx
xor edi, edi
lea esi, [ebp - 0xc0]
call fcn.00402a3c
lea esi, [ebp - 0x178]
call fcn.0041674c
cmp dword [ebp - 0x134], edi
je 0x424883
push dword [ebp - 0x134]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp dword [ebp - 0x140], edi
je 0x424897
push dword [ebp - 0x140]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push ebx
xor edi, edi
lea esi, [ebp - 0x50]
call fcn.00402a3c
push ebx
lea esi, [ebp - 0x6c]
call fcn.00402a3c
cmp dword [ebp - 0x138], edi
je 0x4248bf
push dword [ebp - 0x138]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov al, bl
jmp 0x424b07
lea eax, [ebp - 0x154]
mov byte [ebp - 4], 0x27
call fcn.004165e6
lea eax, [ebp - 0x180]
push eax
mov dword [ebp - 4], 0x24
push dword [ebp - 0x17c]
push dword [ebp - 0x154]
push dword [ebp - 0x134]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x424948
push str.WinHttpReadData_failed:
lea eax, [ebp - 0x34]
push eax
call fcn.0040525a
mov ecx, dword [ebp - 0x13c]
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0x2a
call fcn.004029a2
push ebx
xor edi, edi
lea esi, [ebp - 0x34]
mov byte [ebp - 4], 0x24
call fcn.00402a3c
lea eax, [ebp - 0xdc]
push eax
call fcn.00419ed4
pop ecx
mov byte [ebp - 4], 0x2b
jmp 0x42475e
mov esi, dword [ebp - 0x180]
lea eax, [ebp - 0x154]
call fcn.004165e6
mov eax, dword [ebp - 0x180]
add dword [ebp - 0x164], eax
mov ecx, dword [ebp - 0x168]
mov eax, dword [ecx]
adc dword [ebp - 0x160], edi
lea edx, [ebp - 0x154]
push edx
call dword [eax + 0x10]
test al, al
jne 0x4249ad
push str.Consumers_ConsumeData_failed.
lea eax, [ebp - 0x34]
push eax
call fcn.0040525a
mov byte [ebp - 4], 0x2c
mov ecx, dword [ebp - 0x13c]
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x34]
call fcn.004029a2
lea esi, [ebp - 0x34]
jmp 0x424775
cmp dword [ebp - 0x190], edi
je 0x4249fc
mov esi, dword [ebp - 0x168]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
add eax, dword [ebp - 0x18c]
mov ecx, esi
adc edx, dword [ebp - 0x188]
push edx
push eax
mov eax, dword [esi]
call dword [eax + 4]
add eax, dword [ebp - 0x164]
adc edx, dword [ebp - 0x160]
push edx
push eax
push dword [ebp - 0x194]
call dword [ebp - 0x190]
add esp, 0x14
test al, al
je 0x42477d
cmp dword [ebp - 0x158], edi
je 0x4246d3
mov eax, dword [ebp - 0x158]
push edi
call fcn.00417e46
test al, al
je 0x4246d3
push str.Cancel_event
lea eax, [ebp - 0x34]
push eax
call fcn.0040525a
mov byte [ebp - 4], 0x2d
jmp 0x424993
je 0x424b05
push dword [ebp - 0x138]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor al, al
call fcn.0044b0f0
ret