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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x545c0f
mov eax, dword fs:[0]
push eax
sub esp, 0x328
mov eax, dword [0x58f070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x318], eax
cmp dword [ecx + 0x10], 0
mov dword [ebp - 0x314], ecx
sete al
mov dword [ebp - 0x310], edx
test al, al
jne 0x4e49be
cmp dword [ecx + 0x28], 0
lea edi, [ecx + 0x18]
sete al
test al, al
jne 0x4e49be
cmp dword [ecx + 0x40], 0
lea eax, [ecx + 0x30]
mov dword [ebp - 0x21c], eax
sete al
test al, al
jne 0x4e49be
lea esi, [ebx + 0xc0]
mov ecx, esi
call fcn.004d7930
push str.CancelPort
lea ecx, [ebp - 0x294]
mov byte [ebx + 0x118], 0
call fcn.00412950
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0x294]
mov dword [ebp - 4], 0
call fcn.00412fb0
cmp dword [ebp - 0x280], 8
lea eax, [ebp - 0x294]
cmovae eax, dword [ebp - 0x294]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebx + 0xe0], eax
mov eax, dword [ebp - 0x310]
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
jb 0x4e359b
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
mov dword [ebp - 0x260], 0xf
mov dword [ebp - 0x264], ecx
mov byte [ebp - 0x274], cl
mov esi, dword [ebp - 0x314]
mov byte [ebp - 4], 1
cmp dword [esi + 0x14], 8
jb 0x4e35ca
mov ecx, dword [esi]
jmp 0x4e35cc
mov ecx, esi
push 0
lea edx, [ebp - 0x274]
call fcn.004d72c0
add esp, 4
test al, al
jne 0x4e3656
mov ecx, dword [ebx + 0x30]
test ecx, ecx
jne 0x4e361c
mov eax, dword [0x599d34]
test eax, eax
je 0x4e3612
push str.Failed_in_multibyte_to_wide_conversion__in_HttpSend
push 0x55c340
push 0x55c340
push str.HTTPConnector
push str.OOBEUtils
push 0x32
call eax
add esp, 0x18
jmp 0x4e3636
mov ecx, dword [0x599d38]
test ecx, ecx
je 0x4e3636
mov eax, dword [ecx]
push str.Failed_in_multibyte_to_wide_conversion__in_HttpSend
push str.HTTPConnector
push 0x55c340
push 0x32
push ecx
call dword [eax + 0x34]
add esp, 0x14
lea ecx, [ebp - 0x274]
call fcn.00405ea0
lea ecx, [ebp - 0x294]
call fcn.00412890
mov eax, 5
jmp 0x4e4a19
mov dword [ebp - 0x230], 0xf
mov dword [ebp - 0x234], 0
mov byte [ebp - 0x244], 0
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 2
cmp dword [ecx + 0x14], 8
jb 0x4e3680
mov ecx, dword [ecx]
push 0
lea edx, [ebp - 0x244]
call fcn.004d72c0
push dword [ebx + 0x30]
xor eax, eax
lea ecx, [ebp - 0x210]
cmp dword [ebp - 0x260], 0x10
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x274]
cmovae eax, dword [ebp - 0x274]
push eax
call fcn.004e2190
add esp, 0xc
cmp word [ebp - 0x210], 0
push 0x10000000
push 0
jne 0x4e36d3
push 0
push 0
jmp 0x4e36dc
lea eax, [ebp - 0x210]
push eax
push 3
push 0x576444
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebp - 0x304], eax
test eax, eax
jne 0x4e377a
mov ecx, dword [ebx + 0x30]
test ecx, ecx
jne 0x4e3731
mov eax, dword [0x599d34]
test eax, eax
je 0x4e3727
push str.Failed_to_open_a_WinHttp_session__in_HttpSend
push 0x55c340
push 0x55c340
push str.HTTPConnector
push str.OOBEUtils
push 0x32
call eax
add esp, 0x18
jmp 0x4e374b
mov ecx, dword [0x599d38]
test ecx, ecx
je 0x4e374b
mov eax, dword [ecx]
push str.Failed_to_open_a_WinHttp_session__in_HttpSend
push str.HTTPConnector
push 0x55c340
push 0x32
push ecx
call dword [eax + 0x34]
add esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebx + 0xe0]
mov dword [ebx + 0xdc], eax
mov byte [ebx + 0x118], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x244]
call fcn.00405ea0
jmp 0x4e3636
mov eax, dword [esi + 0x70]
mov ecx, 0x1bb
test eax, eax
push esi
cmove eax, ecx
lea ecx, [ebp - 0x25c]
mov dword [ebp - 0x220], eax
call fcn.00413a00
push ecx
push 0x564550
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], 3
call fcn.004c4030
cmp eax, 0xffffffff
je 0x4e37fd
push 0x564550
lea ecx, [ebp - 0x330]
call fcn.00412950
push 0xffffffffffffffff
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x25c]
push dword [eax + 0x10]
lea eax, [ebp - 0x2ac]
push eax
call fcn.00413f00
push eax
lea ecx, [ebp - 0x25c]
call fcn.004128d0
lea ecx, [ebp - 0x2ac]
call fcn.00412890
lea ecx, [ebp - 0x330]
jmp 0x4e385b
push ecx
push str.http:__
lea ecx, [ebp - 0x25c]
call fcn.004c4030
cmp eax, 0xffffffff
je 0x4e3864
push str.http:__
lea ecx, [ebp - 0x2ac]
call fcn.00412950
push 0xffffffffffffffff
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x25c]
push dword [eax + 0x10]
lea eax, [ebp - 0x330]
push eax
call fcn.00413f00
push eax
lea ecx, [ebp - 0x25c]
call fcn.004128d0
lea ecx, [ebp - 0x330]
call fcn.00412890
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 3
call fcn.00412890
cmp dword [ebp - 0x248], 8
lea eax, [ebp - 0x25c]
mov esi, dword [ebp - 0x304]
cmovae eax, dword [ebp - 0x25c]
push 0
push dword [ebp - 0x220]
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov edx, eax
mov dword [ebp - 0x30c], edx
test edx, edx
jne 0x4e3935
mov ecx, dword [ebx + 0x30]
test ecx, ecx
jne 0x4e38da
mov eax, dword [0x599d34]
test eax, eax
je 0x4e38d0
push str.Failed_to_connect_to_server__in_HttpSend
push 0x55c340
push 0x55c340
push str.HTTPConnector
push str.OOBEUtils
push 0x32
call eax
add esp, 0x18
jmp 0x4e38f4
mov ecx, dword [0x599d38]
test ecx, ecx
je 0x4e38f4
mov eax, dword [ecx]
push str.Failed_to_connect_to_server__in_HttpSend
push str.HTTPConnector
push 0x55c340
push 0x32
push ecx
call dword [eax + 0x34]
add esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov dword [ebx + 0xdc], eax
mov byte [ebx + 0x118], 1
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push dword [ebx + 0xe0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x25c]
call fcn.00412890
lea ecx, [ebp - 0x244]
call fcn.00405ea0
jmp 0x4e3636
xor eax, eax
mov ecx, 0x800000
cmp dword [ebp - 0x220], 0x1bb
cmove eax, ecx
cmp dword [edi + 0x14], 8
jb 0x4e3951
mov edi, dword [edi]
mov ecx, dword [ebp - 0x21c]
cmp dword [ecx + 0x14], 8
jb 0x4e395f
mov ecx, dword [ecx]
push eax
push 0
push 0
push 0
push edi
push ecx
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov esi, eax
mov dword [ebp - 0x308], esi
test esi, esi
jne 0x4e3a25
mov ecx, dword [ebx + 0x30]
test ecx, ecx
jne 0x4e39bb
mov eax, dword [0x599d34]
test eax, eax
je 0x4e39b1
push str.Failed_to_open_http_request__in_HttpSend
push 0x55c340
push 0x55c340
push str.HTTPConnector
push str.OOBEUtils
push 0x32
call eax
add esp, 0x18
jmp 0x4e39d5
mov ecx, dword [0x599d38]
test ecx, ecx
je 0x4e39d5
mov eax, dword [ecx]
push str.Failed_to_open_http_request__in_HttpSend
push str.HTTPConnector
push 0x55c340
push 0x32
push ecx
call dword [eax + 0x34]
add esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x304]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [ebx + 0xdc], eax
mov byte [ebx + 0x118], 1
call esi
push dword [ebp - 0x30c]
call esi
push dword [ebx + 0xe0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x25c]
call fcn.00412890
lea ecx, [ebp - 0x244]
call fcn.00405ea0
jmp 0x4e3636
mov eax, dword [ebp - 0x314]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [eax + 0x6c]
test eax, eax
jle 0x4e3ae6
imul eax, eax, 0x3e8
push eax
push 0x7530
push 0xea60
push 0x1388
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x4e3ae6
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x4e3a83
mov esi, dword [eax]
call edi
push eax
push str.Failed_in_setting_timeout_for_network_call__error_received__d
push str.HTTPConnector
push 0x55c340
push 0x32
push dword [ebx + 0x30]
jmp 0x4e3ada
cmp dword [0x599d34], 0
je 0x4e3ab5
call edi
push eax
push str.Failed_in_setting_timeout_for_network_call__error_received__d
push 0x55c340
push 0x55c340
push str.HTTPConnector
push str.OOBEUtils
push 0x32
call dword [0x599d34]
add esp, 0x1c
jmp 0x4e3ae6
mov eax, dword [0x599d38]
test eax, eax
je 0x4e3ae6
mov esi, dword [eax]
call edi
push eax
push str.Failed_in_setting_timeout_for_network_call__error_received__d
push str.HTTPConnector
push 0x55c340
push 0x32
push dword [0x599d38]
call dword [esi + 0x34]
mov esi, dword [ebp - 0x308]
add esp, 0x18
mov edx, dword [ebp - 0x314]
mov ecx, esi
call fcn.004e1c20
push 0
push 0x17f0300
push 0x4e2d70
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
cmp eax, 0xffffffff
jne 0x4e3b95
mov ecx, dword [ebx + 0x30]
test ecx, ecx
jne 0x4e3b4b
mov eax, dword [0x599d34]
test eax, eax
je 0x4e3b41
push str.Failed_in_setting_status_callback_in_HttpSend
push 0x55c340
push 0x55c340
push str.HTTPConnector
push str.OOBEUtils
push 0x32
call eax
add esp, 0x18
jmp 0x4e3b65
mov ecx, dword [0x599d38]
test ecx, ecx
je 0x4e3b65
mov eax, dword [ecx]
push str.Failed_in_setting_status_callback_in_HttpSend
push str.HTTPConnector
push 0x55c340
push 0x32
push ecx
call dword [eax + 0x34]
add esp, 0x14
call edi
push dword [ebp - 0x304]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [ebx + 0xdc], eax
mov byte [ebx + 0x118], 1
call esi
push dword [ebp - 0x30c]
call esi
push dword [ebp - 0x308]
jmp 0x4e39fc
push 0x50
call fcn.0050d2f7
add esp, 4
mov dword [ebp - 0x278], eax
mov ecx, eax
call fcn.004e2070
push 0
push 0
push 0
mov edi, eax
push 0
mov dword [ebp - 0x228], edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x10], eax
cmp dword [ebx + 0x10], 0
sete al
test al, al
jne 0x4e3d42
mov edx, dword [ebp + 0x14]
test edx, edx
je 0x4e3d42
mov ecx, dword [ebx + 0x30]
test ecx, ecx
jne 0x4e3c1b
mov eax, dword [0x599d34]
test eax, eax
je 0x4e3c11
push str.Using_user_name_and_password_provided_for_proxy_authentication.
push 0x55c340
push 0x55c340
push str.HTTPConnector
push str.OOBEUtils
push 0x1e
call eax
add esp, 0x18
jmp 0x4e3c35
mov ecx, dword [0x599d38]
test ecx, ecx
je 0x4e3c38
mov eax, dword [ecx]
push str.Using_user_name_and_password_provided_for_proxy_authentication.
push str.HTTPConnector
push 0x55c340
push 0x1e
push ecx
call dword [eax + 0x34]
add esp, 0x14
mov edx, dword [ebp + 0x14]
cmp dword [ebx + 0x2c], 8
lea eax, [ebx + 0x18]
jb 0x4e3c43
mov eax, dword [eax]
cmp dword [ebx + 0x14], 8
jb 0x4e3c4d
mov ecx, dword [ebx]
jmp 0x4e3c4f
mov ecx, ebx
push 0
push eax
push ecx
push edx
push 1
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetCredentials]
test eax, eax
jne 0x4e3d3e
mov esi, dword [ebx + 0x30]
test esi, esi
je 0x4e3c8c
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [esi]
call eax
push eax
push str.Failed_in_setting_proxycredentials_in_HttpSend_error:_d
push str.HTTPConnector
push 0x55c340
push 0x32
push dword [ebx + 0x30]
jmp 0x4e3cee
cmp dword [0x599d34], 0
je 0x4e3cc3
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
push eax
push str.Failed_in_setting_proxycredentials_in_HttpSend_error:_d
push 0x55c340
push 0x55c340
push str.HTTPConnector
push str.OOBEUtils
push 0x32
call dword [0x599d34]
add esp, 0x1c
jmp 0x4e3cf4
mov esi, dword [0x599d38]
test esi, esi
je 0x4e3cf4
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [esi]
call eax
push eax
push str.Failed_in_setting_proxycredentials_in_HttpSend_error:_d
push str.HTTPConnector
push 0x55c340
push 0x32
push dword [0x599d38]
call dword [esi + 0x34]
add esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x304]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [ebx + 0xdc], eax
mov byte [ebx + 0x118], 1
call esi
push dword [ebp - 0x30c]
call esi
push dword [ebp - 0x308]
call esi
push dword [ebx + 0xe0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
mov ecx, edi
call fcn.004e3320
jmp 0x4e391a
mov byte [edi + 0x34], 1
mov ecx, dword [ebp - 0x21c]
mov edx, 0x5660c8
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x30], 0xffffffff
mov eax, dword [ebx + 0x30]
mov dword [edi + 0x44], eax
mov eax, dword [ebx + 0xe4]
mov dword [edi + 0x4c], eax
call fcn.004170b0
push edi
test al, al
je 0x4e3d90
push 0
push 0
push 0
jmp 0x4e3dad
mov eax, dword [ebp - 0x234]
lea ecx, [ebp - 0x244]
cmp dword [ebp - 0x230], 0x10
push eax
cmovae ecx, dword [ebp - 0x244]
push eax
push ecx
push 0
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x4e3e1b
mov ecx, dword [ebx + 0x30]
test ecx, ecx
jne 0x4e3dfc
mov eax, dword [0x599d34]
test eax, eax
je 0x4e3dee
push str.Failed_in_making_http_request__in_HttpSend
push 0x55c340
push 0x55c340
push str.HTTPConnector
push str.OOBEUtils
push 0x32
call eax
jmp 0x4e3cf1
mov ecx, dword [0x599d38]
test ecx, ecx
je 0x4e3cf4
mov eax, dword [ecx]
push str.Failed_in_making_http_request__in_HttpSend
push str.HTTPConnector
push 0x55c340
push 0x32
push ecx
call dword [eax + 0x34]
add esp, 0x14
jmp 0x4e3cf4
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x218], eax
mov eax, dword [ebx + 0xe0]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x314]
mov eax, dword [eax + 0x6c]
add eax, 5
imul eax, eax, 0x3e8
push eax
push 0
lea eax, [ebp - 0x218]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push 0
push 0xffffffffffffffff
push 0
push esi
mov dword [ebp - 0x278], eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
mov ecx, dword [edi + 0x38]
cmp ecx, 0xbe
jne 0x4e4045
cmp dword [ebx + 0x10], 0
sete al
test al, al
jne 0x4e4045
mov ecx, dword [ebx + 0x30]
test ecx, ecx
jne 0x4e3ec1
mov eax, dword [0x599d34]
test eax, eax
je 0x4e3eb7
push str.Using_user_name_and_password_provided_for_proxy_authentication.
push 0x55c340
push 0x55c340
push str.HTTPConnector
push str.OOBEUtils
push 0x1e
call eax
add esp, 0x18
jmp 0x4e3edb
mov ecx, dword [0x599d38]
test ecx, ecx
je 0x4e3edb
mov eax, dword [ecx]
push str.Using_user_name_and_password_provided_for_proxy_authentication.
push str.HTTPConnector
push 0x55c340
push 0x1e
push ecx
call dword [eax + 0x34]
add esp, 0x14
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x224]
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryAuthSchemes]
test eax, eax
jne 0x4e3fb1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebx + 0xe0]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0xdc], eax
mov byte [ebx + 0x118], 1
call esi
push dword [edi + 0x10]
call esi
push dword [ebp - 0x304]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call esi
push dword [ebp - 0x30c]
call esi
push dword [ebp - 0x308]
call esi
mov ecx, dword [ebx + 0x30]
test ecx, ecx
jne 0x4e3f8c
mov eax, dword [0x599d34]
test eax, eax
je 0x4e3f7e
push dword [ebx + 0xdc]
push str.Error_occured_while_fetching_proxy_authentication_type__d
push 0x55c340
push 0x55c340
push str.HTTPConnector
push str.OOBEUtils
push 0x32
call eax
add esp, 0x1c
jmp 0x4e391a
mov ecx, dword [0x599d38]
test ecx, ecx
je 0x4e391a
push dword [ebx + 0xdc]
mov eax, dword [ecx]
push str.Error_occured_while_fetching_proxy_authentication_type__d
push str.HTTPConnector
push 0x55c340
push 0x32
push ecx
call dword [eax + 0x34]
add esp, 0x18
jmp 0x4e391a
mov ecx, dword [ebp - 0x224]
call fcn.004e3340
push dword [ebx + 0xe0]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, eax
call esi
mov eax, dword [ebp - 0x228]
push dword [eax + 0x10]
call esi
push dword [ebp - 0x304]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call esi
push dword [ebp - 0x30c]
call esi
push dword [ebp - 0x308]
call esi
mov edx, dword [ebp - 0x310]
mov ecx, ebx
push edi
push edx
push dword [ebp - 0x318]
push dword [ebp - 0x314]
call fcn.004e34a0
lea ecx, [ebp - 0x25c]
mov esi, eax
call fcn.00412890
lea ecx, [ebp - 0x244]
call fcn.00405ea0
lea ecx, [ebp - 0x274]
call fcn.00405ea0
lea ecx, [ebp - 0x294]
call fcn.00412890
mov eax, esi
jmp 0x4e4a19
cmp ecx, 0x191
jne 0x4e41aa
cmp dword [ebx + 0xf8], 0
sete al
test al, al
jne 0x4e41aa
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x2c8]
push eax
lea eax, [ebp - 0x228]
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryAuthSchemes]
test eax, eax
jne 0x4e40cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebx + 0xe0]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0xdc], eax
mov byte [ebx + 0x118], 1
call esi
push dword [edi + 0x10]
call esi
push dword [ebp - 0x304]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call esi
push dword [ebp - 0x30c]
call esi
push dword [ebp - 0x308]
call esi
jmp 0x4e391a
mov ecx, dword [ebp - 0x228]
call fcn.004e3340
cmp dword [ebx + 0x114], 8
lea ecx, [ebx + 0x100]
mov edx, eax
jb 0x4e40ea
mov ecx, dword [ecx]
cmp dword [ebx + 0xfc], 8
lea eax, [ebx + 0xe8]
jb 0x4e40fb
mov eax, dword [eax]
push 0
push ecx
push eax
push edx
push dword [ebp - 0x224]
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetCredentials]
test eax, eax
je 0x4e4083
push 0
push 0x17f0000
push 0x4e2d70
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
cmp eax, 0xffffffff
je 0x4e4083
mov ecx, dword [ebp - 0x21c]
mov edx, 0x5660c8
call fcn.004170b0
push edi
test al, al
je 0x4e414e
push 0
push 0
push 0
jmp 0x4e416b
mov eax, dword [ebp - 0x234]
lea ecx, [ebp - 0x244]
cmp dword [ebp - 0x230], 0x10
push eax
cmovae ecx, dword [ebp - 0x244]
push eax
push ecx
push 0
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x4e4083
mov eax, dword [ebp - 0x314]
imul eax, dword [eax + 0x6c], 0x3e8
push eax
push 0
lea eax, [ebp - 0x218]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push 0
push 0xffffffffffffffff
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
xor eax, eax
mov dword [ebp - 0x300], 0
mov dword [ebp - 0x2b0], 7
mov dword [ebp - 0x2b4], 0
mov word [ebp - 0x2c4], ax
push eax
mov byte [ebp - 4], 6
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x300]
push eax
lea eax, [ebp - 0x22c]
push eax
push 0
push 0x20000013
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
cmp dword [edi + 0x3c], 0
mov edx, dword [edi + 0x38]
mov ecx, dword [ebx + 0x30]
setne al
mov byte [ebx + 0x118], al
mov eax, dword [edi + 0x40]
mov dword [ebx + 0xdc], eax
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x224], edx
mov dword [ebx + 0x11c], eax
test ecx, ecx
jne 0x4e4263
mov eax, dword [0x599d34]
test eax, eax
je 0x4e4259
push edx
push dword [ebp - 0x22c]
push str.The_http_request_returned_HTTP_Status:_d_HttpCommunicator_error:_d
push 0x55c340
push 0x55c340
push str.HTTPConnector
push str.OOBEUtils
push 0x1e
call eax
add esp, 0x20
jmp 0x4e4284
mov ecx, dword [0x599d38]
test ecx, ecx
je 0x4e428a
mov eax, dword [ecx]
push edx
push dword [ebp - 0x22c]
push str.The_http_request_returned_HTTP_Status:_d_HttpCommunicator_error:_d
push str.HTTPConnector
push 0x55c340
push 0x1e
push ecx
call dword [eax + 0x34]
add esp, 0x1c
mov ecx, dword [0x599d38]
mov eax, dword [ebp - 0x278]
test eax, eax
je 0x4e4335
cmp eax, 0x102
je 0x4e42ad
cmp eax, 1
jne 0x4e4335
mov dword [edi + 0x38], eax
jmp 0x4e42b4
mov dword [edi + 0x38], 2
xor eax, eax
mov dword [ebp - 0x298], 7
mov dword [ebp - 0x29c], 0
mov word [ebp - 0x2ac], ax
push ecx
lea edx, [ebp - 0x2ac]
mov byte [ebp - 4], 7
mov ecx, edi
call fcn.004d76e0
add esp, 4
mov dword [ebp - 0x2c8], 0x59a234
push 0x59a24c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 8
lea eax, [ebp - 0x2ac]
push dword [ebp - 0x2c8]
push eax
push ecx
lea eax, [ebp - 0x27c]
push eax
call fcn.00417c20
push 0x59a24c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp - 0x2ac]
call fcn.00412890
mov ecx, dword [0x599d38]
mov dword [ebp - 0x2d0], 0xf
mov dword [ebp - 0x2d4], 0
mov byte [ebp - 0x2e4], 0
mov byte [ebp - 4], 9
mov eax, dword [edi + 0x38]
cmp eax, 2
je 0x4e445b
cmp eax, 1
je 0x4e445b
mov eax, dword [edi]
test eax, eax
je 0x4e445b
cmp dword [edi + 0xc], 1
jne 0x4e445b
push dword [edi + 8]
lea ecx, [ebp - 0x2e4]
push eax
call fcn.00408580
cmp dword [ebp - 0x2d0], 0x10
lea ecx, [ebp - 0x2e4]
mov edx, dword [ebp - 0x310]
cmovae ecx, dword [ebp - 0x2e4]
push 0
call fcn.004d7470
mov edx, dword [ebx + 0x30]
add esp, 4
test edx, edx
je 0x4e43e0
mov eax, dword [ebp - 0x310]
cmp dword [eax + 0x14], 8
jb 0x4e43c7
mov ecx, dword [eax]
jmp 0x4e43c9
mov ecx, eax
mov eax, dword [edx]
push ecx
push str.Response_Message____n__s
push str.HTTPConnector
push 0x55c340
push 0x14
push edx
jmp 0x4e444f
cmp dword [0x599d34], 0
je 0x4e441e
mov eax, dword [ebp - 0x310]
cmp dword [eax + 0x14], 8
jb 0x4e43f7
mov eax, dword [eax]
push eax
push str.Response_Message____n__s
push 0x55c340
push 0x55c340
push str.HTTPConnector
push str.OOBEUtils
push 0x14
call dword [0x599d34]
add esp, 0x1c
jmp 0x4e4455
mov ecx, dword [0x599d38]
test ecx, ecx
je 0x4e445b
mov eax, dword [ebp - 0x310]
cmp dword [eax + 0x14], 8
jb 0x4e4438
mov edx, dword [eax]
jmp 0x4e443a
mov edx, eax
mov eax, dword [ecx]
push edx
push str.Response_Message____n__s
push str.HTTPConnector
push 0x55c340
push 0x14
push ecx
call dword [eax + 0x34]
add esp, 0x18
mov ecx, dword [0x599d38]
mov eax, dword [edi + 0x38]
cmp eax, 2
je 0x4e4472
cmp eax, 1
je 0x4e4472
push ecx
mov ecx, edi
call fcn.004e3320
jmp 0x4e44d8
mov edx, dword [ebx + 0x30]
test edx, edx
je 0x4e448f
mov eax, dword [edx]
push str.Send_timed_out___So_callback_will_free_the_memory
push str.HTTPConnector
push 0x55c340
push 0x14
push edx
jmp 0x4e44d2
mov eax, dword [0x599d34]
test eax, eax
je 0x4e44ba
push str.Send_timed_out___So_callback_will_free_the_memory
push 0x55c340
push 0x55c340
push str.HTTPConnector
push str.OOBEUtils
push 0x14
call eax
add esp, 0x18
jmp 0x4e44d8
test ecx, ecx
je 0x4e44d8
mov eax, dword [ecx]
push str.Send_timed_out___So_callback_will_free_the_memory
push str.HTTPConnector
push 0x55c340
push 0x14
push ecx
call dword [eax + 0x34]
add esp, 0x14
push 0
lea eax, [ebp - 0x300]
push eax
push 0
push 0
push 0x16
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4e45d0
call edi
cmp eax, 0x7a
jne 0x4e4650
mov eax, dword [ebp - 0x300]
xor ecx, ecx
shr eax, 1
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0050d6bb
add esp, 4
mov dword [ebp - 0x21c], eax
lea ecx, [ebp - 0x300]
push 0
push ecx
push eax
push 0
push 0x16
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x4e45b0
call edi
push esi
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call esi
push dword [ebp - 0x30c]
call esi
push dword [ebp - 0x304]
call esi
mov esi, dword [ebp - 0x21c]
push esi
call fcn.0050ce9e
mov ecx, dword [ebx + 0x30]
add esp, 4
test ecx, ecx
je 0x4e4586
mov eax, dword [ecx]
push str.Failed_in_quering_WinHttpHeaders_with_available_memory
push ecx
call dword [eax + 4]
add esp, 8
call edi
lea ecx, [ebp - 0x2e4]
mov dword [ebx + 0xdc], eax
mov byte [ebx + 0x118], 1
call fcn.00405ea0
lea ecx, [ebp - 0x2c4]
call fcn.00412890
jmp 0x4e391a
mov esi, dword [ebp - 0x21c]
lea ecx, [ebp - 0x2c4]
push esi
call fcn.004127f0
push esi
call fcn.0050ce9e
add esp, 4
jmp 0x4e4650
mov esi, dword [ebx + 0x30]
test esi, esi
je 0x4e45f2
mov esi, dword [esi]
call edi
push eax
push str.Failed_in_quering_WinHttpHeaders_error:_d
push str.HTTPConnector
push 0x55c340
push 0x28
push dword [ebx + 0x30]
jmp 0x4e464a
cmp dword [0x599d34], 0
je 0x4e4624
call edi
push eax
push str.Failed_in_quering_WinHttpHeaders_error:_d
push 0x55c340
push 0x55c340
push str.HTTPConnector
push str.OOBEUtils
push 0x28
call dword [0x599d34]
add esp, 0x1c
jmp 0x4e4650
mov edx, dword [0x599d38]
test edx, edx
je 0x4e4650
mov esi, dword [edx]
call edi
push eax
push str.Failed_in_quering_WinHttpHeaders_error:_d
push str.HTTPConnector
push 0x55c340
push 0x28
push dword [0x599d38]
call dword [esi + 0x34]
add esp, 0x18
mov esi, dword [ebp - 0x318]
test esi, esi
je 0x4e4717
cmp dword [ebp - 0x2b4], 0
sete al
test al, al
jne 0x4e4717
mov edx, dword [ebx + 0x30]
test edx, edx
jne 0x4e46c2
mov ecx, dword [0x599d34]
test ecx, ecx
je 0x4e46b8
cmp dword [ebp - 0x2b0], 8
lea eax, [ebp - 0x2c4]
cmovae eax, dword [ebp - 0x2c4]
push eax
push str.Response_header_received_from_the_http_request__s
push 0x55c340
push 0x55c340
push str.HTTPConnector
push str.OOBEUtils
push 0xa
call ecx
add esp, 0x1c
jmp 0x4e46f1
mov edx, dword [0x599d38]
test edx, edx
je 0x4e46f1
cmp dword [ebp - 0x2b0], 8
lea eax, [ebp - 0x2c4]
mov ecx, dword [edx]
cmovae eax, dword [ebp - 0x2c4]
push eax
push str.Response_header_received_from_the_http_request__s
push str.HTTPConnector
push 0x55c340
push 0xa
push edx
call dword [ecx + 0x34]
add esp, 0x18
mov esi, dword [ebx + 0x30]
lea eax, [ebp - 0x2c4]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00413a00
mov edx, esi
mov esi, dword [ebp - 0x318]
mov ecx, esi
call fcn.004e2930
add esp, 0x18
push str.Content_Encoding
lea ecx, [ebp - 0x2ac]
mov dword [ebp - 0x21c], 0
call fcn.00412950
lea eax, [ebp - 0x2ac]
mov ecx, esi
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00414660
lea ecx, [ebp - 0x2ac]
call fcn.00412890
mov eax, dword [ebp - 0x21c]
cmp eax, dword [esi]
je 0x4e482f
push ecx
push str.gzip
lea ecx, [eax + 0x28]
call fcn.004c4030
cmp eax, 0xffffffff
je 0x4e482f
xor eax, eax
mov dword [ebp - 0x2e8], 7
mov dword [ebp - 0x2ec], 0
mov word [ebp - 0x2fc], ax
lea edx, [ebp - 0x2fc]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2e4]
call fcn.004d7d30
test al, al
je 0x4e47ca
mov eax, dword [ebp - 0x310]
lea ecx, [ebp - 0x2fc]
cmp eax, ecx
je 0x4e4820
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.00412e90
jmp 0x4e4820
mov ecx, dword [ebx + 0x30]
test ecx, ecx
jne 0x4e4806
mov eax, dword [0x599d34]
test eax, eax
je 0x4e47fc
push str.Some_error_occured_in_unzip
push 0x55c340
push 0x55c340
push str.HTTPConnector
push str.OOBEUtils
push 0x28
call eax
add esp, 0x18
jmp 0x4e4820
mov ecx, dword [0x599d38]
test ecx, ecx
je 0x4e4820
mov eax, dword [ecx]
push str.Some_error_occured_in_unzip
push str.HTTPConnector
push 0x55c340
push 0x28
push ecx
call dword [eax + 0x34]
add esp, 0x14
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 9
call fcn.00412890
cmp dword [ebp - 0x224], 0
jne 0x4e494a
mov eax, dword [ebp - 0x314]
cmp byte [eax + 0x75], 0
je 0x4e494a
cmp dword [ebp - 0x220], 0x1bb
jne 0x4e494a
lea eax, [ebp - 0x278]
mov dword [ebp - 0x220], 0
push eax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x278], 4
push eax
push 0x4e
push dword [ebp - 0x308]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryOption]
test eax, eax
jne 0x4e4897
call edi
jmp 0x4e494a
mov eax, dword [ebp - 0x220]
mov esi, dword [sym.imp.CRYPT32.dll_CertGetIssuerCertificateFromStore]
nop dword [eax]
nop word [eax + eax]
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x228], 0
push ecx
push 0
push eax
push dword [eax + 0x10]
mov edi, eax
call esi
test eax, eax
jne 0x4e48b0
mov dword [ebp - 0x298], 7
mov dword [ebp - 0x29c], eax
mov word [ebp - 0x2ac], ax
lea edx, [ebp - 0x2ac]
mov byte [ebp - 4], 0xb
mov ecx, edi
call fcn.004ec670
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x334]
call fcn.004e4c70
add esp, 4
mov ecx, dword [ebp - 0x318]
push eax
mov byte [ebp - 4], 0xc
call fcn.004e4f70
push eax
add eax, 0x10
push eax
push ecx
mov ecx, dword [ebp - 0x318]
lea eax, [ebp - 0x2cc]
push eax
call fcn.00414f90
lea ecx, [ebp - 0x334]
call fcn.004e4a40
lea ecx, [ebp - 0x2ac]
call fcn.00412890
push dword [ebx + 0xe0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x308]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call esi
push dword [ebp - 0x30c]
call esi
push dword [ebp - 0x304]
call esi
lea ecx, [ebp - 0x2e4]
call fcn.00405ea0
lea ecx, [ebp - 0x2c4]
call fcn.00412890
lea ecx, [ebp - 0x25c]
call fcn.00412890
lea ecx, [ebp - 0x244]
call fcn.00405ea0
lea ecx, [ebp - 0x274]
call fcn.00405ea0
lea ecx, [ebp - 0x294]
call fcn.00412890
mov eax, dword [ebp - 0x224]
jmp 0x4e4a19
mov ecx, dword [ebx + 0x30]
test ecx, ecx
jne 0x4e49fa
mov eax, dword [0x599d34]
test eax, eax
je 0x4e49f0
push str.Invalid_arguments_to_SendHTTPRequest
push 0x55c340
push 0x55c340
push str.HTTPConnector
push str.OOBEUtils
push 0x32
call eax
add esp, 0x18
jmp 0x4e4a14
mov ecx, dword [0x599d38]
test ecx, ecx
je 0x4e4a14
mov eax, dword [ecx]
push str.Invalid_arguments_to_SendHTTPRequest
push str.HTTPConnector
push 0x55c340
push 0x32
push ecx
call dword [eax + 0x34]
add esp, 0x14
mov eax, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050ce8d
mov esp, ebp
pop ebp
ret 0x10