Function at 0x10097dee
Capabilities:
Check http status code
Read http header
Receive http response
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016f0b9
mov eax, dword fs:[0]
push eax
sub esp, 0x5cc
mov eax, dword [0x1020f334]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
push ecx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x5d8]
push dword [edi + 0x14]
mov dword [ebp - 0x444], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x4a0], edi
mov dword [ebp - 0x460], esi
mov dword [ebp - 0x474], eax
call fcn.1004fc91
mov byte [ebp - 4], 1
call fcn.10046d10
test eax, eax
jns 0x10097e75
mov dword [esi], 5
mov dword [esi + 0x10], 0x288765c
jmp 0x10098d78
lea eax, [ebp - 0x5d8]
push eax
lea ecx, [ebp - 0x40]
call fcn.10095bb3
lea ecx, [edi + 0x1c]
cmp dword [ecx + 0x14], 8
jb 0x10097e8f
mov ecx, dword [ecx]
push eax
lea eax, [ebp - 0x49c]
mov dword [ebp - 0x494], ecx
push eax
lea eax, [ebp - 0x4b4]
mov dword [ebp - 0x498], str.RequestId
xor ecx, ecx
mov dword [ebp - 0x49c], 0x101971c0
push eax
push str._HttpWin__sendInternal
mov word [ebp - 0x490], cx
mov word [ebp - 0x4a8], cx
mov ecx, 0x5c80a0
push 0x64
mov dword [ebp - 0x4b0], str.Message
mov dword [ebp - 0x4ac], str.Sending_request_for_Url.
mov dword [ebp - 0x4b4], 0x101971c0
call fcn.1009beee
lea ecx, [ebp - 0x38]
call fcn.1000860f
cmp byte [edi + 0x12], 0
je 0x10097f1d
push str._HttpWin__sendInternal:_request_already_aborted
push 0xf
mov edx, 0x33f
mov ecx, 0x597058
call fcn.1003211b
pop ecx
pop ecx
cmp byte [edi + 0x11], 0
je 0x10097f3b
push str._HttpWin__sendInternal:_request_already_sent
push 0xf
mov edx, 0x33f
mov ecx, 0x597059
call fcn.1003211b
pop ecx
pop ecx
cmp byte [edi + 0x10], 0
jne 0x10097f59
push str._HttpWin__sendInternal:_request_not_open
push 0xf
mov edx, 0x33f
mov ecx, 0x59705a
call fcn.1003211b
pop ecx
pop ecx
cmp byte [edi + 0x11], 0
jne 0x10098d6b
cmp byte [edi + 0x10], 0
je 0x10098d6b
cmp byte [edi + 0x12], 0
jne 0x10098d6b
mov bh, bl
mov dword [ebp - 0x44], 7
xor ecx, ecx
mov byte [ebp - 0x43a], bh
and dword [ebp - 0x48], ecx
xor eax, eax
xor bl, bl
mov dword [ebp - 0x434], ecx
mov word [ebp - 0x58], ax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.1009905d
lea eax, [edi + 0xc8]
mov ecx, eax
call fcn.100a1181
mov ecx, dword [ebp + 0x14]
test ecx, ecx
setne al
mov byte [edi + 0x108], al
test bh, bh
jne 0x10098794
push ecx
lea eax, [edi + 0xa8]
push eax
lea ecx, [ebp - 0x588]
call fcn.1002c9e0
xor ecx, ecx
cmp dword [edi + 0x34], ecx
jne 0x1009800c
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
lea ecx, [ebp - 0x588]
mov dword [esi + 0x10], 0x288765e
mov dword [esi], 6
call fcn.1002c9bd
lea ecx, [ebp - 0x58]
call fcn.1000860f
jmp 0x10098d7e
mov eax, dword [ebp + 0x14]
or dword [edi + 0x60], 0xffffffff
or dword [edi + 0x64], 0xffffffff
push ecx
push eax
push eax
push dword [ebp - 0x474]
mov dword [edi + 0x68], ecx
push ecx
push ecx
mov dword [edi + 0x6c], ecx
push dword [edi + 0x34]
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
setne bl
test eax, eax
je 0x10098077
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x4c8]
add dword [edi + 0x68], eax
lea eax, [edi + 0x50]
push eax
call fcn.10030b61
mov eax, dword [ebp - 0x4c8]
mov ecx, dword [ebp + 0x14]
add dword [eax + 0x10], ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x4c4]
test ecx, ecx
je 0x1009806e
call fcn.10031696
mov byte [ebp - 4], 2
jmp 0x10098103
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x434], eax
lea ecx, [ebp - 0x7c]
lea eax, [ebp - 0x5d8]
push eax
call fcn.10095bb3
mov ecx, dword [ebp - 0x434]
mov dword [ebp - 0x4e4], ecx
xor ecx, ecx
mov word [ebp - 0x4e0], cx
mov word [ebp - 0x4f0], cx
lea ecx, [ebp - 0x4ec]
push ecx
push eax
lea eax, [ebp - 0x4fc]
mov dword [ebp - 0x4e8], str.SH_ErrorCode
push eax
push ecx
push ecx
mov ecx, 0x105539d
mov dword [ebp - 0x4ec], 0x1019a90c
mov dword [ebp - 0x4f8], str.Message
mov dword [ebp - 0x4f4], str.WinHttpSendRequest_failed
mov dword [ebp - 0x4fc], 0x101971c0
call fcn.1009c2a7
lea ecx, [ebp - 0x74]
call fcn.1000860f
lea ecx, [ebp - 0x588]
call fcn.1002c9bd
test bl, bl
je 0x100985c0
mov ecx, dword [ebp - 0x444]
test ecx, ecx
je 0x1009847a
cmp dword [ebp + 0x14], 0
jbe 0x1009847a
xor ebx, ebx
mov byte [ebp - 4], 4
mov eax, dword [ecx]
push ebx
push ebx
push ebx
push ebx
push ecx
call dword [eax + 0x14]
test eax, eax
jns 0x100981c1
mov ecx, dword [0x10219958]
mov dword [ebp - 0x504], eax
xor eax, eax
mov dword [ebp - 0x508], str.HRESULT
mov word [ebp - 0x500], ax
mov dword [ebp - 0x50c], 0x101c0c98
test ecx, ecx
je 0x100981c1
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
je 0x100981c1
lea eax, [ebp - 0x50c]
mov dword [ebp - 0x4dc], 0x101971a0
mov dword [ebp - 0x438], eax
mov edx, 0x33f
lea eax, [ebp - 0x438]
mov ecx, 0x1214688
mov dword [ebp - 0x4d8], eax
lea eax, [ebp - 0x434]
mov dword [ebp - 0x4d4], eax
lea eax, [ebp - 0x4dc]
push eax
push str.HttpWin_sendInternal:_MsoRewindStream_failed
push 0xf
call fcn.1003246c
mov dword [ebp - 0x48c], ebx
mov dword [ebp - 0x488], ebx
mov dword [ebp - 0x484], ebx
mov ebx, dword [ebp + 0x14]
mov ecx, 0x2000
mov eax, ecx
mov byte [ebp - 4], 5
cmp ebx, ecx
lea ecx, [ebp - 0x48c]
push ecx
cmovb eax, ebx
push eax
call fcn.10029f2b
mov eax, ebx
mov dword [ebp - 0x438], ebx
mov edx, 0x2000
lea ebx, [ebp - 0x440]
cmp eax, edx
mov ecx, edx
mov edx, dword [ebp - 0x444]
push ebx
cmovb ecx, eax
push ecx
push dword [ebp - 0x48c]
mov eax, dword [edx]
push edx
call dword [eax + 0xc]
test eax, eax
setns bl
test eax, eax
js 0x100983b6
cmp dword [ebp - 0x440], 0
je 0x100983b6
mov eax, dword [ebp - 0x438]
sub eax, dword [ebp - 0x440]
mov dword [ebp - 0x438], eax
lea eax, [edi + 0xa8]
push ecx
push eax
lea ecx, [ebp - 0x4b0]
call fcn.1002c9e0
cmp dword [edi + 0x34], 0
jne 0x10098296
and dword [esi + 8], 0
lea ecx, [ebp - 0x4b0]
and dword [esi + 0xc], 0
mov dword [esi], 6
mov dword [esi + 0x10], 0x288765f
call fcn.1002c9bd
lea ecx, [ebp - 0x48c]
call fcn.10028a1c
jmp 0x10097fff
lea eax, [ebp - 0x448]
push eax
push dword [ebp - 0x440]
push dword [ebp - 0x48c]
push dword [edi + 0x34]
call dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
test eax, eax
setne bl
test eax, eax
je 0x100982f9
mov eax, dword [ebp - 0x448]
lea ecx, [ebp - 0x4d0]
add dword [edi + 0x68], eax
lea eax, [edi + 0x50]
push eax
call fcn.10030b61
mov ecx, dword [ebp - 0x4d0]
mov eax, dword [ebp - 0x448]
add dword [ecx + 0x10], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x4cc]
test ecx, ecx
je 0x100982f5
call fcn.10031696
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4b0]
call fcn.1002c9bd
test bl, bl
je 0x1009832b
mov eax, dword [ebp - 0x440]
cmp eax, dword [ebp - 0x448]
jne 0x1009832b
mov eax, dword [ebp - 0x438]
mov bl, 1
test eax, eax
jne 0x100981fb
jmp 0x10098465
xor bl, bl
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x434], eax
lea ecx, [ebp - 0x7c]
lea eax, [ebp - 0x5d8]
push eax
call fcn.10095bb3
mov ecx, dword [ebp - 0x434]
mov dword [ebp - 0x514], ecx
xor ecx, ecx
mov word [ebp - 0x510], cx
mov word [ebp - 0x520], cx
lea ecx, [ebp - 0x51c]
push ecx
push eax
lea eax, [ebp - 0x52c]
mov dword [ebp - 0x518], str.SH_ErrorCode
push eax
push ecx
push ecx
mov ecx, 0x8c80d0
mov dword [ebp - 0x51c], 0x1019a90c
mov dword [ebp - 0x528], str.Message
mov dword [ebp - 0x524], str.WinHttpWriteData_failed
mov dword [ebp - 0x52c], 0x101971c0
call fcn.1009c2a7
jmp 0x1009845d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x434], eax
lea ecx, [ebp - 0x7c]
lea eax, [ebp - 0x5d8]
push eax
call fcn.10095bb3
mov ecx, dword [ebp - 0x434]
mov dword [ebp - 0x534], ecx
xor ecx, ecx
mov word [ebp - 0x530], cx
mov word [ebp - 0x4b6], cx
mov word [ebp - 0x540], cx
lea ecx, [ebp - 0x53c]
push ecx
lea ecx, [ebp - 0x4c0]
mov dword [ebp - 0x538], str.SH_ErrorCode
push ecx
push eax
lea eax, [ebp - 0x54c]
mov dword [ebp - 0x53c], 0x1019a90c
push eax
push ecx
push ecx
mov dword [ebp - 0x4c0], 0x1019a8fc
mov dword [ebp - 0x4bc], str.fSuccess
mov byte [ebp - 0x4b8], bl
mov dword [ebp - 0x548], str.Message
mov dword [ebp - 0x544], str.Failed_to_read_bytes_from_the_stream_into_a_temporary_buffer
mov dword [ebp - 0x54c], 0x101971c0
call fcn.1009c32c
lea ecx, [ebp - 0x74]
call fcn.1000860f
lea ecx, [ebp - 0x48c]
mov byte [ebp - 4], 2
call fcn.10028a1c
mov bh, byte [ebp - 0x43a]
test bl, bl
je 0x100985c0
push ecx
lea eax, [edi + 0xa8]
push eax
lea ecx, [ebp - 0x498]
call fcn.1002c9e0
xor eax, eax
cmp dword [edi + 0x34], eax
jne 0x100984b4
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0x2887660
lea ecx, [ebp - 0x498]
jmp 0x10097ff4
lea eax, [edi + 0x50]
push eax
lea ecx, [ebp - 0x480]
call fcn.10030b61
mov ecx, dword [ebp - 0x480]
call fcn.100a1b48
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x47c]
test ecx, ecx
je 0x100984e1
call fcn.10031696
push 0
mov byte [ebp - 4], 2
push dword [edi + 0x34]
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
setne bl
test eax, eax
je 0x10098521
push 1
lea eax, [ebp - 0x439]
mov byte [ebp - 0x439], 9
push eax
lea ecx, [edi + 0xc8]
call fcn.100a11b2
lea ecx, [edi + 0x58]
call fcn.1009b6c0
jmp 0x100985ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x434], eax
lea ecx, [ebp - 0x7c]
lea eax, [ebp - 0x5d8]
push eax
call fcn.10095bb3
mov ecx, dword [ebp - 0x434]
mov dword [ebp - 0x554], ecx
xor ecx, ecx
mov word [ebp - 0x550], cx
mov word [ebp - 0x560], cx
lea ecx, [ebp - 0x55c]
push ecx
push eax
lea eax, [ebp - 0x56c]
mov dword [ebp - 0x558], str.SH_ErrorCode
push eax
push ecx
push ecx
mov ecx, 0x8c80d1
mov dword [ebp - 0x55c], 0x1019a90c
mov dword [ebp - 0x568], str.Message
mov dword [ebp - 0x564], str.WinHttpReceiveResponse_failed
mov dword [ebp - 0x56c], 0x101971c0
call fcn.1009c2a7
lea ecx, [ebp - 0x74]
call fcn.1000860f
lea ecx, [ebp - 0x498]
call fcn.1002c9bd
test bl, bl
jne 0x100986ab
mov eax, dword [ebp - 0x434]
cmp eax, 0x2f00
je 0x10097fbf
test bl, bl
jne 0x100986ab
mov ecx, eax
call fcn.100a0fb3
test al, al
je 0x100986ab
lea ecx, [edi + 8]
call fcn.1005e0f4
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x28]
test al, al
je 0x100986ab
lea eax, [ebp - 0x5d8]
push eax
lea ecx, [ebp - 0xa0]
call fcn.10095bb3
push ecx
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x438], eax
call fcn.10095a34
lea ecx, [edi + 0x1c]
cmp dword [ecx + 0x14], 8
jb 0x1009862f
mov ecx, dword [ecx]
push dword [ebp - 0x438]
mov dword [ebp - 0x574], ecx
xor ecx, ecx
mov word [ebp - 0x570], cx
mov word [ebp - 0x464], cx
lea ecx, [ebp - 0x57c]
push ecx
push eax
lea eax, [ebp - 0x470]
mov dword [ebp - 0x578], str.RequestId
push eax
push ecx
push ecx
mov dword [ebp - 0x57c], 0x101971c0
mov dword [ebp - 0x46c], str.Message
mov dword [ebp - 0x468], str.There_was_a_proxy_error._Retrying_the_request_with_a_new_proxy.
mov dword [ebp - 0x470], 0x101971c0
call fcn.1009c3bb
lea ecx, [ebp - 0x74]
call fcn.1000860f
lea ecx, [ebp - 0x98]
call fcn.1000860f
jmp 0x10097fbf
call fcn.1009f565
test al, al
je 0x10098787
cmp byte [edi + 0x4d], 0
je 0x10098787
test bl, bl
jne 0x10098787
xor ecx, ecx
mov dword [ebp - 0x45c], 4
push ecx
lea eax, [ebp - 0x45c]
mov dword [ebp - 0x438], ecx
push eax
lea eax, [ebp - 0x438]
push eax
push ecx
push 0x20000013
push dword [edi + 0x34]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x10098787
cmp dword [ebp - 0x438], 0x191
jne 0x10098787
lea eax, [edi + 0x1c]
cmp dword [eax + 0x14], 8
jb 0x10098719
mov eax, dword [eax]
mov dword [ebp - 0x450], eax
mov ecx, 0x2887661
xor eax, eax
mov dword [ebp - 0x454], str.RequestId
mov word [ebp - 0x44c], ax
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x458], 0x101971c0
push eax
push str._HttpWin__sendInternal
push 0x64
mov dword [ebp - 0x28], str.Message
mov dword [ebp - 0x24], str.Got_401_response_with_Negotiate_AuthScheme.__Retrying_the_request_with_NTLM.
mov dword [ebp - 0x2c], 0x101971c0
call fcn.1009bff5
push dword [edi + 0x14]
mov ecx, edi
push dword [edi + 0x34]
call fcn.10096ab6
mov byte [edi + 0x4d], 0
jmp 0x10097fbf
mov bh, 1
mov byte [ebp - 0x43a], bh
jmp 0x10097fbf
test bl, bl
je 0x100987b3
push 1
lea eax, [ebp - 0x439]
mov byte [ebp - 0x439], 0xa
push eax
lea ecx, [edi + 0xc8]
call fcn.100a11b2
mov ecx, edi
mov byte [edi + 0x11], bl
call fcn.10096df7
xor ebx, ebx
xorps xmm0, xmm0
and dword [ebp - 0x448], ebx
mov dword [ebp - 0x438], ebx
movlpd qword [ebp - 0x480], xmm0
cmp byte [edi + 0x11], bl
jne 0x1009898a
mov eax, dword [ebp - 0x434]
test eax, eax
jne 0x100987f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x434], eax
movzx edx, ax
lea ecx, [ebp - 0x38]
or edx, 0x80070000
test eax, eax
push 0x2887662
cmovle edx, eax
call fcn.100964d7
mov ecx, dword [ebp - 0x30]
lea ebx, [edi + 0x1c]
mov eax, dword [ebp - 0x38]
test eax, eax
mov dword [ebp - 0x444], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x440], ecx
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x438], eax
lea eax, [ebp - 0x5d8]
mov dword [ebp - 0x448], ecx
lea ecx, [ebp - 0xa0]
push eax
jne 0x100988e2
call fcn.10095bb3
cmp dword [ebx + 0x14], 8
jb 0x10098859
mov ebx, dword [ebx]
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x28], str.RequestId
push eax
lea eax, [ebp - 0x458]
mov dword [ebp - 0x24], ebx
xor ecx, ecx
mov dword [ebp - 0x2c], 0x101971c0
push eax
push str._HttpWin__sendInternal
mov word [ebp - 0x20], cx
mov word [ebp - 0x44c], cx
mov ecx, 0x8c80d3
push 0xf
mov dword [ebp - 0x454], str.Message
mov dword [ebp - 0x450], str.The_request_failed_to_send__but_GetLastError_returned_Result::OK_
mov dword [ebp - 0x458], 0x101971c0
call fcn.1009beee
lea ecx, [ebp - 0x98]
call fcn.1000860f
and dword [ebp - 0x440], 0
xor ebx, ebx
mov ecx, dword [ebp - 0x434]
inc ebx
mov dword [ebp - 0x438], ebx
mov dword [ebp - 0x448], 0x2887663
jmp 0x1009899c
call fcn.10095bb3
mov ecx, dword [ebp - 0x434]
mov dword [ebp - 0x24], ecx
xor ecx, ecx
cmp dword [ebx + 0x14], 8
mov dword [ebp - 0x28], str.SH_ErrorCode
mov word [ebp - 0x20], cx
mov dword [ebp - 0x2c], 0x1019a90c
jb 0x1009890c
mov ebx, dword [ebx]
xor ecx, ecx
mov dword [ebp - 0x454], str.RequestId
mov word [ebp - 0x44c], cx
mov word [ebp - 0x464], cx
lea ecx, [ebp - 0x2c]
push ecx
push eax
lea eax, [ebp - 0x458]
mov dword [ebp - 0x450], ebx
push eax
lea eax, [ebp - 0x470]
mov dword [ebp - 0x458], 0x101971c0
push eax
push str._HttpWin__sendInternal
push ecx
mov ecx, 0x5c80a2
mov dword [ebp - 0x46c], str.Message
mov dword [ebp - 0x468], str.Failed_to_send_request.
mov dword [ebp - 0x470], 0x101971c0
call fcn.1009c44a
lea ecx, [ebp - 0x98]
call fcn.1000860f
mov ebx, dword [ebp - 0x438]
jmp 0x100989a2
mov ecx, dword [ebp - 0x47c]
mov dword [ebp - 0x440], ecx
mov ecx, dword [ebp - 0x480]
mov dword [ebp - 0x444], ecx
mov al, byte [edi + 0x11]
test al, al
je 0x10098a8d
mov eax, dword [edi]
lea ecx, [ebp - 0x45c]
push ecx
lea ecx, [ebp - 0x38]
push ecx
mov ecx, edi
call dword [eax + 0x28]
lea eax, [ebp - 0x5d8]
push eax
lea ecx, [ebp - 0xa0]
call fcn.10095bb3
mov ecx, dword [ebp - 0x45c]
mov dword [ebp - 0x24], ecx
xor ecx, ecx
mov word [ebp - 0x20], cx
lea ecx, [edi + 0x1c]
cmp dword [ecx + 0x14], 8
mov dword [ebp - 0x28], 0x101a3778
mov dword [ebp - 0x2c], 0x1019a90c
jb 0x100989f9
mov ecx, dword [ecx]
mov dword [ebp - 0x450], ecx
xor ecx, ecx
mov word [ebp - 0x44c], cx
mov word [ebp - 0x464], cx
lea ecx, [ebp - 0x2c]
push ecx
push eax
lea eax, [ebp - 0x458]
mov dword [ebp - 0x454], str.RequestId
push eax
lea eax, [ebp - 0x470]
mov dword [ebp - 0x458], 0x101971c0
push eax
push ecx
push ecx
mov dword [ebp - 0x46c], str.Message
mov dword [ebp - 0x468], str.Request_for_Url_is_sent.
mov dword [ebp - 0x470], 0x101971c0
call fcn.1009c4d3
lea ecx, [ebp - 0x98]
call fcn.1000860f
mov al, byte [edi + 0x11]
test al, al
je 0x10098a8d
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x58]
test eax, eax
je 0x10098a8d
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x58]
push edi
push dword [edi + 0x14]
mov ecx, eax
mov edx, dword [eax]
push dword [edi + 0x18]
call dword [edx + 0x14]
cmp ebx, 7
jne 0x10098c00
and dword [ebp - 0x434], 0
lea eax, [edi + 0xa8]
push ecx
push eax
lea ecx, [ebp - 0x498]
call fcn.1002c9e0
cmp dword [edi + 0x34], 0
jne 0x10098aca
and dword [esi + 8], 0
and dword [esi + 0xc], 0
mov dword [esi + 0x10], 0x2887680
jmp 0x100984a9
lea eax, [ebp - 0x45c]
mov dword [ebp - 0x45c], 4
push eax
lea eax, [ebp - 0x434]
push eax
push 0x4e
push dword [edi + 0x34]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryOption]
test eax, eax
jne 0x10098bb0
lea eax, [ebp - 0x5d8]
push eax
lea ecx, [ebp - 0xa0]
call fcn.10095bb3
mov dword [ebp - 0x474], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
lea ecx, [edi + 0x1c]
xor eax, eax
mov dword [ebp - 0x28], str.SH_ErrorCode
cmp dword [ecx + 0x14], 8
mov word [ebp - 0x20], ax
mov dword [ebp - 0x2c], 0x1019a90c
jb 0x10098b35
mov ecx, dword [ecx]
xor eax, eax
mov dword [ebp - 0x450], ecx
mov word [ebp - 0x44c], ax
mov word [ebp - 0x464], ax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x474]
lea eax, [ebp - 0x458]
mov dword [ebp - 0x454], str.RequestId
push eax
lea eax, [ebp - 0x470]
mov dword [ebp - 0x458], 0x101971c0
push eax
push str._HttpWin__sendInternal
push ecx
mov ecx, 0x1141443
mov dword [ebp - 0x46c], str.Message
mov dword [ebp - 0x468], str.An_error_occurred_while_querying_for_the_Server_Certification_Context.
mov dword [ebp - 0x470], 0x101971c0
call fcn.1009c44a
lea ecx, [ebp - 0x98]
call fcn.1000860f
lea ecx, [ebp - 0x498]
call fcn.1002c9bd
cmp dword [ebp - 0x434], 0
je 0x10098c00
push 0xc
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
pop ecx
test ebx, ebx
je 0x10098da9
mov eax, dword [ebp - 0x434]
lea ecx, [edi + 8]
and dword [ebx + 4], 0
mov dword [ebx], fcn.100145ec
mov dword [ebx + 8], eax
call fcn.1005e0f4
push ebx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x18]
mov ebx, dword [ebp - 0x438]
mov eax, dword [ebp - 0x444]
lea ecx, [edi + 0x70]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x440]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x448]
mov dword [ecx], ebx
mov dword [ecx + 0x10], eax
cmp ebx, 7
jne 0x10098c38
mov eax, dword [edi + 0x10c]
cdq
mov dword [ebp - 0x444], eax
mov dword [ebp - 0x440], edx
lea edx, [edi + 0x1c]
cmp dword [edx + 0x14], 8
jb 0x10098c43
mov edx, dword [edx]
push dword [edi + 0x14]
movzx eax, byte [edi + 0x11]
push edi
push eax
push 0
push ecx
push edx
lea ecx, [edi + 0xc8]
call fcn.100a15d2
mov ecx, dword [ebp - 0x444]
mov eax, dword [ebp - 0x448]
mov dword [esi + 8], ecx
mov ecx, dword [ebp - 0x440]
mov dword [esi], ebx
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], eax
jmp 0x10097fff
mov dword [esi], 6
mov dword [esi + 0x10], 0x288765d
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
lea ecx, [ebp - 0x5d8]
call fcn.1004fcdb
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100042bb
mov esp, ebp
pop ebp
ret 0x10
call fcn.10007e9a
int3