Function at 0x101541a0
Capabilities:
Check http status code
Initialize winhttp library
Prepare http request
Read http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1023d321
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x102e91c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x410], eax
cmp dword [eax + 0x10], 0
mov dword [ebp - 0x418], ecx
mov dword [ebp - 0x41c], edx
je 0x10156634
cmp dword [eax + 0x28], 0
je 0x10156634
cmp dword [eax + 0x40], 0
je 0x10156634
push eax
mov ecx, edi
call fcn.101521b0
lea ecx, [edi + 0xd8]
call fcn.1016d110
push 0xa
push str.CancelPort
lea ecx, [ebp - 0x3f4]
mov byte [edi + 0x130], 0
mov dword [ebp - 0x3f4], 0
mov dword [ebp - 0x3e4], 0
mov dword [ebp - 0x3e0], 0
call fcn.1000aef0
mov dword [ebp - 4], 0
lea eax, [edi + 0xd8]
cmp dword [edi + 0xec], 8
jb 0x1015426e
mov eax, dword [edi + 0xd8]
push dword [edi + 0xe8]
lea ecx, [ebp - 0x3f4]
push eax
call fcn.10010650
cmp dword [ebp - 0x3e0], 8
lea eax, [ebp - 0x3f4]
cmovae eax, dword [ebp - 0x3f4]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x41c]
mov dword [edi + 0xf8], eax
mov eax, ecx
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x101542be
mov eax, dword [ecx]
xor ecx, ecx
mov word [eax], cx
mov dword [ebp - 0x368], ecx
mov dword [ebp - 0x358], ecx
mov dword [ebp - 0x354], 0xf
mov byte [ebp - 0x368], cl
mov esi, dword [ebp - 0x410]
mov ecx, esi
mov byte [ebp - 4], 1
cmp dword [esi + 0x14], 8
jb 0x101542f3
mov ecx, dword [esi]
push ecx
lea edx, [ebp - 0x368]
call fcn.1016caf0
add esp, 4
test al, al
jne 0x1015437a
mov eax, dword [edi + 0x30]
test eax, eax
jne 0x10154351
mov esi, dword [0x102eec44]
test esi, esi
je 0x10154344
push str.Failed_in_multibyte_to_wide_conversion__in_HttpSend
push 0x1025b044
push 0x1025b044
push str.HTTPConnector
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
jmp 0x101552a5
mov eax, dword [0x102eec48]
test eax, eax
je 0x101552a5
mov esi, dword [eax]
push str.Failed_in_multibyte_to_wide_conversion__in_HttpSend
push str.HTTPConnector
push 0x1025b044
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x32
push eax
call dword [0x1024852c]
call esi
add esp, 0x14
jmp 0x101552a5
mov dword [ebp - 0x330], 0
mov dword [ebp - 0x320], 0
mov dword [ebp - 0x31c], 0xf
mov byte [ebp - 0x330], 0
add esi, 0x68
mov byte [ebp - 4], 2
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x101543b0
mov eax, dword [esi]
mov ecx, dword [esi + 0x10]
push 0
push 0x10262dc1
push ecx
push eax
mov dword [ebp - 0x334], ecx
call fcn.10030660
add esp, 0x10
test al, al
jne 0x101543f4
lea eax, [ebp - 0x330]
cmp eax, esi
je 0x10154414
cmp dword [esi + 0x14], 0x10
jb 0x101543e0
mov esi, dword [esi]
push dword [ebp - 0x334]
lea ecx, [ebp - 0x330]
push esi
call fcn.1001bf90
jmp 0x10154414
mov ecx, dword [ebp - 0x410]
add ecx, 0x50
cmp dword [ecx + 0x14], 8
jb 0x10154405
mov ecx, dword [ecx]
push ecx
lea edx, [ebp - 0x330]
call fcn.1016caf0
add esp, 4
push dword [edi + 0x30]
xor eax, eax
lea ecx, [ebp - 0x310]
cmp dword [ebp - 0x354], 0x10
mov edx, 0x100
mov word [ebp - 0x310], ax
lea eax, [ebp - 0x368]
cmovae eax, dword [ebp - 0x368]
push eax
call fcn.10152770
mov ecx, dword [edi + 0x30]
add esp, 8
call fcn.10173bb0
cmp word [ebp - 0x310], 0
push 0x10000000
mov byte [ebp - 0x401], al
push 0
jne 0x1015446d
push 0
push 0
jmp 0x10154476
lea eax, [ebp - 0x310]
push eax
push 3
push 0x102aa13c
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
cmp byte [ebp - 0x401], 0
mov dword [ebp - 0x408], eax
je 0x1015454a
mov esi, dword [edi + 0x30]
mov dword [ebp - 0x334], esi
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
test eax, eax
jne 0x1015454a
test esi, esi
je 0x101544d1
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.In_revertThreadContextToProcessContext._Cant_RevertToSelf._ErrorCode:__d_.
push str.ProcessUtils
push 0x1025b044
push 0x32
push dword [ebp - 0x334]
jmp 0x1015453a
cmp dword [0x102eec44], 0
je 0x10154511
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [0x102eec44]
mov ecx, esi
push eax
push str.In_revertThreadContextToProcessContext._Cant_RevertToSelf._ErrorCode:__d_.
push 0x1025b044
push 0x1025b044
push str.ProcessUtils
push str.OOBEUtils
push 0x32
call dword [0x1024852c]
call esi
add esp, 0x1c
jmp 0x1015454a
mov eax, dword [0x102eec48]
test eax, eax
je 0x1015454f
mov esi, dword [eax]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.In_revertThreadContextToProcessContext._Cant_RevertToSelf._ErrorCode:__d_.
push str.ProcessUtils
push 0x1025b044
push 0x32
push dword [0x102eec48]
mov esi, dword [esi + 0x34]
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
mov eax, dword [0x102eec48]
cmp dword [ebp - 0x408], 0
jne 0x101545f9
mov ecx, dword [edi + 0x30]
test ecx, ecx
je 0x10154579
mov esi, dword [ecx]
push str.Failed_to_open_a_WinHttp_session__in_HttpSend
push str.HTTPConnector
push 0x1025b044
push 0x32
push ecx
jmp 0x101545c5
mov esi, dword [0x102eec44]
test esi, esi
je 0x101545ad
push str.Failed_to_open_a_WinHttp_session__in_HttpSend
push 0x1025b044
push 0x1025b044
push str.HTTPConnector
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
jmp 0x101545d5
test eax, eax
je 0x101545d5
mov esi, dword [eax]
push str.Failed_to_open_a_WinHttp_session__in_HttpSend
push str.HTTPConnector
push 0x1025b044
push 0x32
push eax
mov esi, dword [esi + 0x34]
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [edi + 0xf8]
mov dword [edi + 0xf4], eax
mov byte [edi + 0x130], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10155250
mov eax, dword [ebp - 0x410]
mov edx, 0x1bb
push eax
mov ecx, dword [eax + 0x88]
test ecx, ecx
cmove ecx, edx
mov dword [ebp - 0x334], ecx
lea ecx, [ebp - 0x384]
call fcn.1000fe90
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x384]
cmp dword [ebp - 0x370], 8
mov esi, dword [ebp - 0x384]
mov edx, dword [ebp - 0x374]
cmovae ecx, esi
push 8
push str.https:__
push 0
setae byte [ebp - 0x401]
call fcn.10028660
add esp, 0xc
cmp eax, 0xffffffff
je 0x101546c6
push 8
push str.https:__
lea ecx, [ebp - 0x3a0]
mov dword [ebp - 0x3a0], 0
mov dword [ebp - 0x390], 0
mov dword [ebp - 0x38c], 0
call fcn.1000aef0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x374]
mov edx, dword [ebp - 0x390]
mov dword [ebp - 0x34c], 0
mov dword [ebp - 0x33c], 0
mov dword [ebp - 0x338], 0
cmp eax, edx
jb 0x101566be
jmp 0x1015472f
cmp byte [ebp - 0x401], 0
lea ecx, [ebp - 0x384]
mov edx, dword [ebp - 0x374]
push 7
push str.http:__
cmovne ecx, esi
push 0
call fcn.10028660
add esp, 0xc
cmp eax, 0xffffffff
je 0x101547c0
push 7
push str.http:__
lea ecx, [ebp - 0x3a0]
mov dword [ebp - 0x3a0], 0
mov dword [ebp - 0x390], 0
mov dword [ebp - 0x38c], 0
call fcn.1000aef0
mov byte [ebp - 4], 5
jmp 0x10154692
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x370], 8
lea eax, [ebp - 0x384]
cmovae eax, dword [ebp - 0x384]
push ecx
lea ecx, [ebp - 0x34c]
lea eax, [eax + edx*2]
push eax
call fcn.1000aef0
lea ecx, [ebp - 0x384]
call fcn.1000ae90
movups xmm0, xmmword [ebp - 0x34c]
xor eax, eax
lea ecx, [ebp - 0x34c]
mov word [ebp - 0x34c], ax
movups xmmword [ebp - 0x384], xmm0
movq xmm0, qword [ebp - 0x33c]
movq qword [ebp - 0x374], xmm0
mov dword [ebp - 0x33c], eax
mov dword [ebp - 0x338], 7
call fcn.1000ae90
lea ecx, [ebp - 0x3a0]
mov byte [ebp - 4], 3
call fcn.1000ae90
mov esi, dword [ebp - 0x384]
cmp dword [ebp - 0x370], 8
lea eax, [ebp - 0x384]
push 0
cmovae eax, esi
mov esi, dword [ebp - 0x334]
push esi
push eax
push dword [ebp - 0x408]
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0x40c], eax
test eax, eax
jne 0x1015488c
mov eax, dword [edi + 0x30]
test eax, eax
jne 0x10154838
mov esi, dword [0x102eec44]
test esi, esi
je 0x1015482f
push str.Failed_to_connect_to_server__in_HttpSend
push 0x1025b044
push 0x1025b044
push str.HTTPConnector
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
jmp 0x1015485c
mov eax, dword [0x102eec48]
test eax, eax
je 0x1015485c
mov esi, dword [eax]
push str.Failed_to_connect_to_server__in_HttpSend
push str.HTTPConnector
push 0x1025b044
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x32
push eax
call dword [0x1024852c]
call esi
add esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x408]
mov dword [edi + 0xf4], eax
mov byte [edi + 0x130], 1
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push dword [edi + 0xf8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10155245
mov edx, dword [ebp - 0x410]
xor eax, eax
cmp esi, 0x1bb
mov ecx, 0x800000
cmovne ecx, eax
cmp dword [edx + 0x2c], 8
lea eax, [edx + 0x18]
jb 0x101548ad
mov eax, dword [eax]
cmp dword [edx + 0x44], 8
lea esi, [edx + 0x30]
mov dword [ebp - 0x420], esi
mov edx, esi
jb 0x101548c0
mov edx, dword [esi]
push ecx
push 0
push 0
push 0
push eax
push edx
push dword [ebp - 0x40c]
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov edx, eax
mov dword [ebp - 0x400], edx
test edx, edx
jne 0x10154977
mov eax, dword [edi + 0x30]
test eax, eax
jne 0x10154929
mov esi, dword [0x102eec44]
test esi, esi
je 0x10154920
push str.Failed_to_open_http_request__in_HttpSend
push 0x1025b044
push 0x1025b044
push str.HTTPConnector
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
jmp 0x1015494d
mov eax, dword [0x102eec48]
test eax, eax
je 0x1015494d
mov esi, dword [eax]
push str.Failed_to_open_http_request__in_HttpSend
push str.HTTPConnector
push 0x1025b044
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x32
push eax
call dword [0x1024852c]
call esi
add esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x408]
mov dword [edi + 0xf4], eax
mov byte [edi + 0x130], 1
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push dword [ebp - 0x40c]
jmp 0x10154875
mov eax, dword [ebp - 0x410]
mov eax, dword [eax + 0x84]
test eax, eax
jle 0x10154a50
imul eax, eax, 0x3e8
push eax
push 0x7530
push 0xea60
push 0x1388
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x10154a50
mov esi, dword [edi + 0x30]
test esi, esi
je 0x101549d6
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_in_setting_timeout_for_network_call__error_received__d
push str.HTTPConnector
push 0x1025b044
push 0x32
push dword [edi + 0x30]
jmp 0x10154a40
cmp dword [0x102eec44], 0
je 0x10154a16
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [0x102eec44]
mov ecx, esi
push eax
push str.Failed_in_setting_timeout_for_network_call__error_received__d
push 0x1025b044
push 0x1025b044
push str.HTTPConnector
push str.OOBEUtils
push 0x32
call dword [0x1024852c]
call esi
add esp, 0x1c
jmp 0x10154a50
mov esi, dword [0x102eec48]
test esi, esi
je 0x10154a50
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_in_setting_timeout_for_network_call__error_received__d
push str.HTTPConnector
push 0x1025b044
push 0x32
push dword [0x102eec48]
mov esi, dword [esi + 0x34]
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
mov esi, dword [ebp - 0x400]
mov ecx, esi
mov edx, dword [ebp - 0x410]
call fcn.10151d00
push 0
push 0x97f0300
push 0x101538e0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
cmp eax, 0xffffffff
jne 0x10154b1d
mov eax, dword [edi + 0x30]
test eax, eax
jne 0x10154ac3
mov esi, dword [0x102eec44]
test esi, esi
je 0x10154aba
push str.Failed_in_setting_status_callback_in_HttpSend
push 0x1025b044
push 0x1025b044
push str.HTTPConnector
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
jmp 0x10154ae7
mov eax, dword [0x102eec48]
test eax, eax
je 0x10154ae7
mov esi, dword [eax]
push str.Failed_in_setting_status_callback_in_HttpSend
push str.HTTPConnector
push 0x1025b044
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x32
push eax
call dword [0x1024852c]
call esi
add esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x408]
mov dword [edi + 0xf4], eax
mov byte [edi + 0x130], 1
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push dword [ebp - 0x40c]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push dword [ebp - 0x400]
jmp 0x10154875
push 0x50
call fcn.101cff73
xor ecx, ecx
mov esi, eax
add esp, 4
mov dword [ebp - 0x3fc], esi
mov dword [esi + 0x18], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 7
mov word [esi + 0x18], cx
push ecx
push ecx
push ecx
push ecx
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x30], 0xffffffff
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x40], ecx
mov byte [esi + 0x34], cl
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x10], eax
cmp dword [edi + 0x10], 0
je 0x10154e60
cmp dword [ebp + 0x14], 0
je 0x10154e60
mov eax, dword [edi + 0x30]
test eax, eax
jne 0x10154be5
mov eax, dword [0x102eec44]
mov dword [ebp - 0x414], eax
test eax, eax
je 0x10154bdc
push str.Using_user_name_and_password_provided_for_proxy_authentication.
push 0x1025b044
push 0x1025b044
push str.HTTPConnector
push str.OOBEUtils
push 0x1e
mov ecx, eax
call dword [0x1024852c]
call dword [ebp - 0x414]
add esp, 0x18
jmp 0x10154c0f
mov eax, dword [0x102eec48]
test eax, eax
je 0x10154c0f
mov esi, dword [eax]
push str.Using_user_name_and_password_provided_for_proxy_authentication.
push str.HTTPConnector
push 0x1025b044
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x1e
push eax
call dword [0x1024852c]
call esi
mov esi, dword [ebp - 0x3fc]
add esp, 0x14
push 4
lea eax, [ebp - 0x350]
mov dword [ebp - 0x350], 2
push eax
push 0x4d
push dword [ebp - 0x400]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
cmp dword [edi + 0x2c], 8
lea eax, [edi + 0x18]
jb 0x10154c3b
mov eax, dword [eax]
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x10154c45
mov ecx, dword [edi]
push 0
push eax
push ecx
push dword [ebp + 0x14]
push 1
push dword [ebp - 0x400]
call dword [sym.imp.WINHTTP.dll_WinHttpSetCredentials]
test eax, eax
jne 0x10154e5a
mov esi, dword [edi + 0x30]
test esi, esi
je 0x10154c88
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_in_setting_proxycredentials_in_HttpSend_error:_d
push str.HTTPConnector
push 0x1025b044
push 0x32
push dword [edi + 0x30]
jmp 0x10154cf2
cmp dword [0x102eec44], 0
je 0x10154cc8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [0x102eec44]
mov ecx, esi
push eax
push str.Failed_in_setting_proxycredentials_in_HttpSend_error:_d
push 0x1025b044
push 0x1025b044
push str.HTTPConnector
push str.OOBEUtils
push 0x32
call dword [0x1024852c]
call esi
add esp, 0x1c
jmp 0x10154d02
mov esi, dword [0x102eec48]
test esi, esi
je 0x10154d02
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_in_setting_proxycredentials_in_HttpSend_error:_d
push str.HTTPConnector
push 0x1025b044
push 0x32
push dword [0x102eec48]
mov esi, dword [esi + 0x34]
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x408]
mov dword [edi + 0xf4], eax
mov byte [edi + 0x130], 1
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push dword [ebp - 0x40c]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push dword [ebp - 0x400]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push dword [edi + 0xf8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x3fc]
mov eax, dword [esi]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x30], 0xffffffff
mov dword [esi + 0x38], 0
mov byte [esi + 0x34], 0
mov dword [esi + 0x44], 0
test eax, eax
je 0x10154d95
push eax
call fcn.101dbd83
add esp, 4
mov dword [esi], 0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x10154daa
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x10], 0
lea ecx, [esi + 0x18]
call fcn.1000ae90
push 0x50
push esi
call fcn.101d02bd
add esp, 8
lea ecx, [ebp - 0x384]
call fcn.1000ae90
mov ecx, dword [ebp - 0x31c]
cmp ecx, 0x10
jb 0x10154e02
mov edx, dword [ebp - 0x330]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10154df8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101566c3
push ecx
push edx
call fcn.101d02bd
add esp, 8
mov ecx, dword [ebp - 0x354]
mov dword [ebp - 0x320], 0
mov dword [ebp - 0x31c], 0xf
mov byte [ebp - 0x330], 0
cmp ecx, 0x10
jb 0x101552df
mov edx, dword [ebp - 0x368]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101552d5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101566c3
jmp 0x101552d5
mov byte [esi + 0x34], 1
jmp 0x10154e81
push 4
lea eax, [ebp - 0x350]
mov dword [ebp - 0x350], 1
push eax
push 0x4d
push dword [ebp - 0x400]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov ecx, dword [ebp - 0x420]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x30], 0xffffffff
mov eax, dword [edi + 0x30]
mov dword [esi + 0x44], eax
mov eax, dword [edi + 0xfc]
push 0x1026376c
mov dword [esi + 0x4c], eax
call fcn.1000afa0
push esi
test al, al
je 0x10154ecf
push 0
push 0
push 0
jmp 0x10154eec
mov eax, dword [ebp - 0x320]
lea ecx, [ebp - 0x330]
cmp dword [ebp - 0x31c], 0x10
push eax
cmovae ecx, dword [ebp - 0x330]
push eax
push ecx
push 0
push 0
push dword [ebp - 0x400]
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x10155078
mov eax, dword [edi + 0x30]
test eax, eax
jne 0x10154f51
mov eax, dword [0x102eec44]
mov dword [ebp - 0x350], eax
test eax, eax
je 0x10154f48
push str.Failed_in_making_http_request__in_HttpSend
push 0x1025b044
push 0x1025b044
push str.HTTPConnector
push str.OOBEUtils
push 0x32
mov ecx, eax
call dword [0x1024852c]
call dword [ebp - 0x350]
add esp, 0x18
jmp 0x10154f7b
mov eax, dword [0x102eec48]
test eax, eax
je 0x10154f7b
mov esi, dword [eax]
push str.Failed_in_making_http_request__in_HttpSend
push str.HTTPConnector
push 0x1025b044
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x32
push eax
call dword [0x1024852c]
call esi
mov esi, dword [ebp - 0x3fc]
add esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x408]
mov dword [edi + 0xf4], eax
mov byte [edi + 0x130], 1
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push dword [ebp - 0x40c]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push dword [ebp - 0x400]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push dword [edi + 0xf8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x30], 0xffffffff
mov dword [esi + 0x38], 0
mov byte [esi + 0x34], 0
mov dword [esi + 0x44], 0
test eax, eax
je 0x10155008
push eax
call fcn.101dbd83
add esp, 4
mov dword [esi], 0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x1015501d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x10], 0
lea ecx, [esi + 0x18]
call fcn.1000ae90
push 0x50
push esi
call fcn.101d02bd
add esp, 8
lea ecx, [ebp - 0x384]
call fcn.1000ae90
mov ecx, dword [ebp - 0x31c]
cmp ecx, 0x10
jb 0x10154e02
mov edx, dword [ebp - 0x330]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10154df8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101566c3
jmp 0x10154df8
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x318], eax
mov eax, dword [edi + 0xf8]
mov dword [ebp - 0x314], eax
mov eax, dword [ebp - 0x410]
mov eax, dword [eax + 0x84]
add eax, 5
imul eax, eax, 0x3e8
push eax
push 0
lea eax, [ebp - 0x318]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push 0
push 0xffffffffffffffff
push 0
push dword [ebp - 0x400]
mov dword [ebp - 0x388], eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
mov ecx, dword [esi + 0x38]
cmp ecx, 0xbe
jne 0x10155568
cmp dword [edi + 0x10], 0
je 0x1015595c
mov eax, dword [edi + 0x30]
test eax, eax
jne 0x10155132
mov eax, dword [0x102eec44]
mov dword [ebp - 0x350], eax
test eax, eax
je 0x10155129
push str.Using_user_name_and_password_provided_for_proxy_authentication.
push 0x1025b044
push 0x1025b044
push str.HTTPConnector
push str.OOBEUtils
push 0x1e
mov ecx, eax
call dword [0x1024852c]
call dword [ebp - 0x350]
add esp, 0x18
jmp 0x1015515c
mov eax, dword [0x102eec48]
test eax, eax
je 0x1015515c
mov esi, dword [eax]
push str.Using_user_name_and_password_provided_for_proxy_authentication.
push str.HTTPConnector
push 0x1025b044
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x1e
push eax
call dword [0x1024852c]
call esi
mov esi, dword [ebp - 0x3fc]
add esp, 0x14
lea eax, [ebp - 0x388]
push eax
lea eax, [ebp - 0x36c]
push eax
lea eax, [ebp - 0x334]
push eax
push dword [ebp - 0x400]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryAuthSchemes]
test eax, eax
jne 0x1015530f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [edi + 0xf8]
mov dword [edi + 0xf4], eax
mov byte [edi + 0x130], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x408]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push dword [ebp - 0x40c]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push dword [ebp - 0x400]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, dword [edi + 0x30]
test eax, eax
jne 0x1015521b
mov esi, dword [0x102eec44]
test esi, esi
je 0x10155212
push dword [edi + 0xf4]
mov ecx, esi
push str.Error_occured_while_fetching_proxy_authentication_type__d
push 0x1025b044
push 0x1025b044
push str.HTTPConnector
push str.OOBEUtils
push 0x32
call dword [0x1024852c]
call esi
add esp, 0x1c
jmp 0x10155245
mov eax, dword [0x102eec48]
test eax, eax
je 0x10155245
push dword [edi + 0xf4]
mov esi, dword [eax]
push str.Error_occured_while_fetching_proxy_authentication_type__d
push str.HTTPConnector
push 0x1025b044
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x32
push eax
call dword [0x1024852c]
call esi
add esp, 0x18
lea ecx, [ebp - 0x384]
call fcn.1000ae90
mov ecx, dword [ebp - 0x31c]
cmp ecx, 0x10
jb 0x1015528a
mov edx, dword [ebp - 0x330]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10155280
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101566c3
push ecx
push edx
call fcn.101d02bd
add esp, 8
mov dword [ebp - 0x320], 0
mov dword [ebp - 0x31c], 0xf
mov byte [ebp - 0x330], 0
mov ecx, dword [ebp - 0x354]
cmp ecx, 0x10
jb 0x101552df
mov edx, dword [ebp - 0x368]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101552d5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101566c3
push ecx
push edx
call fcn.101d02bd
add esp, 8
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 0x358], 0
mov dword [ebp - 0x354], 0xf
mov byte [ebp - 0x368], 0
call fcn.1000ae90
mov eax, 5
jmp 0x101566a1
mov eax, dword [ebp - 0x334]
test al, 0x10
je 0x10155325
mov dword [ebp - 0x3fc], 0x10
jmp 0x10155361
test al, 2
je 0x10155335
mov dword [ebp - 0x3fc], 2
jmp 0x10155361
test al, 4
je 0x10155345
mov dword [ebp - 0x3fc], 4
jmp 0x10155361
test al, 8
je 0x10155355
mov dword [ebp - 0x3fc], 8
jmp 0x10155361
movzx eax, al
and eax, 1
mov dword [ebp - 0x3fc], eax
push dword [edi + 0xf8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x408]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push dword [ebp - 0x40c]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push dword [ebp - 0x400]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp dword [edi + 0x30], 0
je 0x101553c7
mov edx, dword [ebp - 0x3fc]
lea ecx, [ebp - 0x34c]
call fcn.10154100
mov ecx, eax
mov byte [ebp - 4], 6
cmp dword [ecx + 0x14], 8
jb 0x101553bf
mov ecx, dword [ecx]
mov eax, dword [edi + 0x30]
jmp 0x1015544b
cmp dword [0x102eec44], 0
je 0x1015541e
mov edx, dword [ebp - 0x3fc]
lea ecx, [ebp - 0x34c]
call fcn.10154100
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 8
jb 0x101553ed
mov eax, dword [eax]
mov esi, dword [0x102eec44]
mov ecx, esi
push eax
push str.Proxy_Authentication_type:__s
push 0x1025b044
push 0x1025b044
push str.HTTPConnector
push str.OOBEUtils
push 0x1e
call dword [0x1024852c]
call esi
add esp, 0x1c
jmp 0x10155470
cmp dword [0x102eec48], 0
je 0x1015547f
mov edx, dword [ebp - 0x3fc]
lea ecx, [ebp - 0x34c]
call fcn.10154100
mov ecx, eax
mov byte [ebp - 4], 8
cmp dword [ecx + 0x14], 8
jb 0x10155446
mov ecx, dword [ecx]
mov eax, dword [0x102eec48]
mov esi, dword [eax]
push ecx
push str.Proxy_Authentication_type:__s
push str.HTTPConnector
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x1025b044
push 0x1e
push eax
call dword [0x1024852c]
call esi
add esp, 0x18
lea ecx, [ebp - 0x34c]
mov byte [ebp - 4], 3
call fcn.1000ae90
push dword [ebp - 0x3fc]
mov edx, dword [ebp - 0x41c]
mov ecx, edi
push edx
push dword [ebp - 0x418]
push dword [ebp - 0x410]
call fcn.101541a0
lea ecx, [ebp - 0x384]
mov esi, eax
call fcn.1000ae90
mov ecx, dword [ebp - 0x31c]
cmp ecx, 0x10
jb 0x101554e6
mov edx, dword [ebp - 0x330]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101554dc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101566c3
push ecx
push edx
call fcn.101d02bd
add esp, 8
mov ecx, dword [ebp - 0x354]
mov dword [ebp - 0x320], 0
mov dword [ebp - 0x31c], 0xf
mov byte [ebp - 0x330], 0
cmp ecx, 0x10
jb 0x1015553b
mov edx, dword [ebp - 0x368]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10155531
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101566c3
push ecx
push edx
call fcn.101d02bd
add esp, 8
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 0x358], 0
mov dword [ebp - 0x354], 0xf
mov byte [ebp - 0x368], 0
call fcn.1000ae90
mov eax, esi
jmp 0x101566a1
cmp ecx, 0x191
jne 0x1015595c
cmp dword [edi + 0x110], 0
je 0x1015595c
mov eax, dword [edi + 0x30]
test eax, eax
jne 0x101555ce
mov eax, dword [0x102eec44]
mov dword [ebp - 0x350], eax
test eax, eax
je 0x101555c5
push str.Resending_request_with_user_credentials
push 0x1025b044
push 0x1025b044
push str.HTTPConnector
push str.OOBEUtils
push 0x1e
mov ecx, eax
call dword [0x1024852c]
call dword [ebp - 0x350]
add esp, 0x18
jmp 0x101555f8
mov eax, dword [0x102eec48]
test eax, eax
je 0x101555f8
mov esi, dword [eax]
push str.Resending_request_with_user_credentials
push str.HTTPConnector
push 0x1025b044
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x1e
push eax
call dword [0x1024852c]
call esi
mov esi, dword [ebp - 0x3fc]
add esp, 0x14
lea eax, [ebp - 0x36c]
push eax
lea eax, [ebp - 0x38c]
push eax
lea eax, [ebp - 0x3a8]
push eax
push dword [ebp - 0x400]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryAuthSchemes]
test eax, eax
jne 0x10155641
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [edi + 0xf8]
mov dword [edi + 0xf4], eax
mov byte [edi + 0x130], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x101557f1
mov eax, dword [ebp - 0x3a8]
test al, 0x10
je 0x10155652
mov eax, 0x10
jmp 0x10155679
test al, 2
je 0x1015565d
mov eax, 2
jmp 0x10155679
test al, 4
je 0x10155668
mov eax, 4
jmp 0x10155679
test al, 8
je 0x10155673
mov eax, 8
jmp 0x10155679
movzx eax, al
and eax, 1
cmp dword [edi + 0x30], 0
mov dword [ebp - 0x414], eax
je 0x101556a5
mov edx, eax
lea ecx, [ebp - 0x34c]
call fcn.10154100
mov ecx, eax
mov byte [ebp - 4], 9
cmp dword [ecx + 0x14], 8
jb 0x101556a0
mov ecx, dword [ecx]
mov eax, dword [edi + 0x30]
jmp 0x10155721
cmp dword [0x102eec44], 0
je 0x101556f8
mov edx, eax
lea ecx, [ebp - 0x34c]
call fcn.10154100
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 8
jb 0x101556c7
mov eax, dword [eax]
mov esi, dword [0x102eec44]
mov ecx, esi
push eax
push str.Proxy_Authentication_type:__s
push 0x1025b044
push 0x1025b044
push str.HTTPConnector
push str.OOBEUtils
push 0x1e
call dword [0x1024852c]
call esi
add esp, 0x1c
jmp 0x10155746
cmp dword [0x102eec48], 0
je 0x10155755
mov edx, eax
lea ecx, [ebp - 0x34c]
call fcn.10154100
mov ecx, eax
mov byte [ebp - 4], 0xb
cmp dword [ecx + 0x14], 8
jb 0x1015571c
mov ecx, dword [ecx]
mov eax, dword [0x102eec48]
mov esi, dword [eax]
push ecx
push str.Proxy_Authentication_type:__s
push str.HTTPConnector
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x1025b044
push 0x1e
push eax
call dword [0x1024852c]
call esi
add esp, 0x18
lea ecx, [ebp - 0x34c]
mov byte [ebp - 4], 3
call fcn.1000ae90
mov esi, dword [ebp - 0x400]
lea eax, [ebp - 0x3ac]
push 4
push eax
push 0x4d
push esi
mov dword [ebp - 0x3ac], 2
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
cmp dword [edi + 0x114], 8
lea ecx, [edi + 0x100]
jb 0x10155788
mov ecx, dword [ecx]
cmp dword [edi + 0x12c], 8
lea eax, [edi + 0x118]
jb 0x10155799
mov eax, dword [eax]
push 0
push eax
push ecx
push dword [ebp - 0x414]
push dword [ebp - 0x36c]
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetCredentials]
test eax, eax
je 0x101557cc
push 0
push 0x97f0000
push 0x101538e0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
cmp eax, 0xffffffff
jne 0x10155823
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [edi + 0xf8]
mov dword [edi + 0xf4], eax
mov byte [edi + 0x130], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x3fc]
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x408]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push dword [ebp - 0x40c]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push dword [ebp - 0x400]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x10155245
mov esi, dword [ebp - 0x420]
mov ecx, esi
push 0x1026376c
call fcn.1000afa0
test al, al
jne 0x1015586f
push str.DELETE
mov ecx, esi
call fcn.1000afa0
test al, al
jne 0x1015586f
mov esi, dword [ebp - 0x3fc]
lea ecx, [ebp - 0x330]
mov eax, dword [ebp - 0x320]
cmp dword [ebp - 0x31c], 0x10
push esi
cmovae ecx, dword [ebp - 0x330]
push eax
push eax
push ecx
jmp 0x1015587c
mov esi, dword [ebp - 0x3fc]
push esi
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x400]
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x10155928
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [edi + 0xf8]
mov dword [edi + 0xf4], eax
mov byte [edi + 0x130], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x408]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push dword [ebp - 0x40c]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push dword [ebp - 0x400]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
lea ecx, [ebp - 0x384]
call fcn.1000ae90
mov ecx, dword [ebp - 0x31c]
cmp ecx, 0x10
jb 0x10154e02
mov edx, dword [ebp - 0x330]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10154df8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101566c3
jmp 0x10154df8
mov eax, dword [ebp - 0x410]
imul eax, dword [eax + 0x84], 0x3e8
push eax
push 0
lea eax, [ebp - 0x318]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push 0
push 0xffffffffffffffff
push 0
push dword [ebp - 0x400]
call dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
xor eax, eax
mov dword [ebp - 0x3dc], 0
mov dword [ebp - 0x3f8], 0
mov dword [ebp - 0x3cc], 0
mov dword [ebp - 0x3c8], 7
mov word [ebp - 0x3dc], ax
push eax
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x3a4], eax
lea eax, [ebp - 0x3f8]
push eax
lea eax, [ebp - 0x3a4]
push eax
push 0
push 0x20000013
push dword [ebp - 0x400]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
cmp dword [esi + 0x3c], 0
mov ecx, dword [esi + 0x38]
setne al
mov dword [ebp - 0x414], ecx
mov byte [edi + 0x130], al
mov eax, dword [esi + 0x40]
mov dword [edi + 0xf4], eax
mov eax, dword [esi + 0x30]
mov dword [edi + 0x134], eax
mov eax, dword [edi + 0x30]
test eax, eax
jne 0x10155a35
mov eax, dword [0x102eec44]
mov dword [ebp - 0x36c], eax
test eax, eax
je 0x10155a2c
push ecx
push dword [ebp - 0x3a4]
mov ecx, eax
push str.The_http_request_returned_HTTP_Status:_d_HttpCommunicator_error:_d
push 0x1025b044
push 0x1025b044
push str.HTTPConnector
push str.OOBEUtils
push 0x1e
call dword [0x1024852c]
call dword [ebp - 0x36c]
add esp, 0x20
jmp 0x10155a66
mov eax, dword [0x102eec48]
test eax, eax
je 0x10155a6b
mov esi, dword [eax]
push ecx
push dword [ebp - 0x3a4]
mov esi, dword [esi + 0x34]
mov ecx, esi
push str.The_http_request_returned_HTTP_Status:_d_HttpCommunicator_error:_d
push str.HTTPConnector
push 0x1025b044
push 0x1e
push eax
call dword [0x1024852c]
call esi
mov esi, dword [ebp - 0x3fc]
add esp, 0x1c
mov eax, dword [0x102eec48]
mov ecx, dword [ebp - 0x388]
test ecx, ecx
je 0x10155b53
cmp ecx, 0x102
je 0x10155a8e
cmp ecx, 1
jne 0x10155b53
mov eax, ecx
jmp 0x10155a93
mov eax, 2
mov dword [esi + 0x38], eax
xor eax, eax
mov dword [ebp - 0x34c], 0
mov dword [ebp - 0x33c], 0
mov dword [ebp - 0x338], 7
mov word [ebp - 0x34c], ax
push 0x100
push eax
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 0xd
push eax
call fcn.101d28f0
push esi
lea eax, [ebp - 0x110]
push str.0x_p
push eax
call fcn.1016e220
lea ecx, [ebp - 0x110]
add esp, 0x18
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10155af1
sub ecx, edx
lea eax, [ebp - 0x110]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x34c]
call fcn.10010360
push 0x102f2de0
mov dword [ebp - 0x38c], 0x102f2dc8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x34c]
mov byte [ebp - 4], 0xe
push eax
call fcn.10152740
push 0x102f2de0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp - 0x34c]
call fcn.1000ae90
mov eax, dword [0x102eec48]
mov dword [ebp - 0x3c4], 0
mov dword [ebp - 0x3b4], 0
mov dword [ebp - 0x3b0], 0xf
mov byte [ebp - 0x3c4], 0
mov byte [ebp - 4], 0xf
mov ecx, dword [esi + 0x38]
cmp ecx, 2
je 0x10155c98
cmp ecx, 1
je 0x10155c98
mov ecx, dword [esi]
test ecx, ecx
je 0x10155c98
cmp dword [esi + 0xc], 1
jne 0x10155c98
push dword [esi + 8]
push ecx
lea ecx, [ebp - 0x3c4]
call fcn.1001bf90
cmp dword [ebp - 0x3b0], 0x10
lea ecx, [ebp - 0x3c4]
mov edx, dword [ebp - 0x41c]
cmovae ecx, dword [ebp - 0x3c4]
push ecx
call fcn.1016cc90
mov ecx, dword [edi + 0x30]
add esp, 4
test ecx, ecx
je 0x10155c05
mov edx, dword [ebp - 0x41c]
mov eax, edx
cmp dword [edx + 0x14], 8
jb 0x10155bee
mov eax, dword [edx]
mov esi, dword [ecx]
push eax
push str.Response_Message____n__s
push str.HTTPConnector
push 0x1025b044
push 0x14
push ecx
jmp 0x10155c7d
cmp dword [0x102eec44], 0
je 0x10155c4f
mov ecx, dword [ebp - 0x41c]
mov eax, ecx
cmp dword [ecx + 0x14], 8
jb 0x10155c1e
mov eax, dword [ecx]
mov esi, dword [0x102eec44]
mov ecx, esi
push eax
push str.Response_Message____n__s
push 0x1025b044
push 0x1025b044
push str.HTTPConnector
push str.OOBEUtils
push 0x14
call dword [0x1024852c]
call esi
add esp, 0x1c
jmp 0x10155c8d
mov eax, dword [0x102eec48]
test eax, eax
je 0x10155c98
mov edx, dword [ebp - 0x41c]
mov ecx, edx
cmp dword [edx + 0x14], 8
jb 0x10155c68
mov ecx, dword [edx]
mov esi, dword [eax]
push ecx
push str.Response_Message____n__s
push str.HTTPConnector
push 0x1025b044
push 0x14
push eax
mov esi, dword [esi + 0x34]
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
mov eax, dword [0x102eec48]
mov esi, dword [ebp - 0x3fc]
mov ecx, dword [esi + 0x38]
cmp ecx, 2
je 0x10155d19
cmp ecx, 1
je 0x10155d19
mov eax, dword [esi]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x30], 0xffffffff
mov dword [esi + 0x38], 0
mov byte [esi + 0x34], 0
mov dword [esi + 0x44], 0
test eax, eax
je 0x10155cef
push eax
call fcn.101dbd83
add esp, 4
mov dword [esi], 0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x10155d04
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x10], 0
lea ecx, [esi + 0x18]
call fcn.1000ae90
push 0x50
push esi
call fcn.101d02bd
add esp, 8
jmp 0x10155d92
mov ecx, dword [edi + 0x30]
test ecx, ecx
je 0x10155d36
mov esi, dword [ecx]
push str.Send_timed_out___So_callback_will_free_the_memory
push str.HTTPConnector
push 0x1025b044
push 0x14
push ecx
jmp 0x10155d82
mov esi, dword [0x102eec44]
test esi, esi
je 0x10155d6a
push str.Send_timed_out___So_callback_will_free_the_memory
push 0x1025b044
push 0x1025b044
push str.HTTPConnector
push str.OOBEUtils
push 0x14
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
jmp 0x10155d92
test eax, eax
je 0x10155d92
mov esi, dword [eax]
push str.Send_timed_out___So_callback_will_free_the_memory
push str.HTTPConnector
push 0x1025b044
push 0x14
push eax
mov esi, dword [esi + 0x34]
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x14
mov esi, dword [ebp - 0x400]
lea eax, [ebp - 0x3f8]
push 0
push eax
push 0
push 0
push 0x16
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x10155f0a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x10155faa
mov eax, dword [ebp - 0x3f8]
xor ecx, ecx
shr eax, 1
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.101d062a
add esp, 4
mov dword [ebp - 0x420], eax
lea ecx, [ebp - 0x3f8]
push 0
push ecx
push eax
push 0
push 0x16
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x10155ed4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push dword [ebp - 0x40c]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push dword [ebp - 0x408]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov esi, dword [ebp - 0x420]
push esi
call fcn.101d0625
mov ecx, dword [edi + 0x30]
add esp, 4
test ecx, ecx
je 0x10155e5c
mov eax, dword [ecx]
push str.Failed_in_quering_WinHttpHeaders_with_available_memory
push ecx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x3b0]
mov dword [edi + 0xf4], eax
mov byte [edi + 0x130], 1
cmp ecx, 0x10
jb 0x10155ea9
mov edx, dword [ebp - 0x3c4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10155e9f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101566c3
push ecx
push edx
call fcn.101d02bd
add esp, 8
lea ecx, [ebp - 0x3dc]
mov dword [ebp - 0x3b4], 0
mov dword [ebp - 0x3b0], 0xf
mov byte [ebp - 0x3c4], 0
call fcn.1000ae90
jmp 0x10155245
mov esi, dword [ebp - 0x420]
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10155ee0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x3dc]
call fcn.10010360
push esi
call fcn.101d0625
add esp, 4
jmp 0x10155faa
mov esi, dword [edi + 0x30]
test esi, esi
je 0x10155f30
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_in_quering_WinHttpHeaders_error:_d
push str.HTTPConnector
push 0x1025b044
push 0x28
push dword [edi + 0x30]
jmp 0x10155f9a
cmp dword [0x102eec44], 0
je 0x10155f70
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [0x102eec44]
mov ecx, esi
push eax
push str.Failed_in_quering_WinHttpHeaders_error:_d
push 0x1025b044
push 0x1025b044
push str.HTTPConnector
push str.OOBEUtils
push 0x28
call dword [0x1024852c]
call esi
add esp, 0x1c
jmp 0x10155faa
mov ecx, dword [0x102eec48]
test ecx, ecx
je 0x10155faa
mov esi, dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_in_quering_WinHttpHeaders_error:_d
push str.HTTPConnector
push 0x1025b044
push 0x28
push dword [0x102eec48]
mov esi, dword [esi + 0x34]
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
cmp dword [ebp - 0x418], 0
je 0x1015607b
cmp dword [ebp - 0x3cc], 0
je 0x1015607b
mov ecx, dword [edi + 0x30]
test ecx, ecx
jne 0x1015601e
mov esi, dword [0x102eec44]
test esi, esi
je 0x10156014
cmp dword [ebp - 0x3c8], 8
lea eax, [ebp - 0x3dc]
mov ecx, esi
cmovae eax, dword [ebp - 0x3dc]
push eax
push str.Response_header_received_from_the_http_request__s
push 0x1025b044
push 0x1025b044
push str.HTTPConnector
push str.OOBEUtils
push 0xa
call dword [0x1024852c]
call esi
add esp, 0x1c
jmp 0x10156057
mov ecx, dword [0x102eec48]
test ecx, ecx
je 0x10156057
cmp dword [ebp - 0x3c8], 8
lea eax, [ebp - 0x3dc]
mov esi, dword [ecx]
cmovae eax, dword [ebp - 0x3dc]
push eax
push str.Response_header_received_from_the_http_request__s
mov esi, dword [esi + 0x34]
push str.HTTPConnector
push 0x1025b044
push 0xa
push ecx
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
mov esi, dword [edi + 0x30]
lea eax, [ebp - 0x3dc]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.1000fe90
mov ecx, dword [ebp - 0x418]
mov edx, esi
call fcn.101533c0
add esp, 0x18
push 0x10
push str.Content_Encoding
lea ecx, [ebp - 0x34c]
mov dword [ebp - 0x34c], 0
mov dword [ebp - 0x33c], 0
mov dword [ebp - 0x338], 0
call fcn.1000aef0
mov ecx, dword [ebp - 0x418]
lea eax, [ebp - 0x34c]
push eax
lea eax, [ebp - 0x394]
push eax
call fcn.10011650
mov esi, dword [ebp - 0x38c]
cmp byte [esi + 0xd], 0
jne 0x10156109
cmp dword [esi + 0x24], 8
lea edx, [esi + 0x10]
jb 0x101560dc
mov edx, dword [esi + 0x10]
push dword [esi + 0x20]
cmp dword [ebp - 0x338], 8
lea ecx, [ebp - 0x34c]
push edx
cmovae ecx, dword [ebp - 0x34c]
mov edx, dword [ebp - 0x33c]
call fcn.10010bf0
shr eax, 0x1f
add esp, 8
test al, al
je 0x10156111
mov eax, dword [ebp - 0x418]
mov esi, dword [eax]
lea ecx, [ebp - 0x34c]
call fcn.1000ae90
mov eax, dword [ebp - 0x418]
cmp esi, dword [eax]
je 0x10156346
cmp dword [esi + 0x3c], 8
lea ecx, [esi + 0x28]
jb 0x10156136
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x38]
push 4
push str.gzip
push 0
call fcn.10028660
add esp, 0xc
cmp eax, 0xffffffff
je 0x10156346
xor eax, eax
mov dword [ebp - 0x34c], 0
mov dword [ebp - 0x33c], 0
mov dword [ebp - 0x338], 7
mov word [ebp - 0x34c], ax
mov dword [ebp - 0x3a0], eax
mov dword [ebp - 0x390], eax
mov dword [ebp - 0x38c], 0xf
mov byte [ebp - 0x3a0], al
lea edx, [ebp - 0x3a0]
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x3c4]
call fcn.10145580
test al, al
je 0x10156276
cmp dword [ebp - 0x38c], 0x10
lea ecx, [ebp - 0x3a0]
lea edx, [ebp - 0x34c]
cmovae ecx, dword [ebp - 0x3a0]
push ecx
call fcn.1016cc90
mov byte [ebp - 4], 0x10
add esp, 4
mov ecx, dword [ebp - 0x38c]
mov byte [ebp - 0x401], al
cmp ecx, 0x10
jb 0x10156220
mov edx, dword [ebp - 0x3a0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10156210
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101566c3
push ecx
push edx
call fcn.101d02bd
mov al, byte [ebp - 0x401]
add esp, 8
mov dword [ebp - 0x390], 0
mov dword [ebp - 0x38c], 0xf
mov byte [ebp - 0x3a0], 0
test al, al
je 0x101562cf
mov ecx, dword [ebp - 0x41c]
lea eax, [ebp - 0x34c]
cmp ecx, eax
je 0x10156337
cmp dword [ebp - 0x338], 8
push dword [ebp - 0x33c]
cmovae eax, dword [ebp - 0x34c]
push eax
call fcn.10010360
jmp 0x10156337
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x38c]
cmp ecx, 0x10
jb 0x101562b4
mov edx, dword [ebp - 0x3a0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101562aa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101566c3
push ecx
push edx
call fcn.101d02bd
add esp, 8
mov dword [ebp - 0x390], 0
mov dword [ebp - 0x38c], 0xf
mov byte [ebp - 0x3a0], 0
mov eax, dword [edi + 0x30]
test eax, eax
jne 0x10156313
mov esi, dword [0x102eec44]
test esi, esi
je 0x1015630a
push str.Some_error_occured_in_unzip
push 0x1025b044
push 0x1025b044
push str.HTTPConnector
push str.OOBEUtils
push 0x28
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
jmp 0x10156337
mov eax, dword [0x102eec48]
test eax, eax
je 0x10156337
mov esi, dword [eax]
push str.Some_error_occured_in_unzip
push str.HTTPConnector
push 0x1025b044
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x28
push eax
call dword [0x1024852c]
call esi
add esp, 0x14
lea ecx, [ebp - 0x34c]
mov byte [ebp - 4], 0xf
call fcn.1000ae90
cmp dword [ebp - 0x414], 0
mov esi, dword [ebp - 0x410]
jne 0x101564cd
cmp byte [esi + 0x8d], 0
je 0x101564cd
cmp dword [ebp - 0x334], 0x1bb
jne 0x101564cd
lea eax, [ebp - 0x388]
mov dword [ebp - 0x334], 0
push eax
lea eax, [ebp - 0x334]
mov dword [ebp - 0x388], 4
push eax
push 0x4e
push dword [ebp - 0x400]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryOption]
test eax, eax
jne 0x101563b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x101564cd
mov eax, dword [ebp - 0x334]
nop dword [eax + eax]
lea ecx, [ebp - 0x36c]
mov dword [ebp - 0x36c], 0
push ecx
push 0
push eax
push dword [eax + 0x10]
mov esi, eax
call dword [sym.imp.CRYPT32.dll_CertGetIssuerCertificateFromStore]
test eax, eax
jne 0x101563c0
mov dword [ebp - 0x34c], eax
mov dword [ebp - 0x33c], eax
mov dword [ebp - 0x338], 7
mov word [ebp - 0x34c], ax
push eax
push eax
push eax
push eax
push 4
push esi
mov byte [ebp - 4], 0x12
call dword [sym.imp.CRYPT32.dll_CertGetNameStringW]
mov dword [ebp - 0x3ac], eax
cmp eax, 1
jbe 0x10156474
lea ecx, [eax + eax]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x3a8], eax
test eax, eax
je 0x10156474
push dword [ebp - 0x3ac]
push eax
push 0
push 0
push 4
push esi
call dword [sym.imp.CRYPT32.dll_CertGetNameStringW]
mov esi, dword [ebp - 0x3a8]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10156451
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x34c]
call fcn.10010360
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea eax, [ebp - 0x34c]
mov dword [ebp - 0x43c], str.rootCACertCN
push eax
lea ecx, [ebp - 0x438]
call fcn.1000fe90
mov ecx, dword [ebp - 0x418]
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x390]
mov byte [ebp - 4], 0x13
push eax
call fcn.10156850
lea ecx, [ebp - 0x438]
call fcn.1000ae90
lea ecx, [ebp - 0x34c]
mov byte [ebp - 4], 0xf
call fcn.1000ae90
mov esi, dword [ebp - 0x410]
push ecx
push dword [ebp - 0x418]
mov ecx, edi
push esi
call fcn.101524f0
push dword [edi + 0xf8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x400]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push dword [ebp - 0x40c]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push dword [ebp - 0x408]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov ecx, dword [ebp - 0x3b0]
cmp ecx, 0x10
jb 0x10156546
mov edx, dword [ebp - 0x3c4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1015653c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101566c3
push ecx
push edx
call fcn.101d02bd
add esp, 8
lea ecx, [ebp - 0x3dc]
mov dword [ebp - 0x3b4], 0
mov dword [ebp - 0x3b0], 0xf
mov byte [ebp - 0x3c4], 0
call fcn.1000ae90
lea ecx, [ebp - 0x384]
call fcn.1000ae90
mov ecx, dword [ebp - 0x31c]
cmp ecx, 0x10
jb 0x101565b1
mov edx, dword [ebp - 0x330]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101565a7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101566c3
push ecx
push edx
call fcn.101d02bd
add esp, 8
mov ecx, dword [ebp - 0x354]
mov dword [ebp - 0x320], 0
mov dword [ebp - 0x31c], 0xf
mov byte [ebp - 0x330], 0
cmp ecx, 0x10
jb 0x10156606
mov edx, dword [ebp - 0x368]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101565fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101566c3
push ecx
push edx
call fcn.101d02bd
add esp, 8
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 0x358], 0
mov dword [ebp - 0x354], 0xf
mov byte [ebp - 0x368], 0
call fcn.1000ae90
mov eax, dword [ebp - 0x414]
jmp 0x101566a1
mov eax, dword [edi + 0x30]
test eax, eax
jne 0x10156678
mov esi, dword [0x102eec44]
test esi, esi
je 0x1015666f
push str.Invalid_arguments_to_SendHTTPRequest
push 0x1025b044
push 0x1025b044
push str.HTTPConnector
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
jmp 0x1015669c
mov eax, dword [0x102eec48]
test eax, eax
je 0x1015669c
mov esi, dword [eax]
push str.Invalid_arguments_to_SendHTTPRequest
push str.HTTPConnector
push 0x1025b044
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x32
push eax
call dword [0x1024852c]
call esi
add esp, 0x14
mov eax, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101cff65
mov esp, ebp
pop ebp
ret 0x10
call fcn.100289a0
call fcn.101dc0ba
int3