Function at 0x410ea0
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f31fe
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x5564b0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x1c]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0xf8], edx
mov dword [ebp - 0x100], edi
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 4], 0
test ecx, ecx
jne 0x410f5c
push 0x15
push str.No_consumer_provided_
mov ecx, ebx
call fcn.0040a420
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x411c97
test al, 1
jne 0x411c97
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x411c97
lea ecx, [ebp + 0x2c]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
xor al, al
jmp 0x4119e7
mov byte [ebp - 4], 1
cmp dword [edx + 0x10], 0
setne cl
test cl, cl
jne 0x410fa4
push 0x10
xor eax, eax
push str.Invalid_argument
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], 0
mov word [ebp - 0x34], ax
call fcn.0040a420
push 0x206
mov ecx, str.srcHttpClientNSHttpAccess.cpp
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.0041f6a0
xor edx, edx
cmp dword [esi + 0x10], edx
setne cl
test cl, cl
jne 0x410fe5
xor ecx, ecx
push 0x10
mov word [ebp - 0x34], cx
push str.Invalid_argument
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], edx
call fcn.0040a420
push 0x207
mov ecx, str.srcHttpClientNSHttpAccess.cpp
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.0041f6a0
cmp edi, edx
jne 0x411052
mov dword [ebp - 0x24], edx
push 0x10
xor edx, edx
push str.Invalid_argument
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], dx
call fcn.0040a420
push 0x208
mov ecx, str.srcHttpClientNSHttpAccess.cpp
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 4
call fcn.0041f6a0
mov ecx, dword [ebp - 0x110]
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [ebp - 0xa4]
push edx
call eax
mov ecx, dword [ebp - 0xb0]
push eax
mov byte [ebp - 4], 6
call fcn.004099c0
lea ecx, [ebp - 0xa4]
call fcn.004cc710
mov eax, 0x411c88
ret
mov dword [ebp - 4], edx
mov dword [ebp - 0xb4], edx
cmp eax, edx
je 0x411065
mov dword [ebp - 0xb4], eax
lea ecx, [ebp - 0xbc]
call fcn.004149d0
mov byte [ebp - 4], 7
mov ecx, str.POST
mov eax, edi
jmp 0x411080
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4110a6
test dx, dx
je 0x4110a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4110a6
add eax, 4
add ecx, 4
test dx, dx
jne 0x411080
xor eax, eax
jmp 0x4110ab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41112d
mov edi, dword [ebp - 0x10c]
call fcn.00415050
test al, al
jne 0x41112d
push 0x1c
push str.Post_data_length_is_too_long
mov ecx, ebx
call fcn.0040a420
xor edi, edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov edx, dword [ebp - 0xc0]
lea ecx, [ebp - 0x28]
push ecx
push edx
mov ecx, 0x19d
mov byte [ebp - 4], 8
call fcn.004632f4
lea esi, [ebp - 0x28]
call fcn.00408c70
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 0
call fcn.00421e30
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x24]
cmp eax, edi
je 0x411c97
test al, 1
jne 0x411c97
and eax, 0xfffffffe
mov eax, dword [eax]
cmp eax, edi
jmp 0x410f41
mov ecx, 8
mov dword [ebx + 0x10], 0
cmp dword [ebx + 0x14], ecx
jb 0x411142
mov eax, dword [ebx]
jmp 0x411144
mov eax, ebx
xor edx, edx
mov word [eax], dx
cmp dword [esi + 0x14], ecx
jb 0x411152
mov eax, dword [esi]
jmp 0x411154
mov eax, esi
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov edi, eax
mov dword [ebp - 0xa8], edi
mov byte [ebp - 4], 9
test edi, edi
jne 0x4111f1
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xc8], esp
push 0x14
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], eax
push str.WinHttpOpen_failed:
mov word [ecx], ax
call fcn.0040a420
mov ecx, dword [ebp - 0xb4]
call fcn.00410080
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xb8]
add esp, 0x20
test eax, eax
je 0x410f20
mov edi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x410f20
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x410f20
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
jmp 0x410f20
push 0
push 0x5175cc
mov ecx, ebx
call fcn.0040a420
mov esi, dword [ebp - 0xb4]
xor eax, eax
cmp esi, eax
je 0x411243
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
mov ecx, esi
call edx
test al, al
je 0x411241
push 0xc
push str.Cancel_event
mov ecx, ebx
call fcn.0040a420
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 0
call fcn.00421e30
jmp 0x410f20
xor eax, eax
mov ecx, 7
xor edx, edx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
mov word [ebp - 0x50], dx
mov dword [ebp - 0x58], ecx
xor ecx, ecx
mov dword [ebp - 0x5c], eax
mov word [ebp - 0x6c], cx
mov ecx, dword [ebp - 0xf8]
mov byte [ebp - 4], 0xb
push ebx
lea edx, [ebp - 0xac]
push edx
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0x6c]
push eax
push ecx
lea edx, [ebp - 0xd0]
lea ecx, [ebp - 0x50]
call fcn.00418b90
add esp, 0x10
test al, al
jne 0x4112c4
test esi, esi
je 0x4112a2
push esi
call fcn.0044bf40
lea ecx, [ebp - 0x6c]
call fcn.004cc710
lea ecx, [ebp - 0x50]
call fcn.004cc710
mov edx, dword [ebp - 0xa8]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x411c79
lea eax, [ebp - 0x50]
push eax
call fcn.00410880
mov ecx, dword [ebp - 0xbc]
add esp, 4
push ecx
lea ecx, [ebp - 0x50]
call fcn.00414e70
test al, al
jne 0x4113b1
lea edx, [ebp - 0x1ac]
push edx
call fcn.00409d60
lea eax, [ebp - 0x1ac]
push str.Access_to_host
push eax
mov byte [ebp - 4], 0xc
call fcn.0040da40
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x1ac]
push edx
call fcn.0040dd00
lea eax, [ebp - 0x1ac]
push str._is_not_granted.
push eax
call fcn.00413fc0
add esp, 0x18
lea esi, [ebp - 0x34]
lea eax, [ebp - 0x1ac]
call fcn.00408e20
push 0xffffffffffffffff
xor esi, esi
push esi
lea ecx, [ebp - 0x34]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 0xd
call fcn.00409a40
lea ecx, [ebp - 0x34]
call fcn.004cc710
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 4], 0xb
call fcn.00408480
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0xc0]
lea edx, [ebp - 0x28]
push edx
push eax
mov ecx, 0x191
mov byte [ebp - 4], 0xe
call fcn.004632f4
lea esi, [ebp - 0x28]
call fcn.00408c70
lea ecx, [ebp - 0x6c]
call fcn.004cc710
lea ecx, [ebp - 0x50]
call fcn.004cc710
mov ecx, dword [ebp - 0xa8]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x411c79
mov esi, dword [ebp - 0xb4]
mov edi, ebx
call fcn.00410040
test al, al
jne 0x4112a2
cmp dword [ebp - 0x3c], 8
mov eax, dword [ebp - 0x50]
jae 0x4113d2
lea eax, [ebp - 0x50]
mov ecx, dword [ebp - 0xac]
mov edi, dword [ebp - 0xa8]
push 0
push ecx
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 0xf
test eax, eax
jne 0x411437
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xc8], esp
push str.WinHttpConnect_failed:
call fcn.004086f0
mov ecx, dword [ebp - 0xb4]
call fcn.00410080
add esp, 0x20
lea ecx, [ebp - 0x6c]
call fcn.004cc710
lea ecx, [ebp - 0x50]
call fcn.004cc710
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x411c79
mov esi, dword [ebp - 0xb4]
mov edi, ebx
call fcn.00410040
test al, al
je 0x411472
mov edx, dword [ebp - 0xac]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push edx
call esi
lea ecx, [ebp - 0x6c]
call fcn.004cc710
lea ecx, [ebp - 0x50]
call fcn.004cc710
mov eax, dword [ebp - 0xa8]
jmp 0x411c76
cmp dword [ebp - 0x58], 8
mov eax, dword [ebp - 0x6c]
jae 0x41147e
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 0x100]
mov edi, dword [ebp - 0xac]
xor ecx, ecx
cmp dword [ebp - 0xd0], 2
setne cl
dec ecx
and ecx, 0x800000
push ecx
push 0
push 0
push 0
push eax
push edx
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov ebx, eax
mov dword [ebp - 0x100], ebx
mov byte [ebp - 4], 0x10
test ebx, ebx
jne 0x41150c
mov eax, dword [ebp - 0xb0]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xc8], esp
push str.WinHttpOpenRequest_failed:
call fcn.004086f0
mov ecx, dword [ebp - 0xb4]
call fcn.00410080
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
add esp, 0x20
push edi
call esi
lea ecx, [ebp - 0x6c]
call fcn.004cc710
lea ecx, [ebp - 0x50]
call fcn.004cc710
mov ecx, dword [ebp - 0xa8]
push ecx
jmp 0x411c77
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x41151e
push eax
mov ecx, ebx
call fcn.0040f990
add esp, 4
mov edx, dword [ebp - 0xc8]
push edx
lea eax, [ebp - 0xe0]
push eax
call fcn.00412710
mov ecx, dword [ebp - 0xc0]
mov byte [ebp - 4], 0x11
mov edx, dword [ecx]
mov edx, dword [edx + 8]
lea eax, [ebp - 0xe0]
push eax
call edx
test al, al
jne 0x411577
mov ecx, dword [ebp - 0xb0]
push str.Consumers_AddHeaders_failed.
call fcn.00412620
lea esi, [ebp - 0xe0]
call fcn.00408c70
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push ebx
call esi
push edi
jmp 0x411455
lea ecx, [ebp - 0xe0]
push ecx
mov ecx, dword [ebp - 0xb0]
mov edx, ebx
call fcn.0040fd50
add esp, 4
test al, al
jne 0x4115c5
lea esi, [ebp - 0xe0]
call fcn.00408c70
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push ebx
call esi
push edi
call esi
lea ecx, [ebp - 0x6c]
call fcn.004cc710
lea ecx, [ebp - 0x50]
call fcn.004cc710
mov edx, dword [ebp - 0xa8]
push edx
jmp 0x411c77
mov edi, dword [ebp - 0xb0]
mov esi, dword [ebp - 0xb4]
call fcn.00410040
test al, al
je 0x4115fa
lea esi, [ebp - 0xe0]
call fcn.00408c70
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push ebx
call esi
mov eax, dword [ebp - 0xac]
push eax
jmp 0x4114ee
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xd0], 0x1388
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
cmp ecx, edx
jne 0x411621
xor edi, edi
jmp 0x411625
mov edi, edx
sub edi, ecx
cmp ecx, edx
jne 0x41162d
xor esi, esi
jmp 0x411631
mov esi, edx
sub esi, ecx
push 0
mov eax, ecx
sub eax, edx
push edi
neg eax
push esi
sbb eax, eax
and eax, ecx
push eax
push 0
push 0
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x411c01
mov edi, dword [ebp - 0xb0]
mov esi, dword [ebp - 0xb4]
call fcn.00410040
test al, al
jne 0x411c37
xor edi, edi
push edi
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x4116e2
mov edx, dword [ebp - 0xb0]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xc8], esp
push str.WinHttpReceiveResponse_failed:
call fcn.004086f0
mov ecx, esi
call fcn.00410080
add esp, 0x20
lea esi, [ebp - 0xe0]
call fcn.00408c70
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp ebx, edi
je 0x4116b8
push ebx
call esi
mov eax, dword [ebp - 0xac]
cmp eax, edi
je 0x4116c5
push eax
call esi
lea ecx, [ebp - 0x6c]
call fcn.004cc710
lea ecx, [ebp - 0x50]
call fcn.004cc710
mov eax, dword [ebp - 0xa8]
cmp eax, edi
jmp 0x411c74
xor eax, eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], edi
mov word [ebp - 0x88], ax
mov esi, dword [ebp - 0xb0]
push esi
lea edx, [ebp - 0x88]
mov ecx, ebx
mov byte [ebp - 4], 0x12
call fcn.0040fa40
add esp, 4
test al, al
jne 0x411724
lea ecx, [ebp - 0x88]
call fcn.004cc710
jmp 0x4116a0
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
lea ecx, [ebp - 0xd0]
push ecx
lea edx, [ebp - 0x88]
push edx
mov byte [ebp - 4], 0x13
mov ecx, esi
lea edx, [ebp - 0x28]
mov dword [ebp - 0xd0], edi
call fcn.00412090
add esp, 8
test al, al
jne 0x41176e
lea esi, [ebp - 0x28]
call fcn.00408c70
lea ecx, [ebp - 0x88]
call fcn.004cc710
jmp 0x4116a0
mov edi, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xd0]
lea eax, [ebp - 0x28]
push eax
push edi
call fcn.004632f4
test al, al
jne 0x4117ac
push str.Consumers_SetHeaders_failed.
mov ecx, esi
call fcn.00412620
lea esi, [ebp - 0x28]
call fcn.00408c70
lea ecx, [ebp - 0x88]
call fcn.004cc710
jmp 0x411c37
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
test al, al
jne 0x4117c0
push str.Consumers_ConsumePrepare_failed.
jmp 0x41178d
lea ecx, [ebp - 0x28]
call fcn.0040fc00
mov edi, dword [ebp - 0xb0]
mov esi, dword [ebp - 0xb4]
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf8], edx
call fcn.00410040
test al, al
je 0x4117f8
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
jmp 0x411794
xor eax, eax
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x108], eax
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xe8], eax
mov byte [ebp - 4], 0x14
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xb4]
test eax, eax
je 0x411838
push eax
call fcn.0044be50
mov edi, dword [ebp - 0xf8]
mov esi, dword [ebp - 0xfc]
test edi, edi
jne 0x41184c
test esi, esi
je 0x411866
cmp dword [ebp - 0xc8], edi
ja 0x41195a
jb 0x411866
cmp dword [ebp - 0xcc], esi
jae 0x41195a
lea ecx, [ebp - 0x104]
push ecx
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x4118bf
mov edx, dword [ebp - 0xb0]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xc8], esp
push str.WinHttpQueryDataAvailable_failed:
call fcn.004086f0
mov ecx, dword [ebp - 0xb4]
call fcn.00410080
add esp, 0x20
mov ecx, dword [ebp - 0xc0]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
lea esi, [ebp - 0xf0]
call fcn.00408cb0
jmp 0x411794
mov eax, dword [ebp - 0x104]
test eax, eax
jne 0x411a03
test edi, edi
jne 0x4118d9
test esi, esi
je 0x41195a
push 0x2efe
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0xb0]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xc8], esp
push str.WinHttpQueryDataAvailable_returns_size_0:
call fcn.004086f0
mov ecx, dword [ebp - 0xb4]
call fcn.00410080
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
add esp, 0x20
call eax
push str.Query_data_return_size_0
lea ecx, [ebp - 0xa4]
call fcn.004086f0
push 1
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x15
call fcn.004182c0
add esp, 4
lea ecx, [ebp - 0xa4]
call fcn.004cc710
lea esi, [ebp - 0xf0]
call fcn.00408cb0
jmp 0x411794
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
lea esi, [ebp - 0xf0]
call fcn.00408cb0
lea esi, [ebp - 0x28]
call fcn.00408c70
lea ecx, [ebp - 0x88]
call fcn.004cc710
lea esi, [ebp - 0xe0]
call fcn.00408c70
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test ebx, ebx
je 0x41199d
push ebx
call esi
mov eax, dword [ebp - 0xac]
test eax, eax
je 0x4119aa
push eax
call esi
lea ecx, [ebp - 0x6c]
call fcn.004cc710
lea ecx, [ebp - 0x50]
call fcn.004cc710
mov eax, dword [ebp - 0xa8]
test eax, eax
je 0x4119c7
push eax
call esi
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 0
call fcn.00421e30
lea esi, [ebp + 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00407e70
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0049ab39
mov esp, ebp
pop ebp
ret
lea esi, [ebp - 0xf0]
mov byte [ebp - 4], 0x16
call fcn.004128f0
mov edi, dword [ebp - 0xb0]
mov esi, dword [ebp - 0xb4]
mov dword [ebp - 4], 0x14
call fcn.00410040
test al, al
je 0x411a4b
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
lea esi, [ebp - 0xf0]
call fcn.00408cb0
jmp 0x411794
mov edx, dword [ebp - 0x104]
mov eax, dword [ebp - 0xf0]
lea ecx, [ebp - 0x108]
push ecx
push edx
push eax
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x411a93
mov ecx, edi
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xc8], esp
push str.WinHttpReadData_failed:
call fcn.004086f0
mov ecx, dword [ebp - 0xb4]
call fcn.00410080
add esp, 0x20
jmp 0x411a2e
mov ecx, dword [ebp - 0xec]
sub ecx, dword [ebp - 0xf0]
mov eax, dword [ebp - 0x108]
cmp ecx, eax
je 0x411aba
push str.Error_of_reading_http_data:_size_does_not_match_read_data_buffer.
mov ecx, edi
call fcn.00412620
jmp 0x411a2e
lea esi, [ebp - 0xf0]
call fcn.004128f0
mov ecx, dword [ebp - 0x108]
add dword [ebp - 0xcc], ecx
mov esi, dword [ebp - 0xb4]
adc dword [ebp - 0xc8], 0
call fcn.00410040
test al, al
jne 0x411a2e
mov esi, dword [ebp - 0xc0]
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
lea eax, [ebp - 0xf0]
push eax
mov ecx, esi
call edx
test al, al
jne 0x411b2a
push str.Consumers_ConsumeData_failed.
mov ecx, edi
call fcn.00412620
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
mov ecx, esi
call edx
lea esi, [ebp - 0xf0]
call fcn.00408cb0
jmp 0x411794
cmp dword [ebp + 0x24], 0
je 0x411b83
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
add eax, dword [ebp - 0xfc]
mov ecx, esi
adc edx, dword [ebp - 0xf8]
push edx
push eax
mov eax, dword [esi]
mov edx, dword [eax + 4]
call edx
add eax, dword [ebp - 0xcc]
lea ecx, [ebp + 0x24]
adc edx, dword [ebp - 0xc8]
push edx
push eax
call fcn.00412950
test al, al
jne 0x411b83
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
mov ecx, esi
call edx
lea esi, [ebp - 0xf0]
call fcn.00408cb0
jmp 0x411794
mov esi, dword [ebp - 0xb4]
call fcn.00410040
test al, al
je 0x411828
jmp 0x4118a2
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xf8], esp
push str.WinHttpSendRequest__
lea esi, [ebp - 0xc8]
call fcn.004086f0
mov eax, dword [ebp - 0xb4]
mov edx, dword [ebp - 0xb0]
push eax
mov ecx, esi
call fcn.00410230
add esp, 0x20
test al, al
jne 0x411c9e
lea esi, [ebp - 0xe0]
call fcn.00408c70
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test ebx, ebx
je 0x411c4f
push ebx
call esi
mov eax, dword [ebp - 0xac]
test eax, eax
je 0x411c5c
push eax
call esi
lea ecx, [ebp - 0x6c]
call fcn.004cc710
lea ecx, [ebp - 0x50]
call fcn.004cc710
mov eax, dword [ebp - 0xa8]
test eax, eax
je 0x411c79
push eax
call esi
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 0
call fcn.00421e30
lea esi, [ebp + 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00407e70
xor al, al
jmp 0x4119e7
mov esi, dword [ebp - 0xd0]
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esi + esi]
mov dword [ebp - 0xd0], ecx
jmp 0x41160e