Function at 0x42c6f0
Capabilities:
Initialize winhttp library
Prepare http request

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, dword fs:[0x18]
sub esp, 0x38
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], str.winetest
call dword [sym.imp.winhttp.dll_WinHttpOpen]
sub esp, 0x14
mov edi, eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x4b
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], str.WinHttpOpen_failed_to_open_session__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test edi, edi
setne al
mov dword [esp], eax
call fcn.00410490
mov eax, dword [sym.imp.winhttp.dll_WinHttpQueryOption]
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp], edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x58
mov dword [ebp - 0x20], eax
call eax
sub esp, 0x10
mov esi, eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x4f
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], str.should_fail_to_set_redirect_policy__lu_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
sete al
mov dword [esp], eax
call fcn.00410490
mov eax, 0x50
call fcn.0040fbc0
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], str.expected_ERROR_INVALID_PARAMETER__got__lu_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [ebx + 0x34], 0x57
sete al
mov dword [esp], eax
call fcn.00410490
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0xdeadbeef
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp + 0xc], ecx
mov dword [esp], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x58
mov eax, dword [ebp - 0x20]
call eax
sub esp, 0x10
mov esi, eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x55
xor eax, eax
test esi, esi
lea esi, [ebp - 0x14]
sete al
mov dword [esp + 4], str.should_fail_to_query_option_n
mov dword [esp], eax
call fcn.00410490
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x56
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], str.expected_ERROR_INSUFFICIENT_BUFFER__got__lu_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [ebx + 0x34], 0x7a
sete al
mov dword [esp], eax
call fcn.00410490
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x57
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], str.expected_4__got__lu_n
cmp eax, 4
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00410490
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], 0xdeadbeef
mov dword [ebp - 0x10], 3
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp + 0xc], ecx
mov dword [esp + 8], esi
mov dword [esp + 4], 0x58
mov dword [ebp - 0x1c], edi
mov dword [esp], edi
mov eax, dword [ebp - 0x20]
call eax
sub esp, 0x10
mov edi, eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x5d
xor eax, eax
test edi, edi
sete al
mov dword [esp + 4], str.should_fail_to_query_option_n
mov dword [esp], eax
call fcn.00410490
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x5e
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], str.expected_ERROR_INSUFFICIENT_BUFFER__got__lu_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [ebx + 0x34], 0x7a
sete al
mov dword [esp], eax
call fcn.00410490
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x5f
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], str.expected_4__got__lu_n
cmp eax, 4
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00410490
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], 0xdeadbeef
mov dword [ebp - 0x10], 5
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp + 0xc], ecx
mov dword [esp + 8], esi
mov dword [esp + 4], 0x50
mov edi, dword [ebp - 0x1c]
mov dword [esp], edi
mov eax, dword [ebp - 0x20]
call eax
sub esp, 0x10
mov edi, eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x65
mov eax, dword [ebx + 0x34]
mov dword [esp], edi
mov dword [esp + 8], eax
mov dword [esp + 4], str.failed_to_query_option__lu_n
call fcn.00410490
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x66
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], str.got__lu_n
mov dword [esp + 8], eax
mov edi, dword [ebx + 0x34]
xor eax, eax
test edi, edi
sete al
mov dword [esp], eax
call fcn.00410490
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x67
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], str.WinHttpQueryOption_should_set_the_size:__lu_n
cmp eax, 4
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00410490
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x68
mov eax, dword [ebp - 0x14]
mov dword [esp + 4], str.got_unexpected_WINHTTP_OPTION_WORKER_THREAD_COUNT__lx_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00410490
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], 0xdeadbeef
mov dword [ebp - 0x10], 5
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp + 0xc], ecx
mov dword [esp + 8], esi
mov dword [esp + 4], 0x58
mov edi, dword [ebp - 0x1c]
mov dword [esp], edi
mov eax, dword [ebp - 0x20]
call eax
sub esp, 0x10
mov edi, eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x6e
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], str.failed_to_query_option__lu_n
mov dword [esp + 8], eax
mov dword [esp], edi
call fcn.00410490
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x6f
mov edx, dword [ebx + 0x34]
mov eax, 1
test edx, edx
je 0x42cb09
mov ebx, dword [0x4720d0]
cmp edx, 0xdeadbeef
sete cl
xor eax, eax
test ebx, ebx
sete al
and eax, ecx
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [esp + 4], str.got__lu_n
call fcn.00410490
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x71
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], str.WinHttpQueryOption_should_set_the_size:__lu_n
cmp eax, 4
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00410490
mov eax, 0x72
call fcn.0040fbc0
mov eax, dword [ebp - 0x14]
mov dword [esp + 4], str.expected_WINHTTP_OPTION_REDIRECT_POLICY_DISALLOW_HTTPS_TO_HTTP__got__lx_n
cmp eax, 1
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
mov ebx, dword fs:[0x18]
call fcn.00410490
mov ecx, dword [sym.imp.winhttp.dll_WinHttpSetOption]
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], 0x58
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
mov dword [ebp - 0x18], ecx
call ecx
sub esp, 0x10
mov edi, eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x77
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], str.should_fail_to_set_redirect_policy__lu_n
mov dword [esp + 8], eax
xor eax, eax
test edi, edi
sete al
mov dword [esp], eax
call fcn.00410490
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x78
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], str.expected_ERROR_INVALID_PARAMETER__got__lu_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [ebx + 0x34], 0x57
sete al
mov dword [esp], eax
call fcn.00410490
mov dword [ebp - 0x14], 2
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp + 0xc], 3
mov dword [esp + 8], esi
mov dword [esp + 4], 0x58
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
mov ecx, dword [ebp - 0x18]
call ecx
sub esp, 0x10
mov edi, eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x7e
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], str.should_fail_to_set_redirect_policy__lu_n
mov dword [esp + 8], eax
xor eax, eax
test edi, edi
sete al
mov dword [esp], eax
call fcn.00410490
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x7f
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], str.expected_ERROR_INSUFFICIENT_BUFFER__got__lu_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [ebx + 0x34], 0x7a
sete al
mov dword [esp], eax
call fcn.00410490
mov dword [ebp - 0x14], 2
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp + 0xc], 5
mov dword [esp + 8], esi
mov dword [esp + 4], 0x58
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
mov ecx, dword [ebp - 0x18]
call ecx
sub esp, 0x10
mov edi, eax
mov eax, 0x85
call fcn.0040fbc0
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], str.should_fail_to_set_redirect_policy__lu_n
mov dword [esp + 8], eax
xor eax, eax
test edi, edi
sete al
mov dword [esp], eax
call fcn.00410490
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x86
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], str.expected_ERROR_INSUFFICIENT_BUFFER__got__lu_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [ebx + 0x34], 0x7a
sete al
mov dword [esp], eax
call fcn.00410490
mov dword [ebp - 0x14], 2
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp + 0xc], 4
mov dword [esp + 8], esi
mov dword [esp + 4], 0x58
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
mov ecx, dword [ebp - 0x18]
call ecx
sub esp, 0x10
mov edi, eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x8c
mov eax, dword [ebx + 0x34]
mov dword [esp], edi
mov dword [esp + 8], eax
mov dword [esp + 4], str.failed_to_set_redirect_policy__lu_n
call fcn.00410490
lea edx, [ebp - 0x10]
mov dword [ebp - 0x14], 0xdeadbeef
mov dword [ebp - 0x10], 4
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp + 0xc], edx
mov dword [esp + 8], esi
mov dword [esp + 4], 0x58
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
mov edx, dword [ebp - 0x20]
call edx
sub esp, 0x10
mov edi, eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x92
mov eax, dword [ebx + 0x34]
mov dword [esp], edi
mov dword [esp + 8], eax
mov dword [esp + 4], str.failed_to_query_option__lu_n
call fcn.00410490
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x93
mov eax, dword [ebp - 0x14]
mov dword [esp + 4], str.expected_WINHTTP_OPTION_REDIRECT_POLICY_ALWAYS__got__lx_n
cmp eax, 2
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00410490
mov dword [ebp - 0x14], 1
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp + 0xc], 4
mov dword [esp + 8], esi
mov dword [esp + 4], 0x3f
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
mov ecx, dword [ebp - 0x18]
call ecx
sub esp, 0x10
mov edi, eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x99
xor eax, eax
test edi, edi
sete al
mov dword [esp + 4], str.should_fail_to_set_disable_feature_for_a_session_n
mov dword [esp], eax
call fcn.00410490
mov eax, 0x9a
call fcn.0040fbc0
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], str.expected_ERROR_WINHTTP_INCORRECT_HANDLE_TYPE__got__lu_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [ebx + 0x34], 0x2ef2
sete al
mov dword [esp], eax
call fcn.00410490
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x50
mov dword [esp + 4], str.test.winehq.org
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [sym.imp.winhttp.dll_WinHttpConnect]
sub esp, 0x10
mov edi, eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x9f
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], str.WinHttpConnect_failed_to_open_a_connection__error:__lu_n
mov dword [esp + 8], eax
xor eax, eax
test edi, edi
setne al
mov dword [esp], eax
call fcn.00410490
mov dword [ebp - 0x14], 1
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp + 0xc], 4
mov dword [esp + 8], esi
mov dword [esp + 4], 0x3f
mov dword [ebp - 0x24], edi
mov dword [esp], edi
mov ecx, dword [ebp - 0x18]
call ecx
sub esp, 0x10
mov edi, eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0xa4
xor eax, eax
test edi, edi
sete al
mov dword [esp + 4], str.should_fail_to_set_disable_feature_for_a_connection_n
mov dword [esp], eax
call fcn.00410490
mov eax, 0xa5
call fcn.0040fbc0
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], str.expected_ERROR_WINHTTP_INCORRECT_HANDLE_TYPE__got__lu_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [ebx + 0x34], 0x2ef2
sete al
mov dword [esp], eax
call fcn.00410490
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov edi, dword [ebp - 0x24]
mov dword [esp], edi
call dword [sym.imp.winhttp.dll_WinHttpOpenRequest]
sub esp, 0x1c
mov edi, eax
test eax, eax
je 0x42d780
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 0xdeadbeef
mov ebx, dword fs:[0x18]
mov dword [ebp - 0x10], 4
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp + 0xc], eax
mov dword [esp + 8], esi
mov dword [esp + 4], 0x50
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
mov eax, dword [ebp - 0x20]
call eax
sub esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, 0xb5
call fcn.0040fbc0
mov dword [esp + 4], str.query_WINHTTP_OPTION_WORKER_THREAD_COUNT_failed_for_a_request_n
mov edx, dword [ebp - 0x28]
mov dword [esp], edx
call fcn.00410490
mov eax, 0xb6
call fcn.0040fbc0
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], str.got_unexpected_error__lu_n
mov dword [esp + 8], eax
mov edx, dword [ebx + 0x34]
xor eax, eax
test edx, edx
sete al
mov dword [esp], eax
call fcn.00410490
mov eax, 0xb7
call fcn.0040fbc0
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], str.WinHttpQueryOption_should_set_the_size:__lu_n
cmp eax, 4
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00410490
mov eax, 0xb8
call fcn.0040fbc0
mov eax, dword [ebp - 0x14]
mov dword [esp + 4], str.got_unexpected_WINHTTP_OPTION_WORKER_THREAD_COUNT__lx_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00410490
lea edx, [ebp - 0x10]
mov dword [ebp - 0x14], 0xdeadbeef
mov dword [ebp - 0x10], 4
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp + 0xc], edx
mov dword [esp + 8], esi
mov dword [esp + 4], 0x50
mov dword [esp], edi
mov eax, dword [ebp - 0x20]
call eax
sub esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, 0xbe
call fcn.0040fbc0
mov dword [esp + 4], str.query_WINHTTP_OPTION_WORKER_THREAD_COUNT_failed_for_a_request_n
mov edx, dword [ebp - 0x28]
mov dword [esp], edx
call fcn.00410490
mov eax, 0xbf
call fcn.0040fbc0
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], str.got_unexpected_error__lu_n
mov dword [esp + 8], eax
mov ecx, dword [ebx + 0x34]
xor eax, eax
test ecx, ecx
sete al
mov dword [esp], eax
call fcn.00410490
mov eax, 0xc0
call fcn.0040fbc0
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], str.WinHttpQueryOption_should_set_the_size:__lu_n
cmp eax, 4
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00410490
mov eax, 0xc1
call fcn.0040fbc0
mov eax, dword [ebp - 0x14]
mov dword [esp + 4], str.got_unexpected_WINHTTP_OPTION_WORKER_THREAD_COUNT__lx_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00410490
lea edx, [ebp - 0x10]
mov dword [ebp - 0x14], 0xdeadbeef
mov dword [ebp - 0x10], 4
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp + 0xc], edx
mov dword [esp + 8], esi
mov dword [esp + 4], 0x3f
mov dword [esp], edi
mov eax, dword [ebp - 0x20]
call eax
sub esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, 0xc7
call fcn.0040fbc0
mov dword [esp + 4], str.should_fail_to_query_disable_feature_for_a_request_n
mov edx, dword [ebp - 0x28]
xor eax, eax
test edx, edx
sete al
mov dword [esp], eax
call fcn.00410490
mov eax, 0xc8
call fcn.0040fbc0
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], str.expected_ERROR_INVALID_PARAMETER__got__lu_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [ebx + 0x34], 0x57
sete al
mov dword [esp], eax
call fcn.00410490
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 4
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp + 0xc], 4
mov dword [esp + 8], esi
mov dword [esp + 4], 0x3f
mov dword [esp], edi
mov eax, dword [ebp - 0x18]
call eax
sub esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, 0xcf
call fcn.0040fbc0
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], str.failed_to_set_feature__lu_n
mov dword [esp + 8], eax
mov edx, dword [ebp - 0x28]
mov dword [esp], edx
call fcn.00410490
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x10], 4
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp + 0xc], 4
mov dword [esp + 8], esi
mov dword [esp + 4], 0x3f
mov dword [esp], edi
mov eax, dword [ebp - 0x18]
call eax
sub esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, 0xd5
call fcn.0040fbc0
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], str.failed_to_set_feature__lu_n
mov dword [esp + 8], eax
mov edx, dword [ebp - 0x28]
mov dword [esp], edx
call fcn.00410490
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], 4
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp + 0xc], 4
mov dword [esp + 8], esi
mov dword [esp + 4], 0x3f
mov dword [esp], edi
mov eax, dword [ebp - 0x18]
call eax
sub esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, 0xdb
call fcn.0040fbc0
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], str.failed_to_set_feature__lu_n
mov dword [esp + 8], eax
mov edx, dword [ebp - 0x28]
mov dword [esp], edx
call fcn.00410490
lea edx, [ebp - 0x10]
mov dword [ebp - 0x10], 0
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x3f
mov dword [esp], edi
mov ecx, dword [ebp - 0x20]
call ecx
sub esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, 0xe0
call fcn.0040fbc0
mov dword [esp + 4], str.should_fail_to_query_disable_feature_for_a_request_n
mov edx, dword [ebp - 0x28]
xor eax, eax
test edx, edx
sete al
mov dword [esp], eax
call fcn.00410490
mov eax, 0xe1
call fcn.0040fbc0
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], str.expected_ERROR_INVALID_PARAMETER__got__lu_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [ebx + 0x34], 0x57
sete al
mov dword [esp], eax
call fcn.00410490
lea edx, [ebp - 0x10]
mov dword [ebp - 0x14], 0xdeadbeef
mov dword [ebp - 0x10], 4
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp + 0xc], edx
mov dword [esp + 8], esi
mov dword [esp + 4], 0x4f
mov dword [esp], edi
mov ecx, dword [ebp - 0x20]
call ecx
sub esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, 0xe8
call fcn.0040fbc0
mov dword [esp + 4], str.should_fail_to_query_enabled_features_for_a_request_n
mov edx, dword [ebp - 0x20]
xor eax, eax
test edx, edx
sete al
mov dword [esp], eax
call fcn.00410490
mov eax, 0xe9
call fcn.0040fbc0
mov eax, dword [ebp - 0x14]
mov dword [esp + 4], str.expect_feature_0xdeadbeef__got__lx_n
cmp eax, 0xdeadbeef
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00410490
mov eax, 0xea
call fcn.0040fbc0
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], str.expected_ERROR_INVALID_PARAMETER__got__lu_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [ebx + 0x34], 0x57
sete al
mov dword [esp], eax
call fcn.00410490
mov dword [ebp - 0x14], 1
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], 0x4f
mov dword [esp], edi
mov eax, dword [ebp - 0x18]
call eax
sub esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, 0xef
call fcn.0040fbc0
mov dword [esp + 4], str.should_fail_to_enable_WINHTTP_ENABLE_SSL_REVOCATION_with_invalid_parameters_n
mov edx, dword [ebp - 0x20]
xor eax, eax
test edx, edx
sete al
mov dword [esp], eax
call fcn.00410490
mov eax, 0xf0
call fcn.0040fbc0
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], str.expected_ERROR_INVALID_PARAMETER__got__lu_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [ebx + 0x34], 0x57
sete al
mov dword [esp], eax
call fcn.00410490
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp + 0xc], 0
mov dword [esp + 8], esi
mov dword [esp + 4], 0x4f
mov dword [esp], edi
mov eax, dword [ebp - 0x18]
call eax
sub esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, 0xf4
call fcn.0040fbc0
mov dword [esp + 4], str.should_fail_to_enable_WINHTTP_ENABLE_SSL_REVOCATION_with_invalid_parameters_n
mov edx, dword [ebp - 0x20]
xor eax, eax
test edx, edx
sete al
mov dword [esp], eax
call fcn.00410490
mov eax, 0xf5
call fcn.0040fbc0
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], str.expected_ERROR_INVALID_PARAMETER__got__lu_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [ebx + 0x34], 0x57
sete al
mov dword [esp], eax
call fcn.00410490
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp + 0xc], 4
mov dword [esp + 8], esi
mov dword [esp + 4], 0x4f
mov dword [esp], edi
mov eax, dword [ebp - 0x18]
call eax
sub esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, 0xf9
call fcn.0040fbc0
mov dword [esp + 4], str.failed_to_set_feature_n
mov edx, dword [ebp - 0x20]
mov dword [esp], edx
call fcn.00410490
mov eax, 0xfa
call fcn.0040fbc0
mov edx, dword [ebx + 0x34]
mov eax, 1
test edx, edx
jne 0x42d760
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [esp + 4], str.expected_NO_ERROR__got__lu_n
mov ebx, dword fs:[0x18]
call fcn.00410490
mov dword [ebp - 0x14], 0xdeadbeef
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp + 8], esi
mov dword [esp], edi
mov dword [esp + 0xc], 4
mov dword [esp + 4], 0x4f
mov eax, dword [ebp - 0x18]
call eax
sub esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, 0x100
call fcn.0040fbc0
mov dword [esp + 4], str.should_fail_to_enable_WINHTTP_ENABLE_SSL_REVOCATION_with_invalid_parameters_n
mov edx, dword [ebp - 0x20]
xor eax, eax
test edx, edx
sete al
mov dword [esp], eax
call fcn.00410490
mov eax, 0x101
call fcn.0040fbc0
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], str.expected_ERROR_INVALID_PARAMETER__got__lu_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [ebx + 0x34], 0x57
sete al
mov dword [esp], eax
call fcn.00410490
mov dword [ebp - 0x14], 6
mov dword [ebp - 0x10], 4
mov dword [esp + 8], esi
mov dword [esp], edi
mov dword [esp + 0xc], 4
mov dword [esp + 4], 4
mov eax, dword [ebp - 0x18]
call eax
sub esp, 0x10
mov esi, eax
mov eax, 0x106
call fcn.0040fbc0
mov eax, dword [ebx + 0x34]
mov dword [esp], esi
mov dword [esp + 4], str.failed_to_set_WINHTTP_OPTION_CONNECT_RETRIES__lu_n
mov dword [esp + 8], eax
call fcn.00410490
mov dword [ebx + 0x34], 0xdeadbeef
mov esi, dword [sym.imp.winhttp.dll_WinHttpCloseHandle]
mov dword [esp], edi
call esi
sub esp, 4
mov edi, eax
mov eax, 0x10a
call fcn.0040fbc0
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], str.WinHttpCloseHandle_failed_on_closing_request:__lu_n
mov dword [esp], edi
mov dword [esp + 8], eax
call fcn.00410490
mov eax, dword [ebp - 0x24]
mov ebx, dword fs:[0x18]
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp], eax
call esi
sub esp, 4
mov edi, eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x10f
mov eax, dword [ebx + 0x34]
mov dword [esp], edi
mov dword [esp + 8], eax
mov dword [esp + 4], str.WinHttpCloseHandle_failed_on_closing_connection:__lu_n
call fcn.00410490
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp], eax
call esi
sub esp, 4
mov esi, eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x112
mov eax, dword [ebx + 0x34]
mov dword [esp], esi
mov dword [esp + 8], eax
mov dword [esp + 4], str.WinHttpCloseHandle_failed_on_closing_session:__lu_n
call fcn.00410490
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [0x4720d0]
cmp edx, 0xdeadbeef
sete cl
xor eax, eax
test ebx, ebx
sete al
and eax, ecx
jmp 0x42d5b0
cmp dword [ebx + 0x34], 0x2ee7
jne 0x42cfe5
mov eax, 0xad
call fcn.0040fbc0
mov dword [esp], str.Network_unreachable__skipping_the_test_n
call fcn.0040fef0
mov esi, dword [sym.imp.winhttp.dll_WinHttpCloseHandle]
jmp 0x42d6d1