Function at 0x10002760
Capabilities:
Initialize winhttp library
Prepare http request
Read http header
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10066d6c
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x100a7008]
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 ecx, 0x100aa321
call fcn.10066665
cmp dword [0x100a7f54], 0
je 0x1000285b
push 0
mov ecx, 0x100a7f50
call fcn.10018470
mov eax, dword [0x100a7f54]
cmp byte [eax + 0x54], 0
je 0x1000285b
cmp dword [eax + 0x58], 5
jb 0x1000285b
mov bl, byte [eax + 0x5c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 3
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x28]
push 0x24
push str.RCCheckWinHttp::IsWinHttpConnectOk__
call fcn.10003b10
push 0x1a
push str.RC::RCCheckWinHttp::IsWinHttpConnectOk
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhino_safe_src_netrepair_netrepairdll_src_rccheckwinhttp.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x100a7f50
push eax
push 5
call fcn.100194c0
test bl, bl
je 0x1000283e
lea eax, [ebp - 0x28]
mov ecx, 0x100a7f50
push eax
call fcn.10019830
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.100039c0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 9
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 4], 0xc
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 4], 0xd
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x74]
push eax
call fcn.10002d10
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.10002e20
xor esi, esi
xor edi, edi
mov ecx, 1
test al, al
je 0x1000299c
cmp dword [0x100a7f54], esi
je 0x10002965
push edi
mov ecx, 0x100a7f50
call fcn.10018470
mov eax, dword [0x100a7f54]
cmp byte [eax + 0x54], 0
je 0x10002965
cmp dword [eax + 0x58], 5
jb 0x10002965
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.10003550
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x28]
push 0x16
push str.isGetProxyData_is_TRUE
call fcn.10003b10
push 0x25
push str.RC::RCCheckWinHttp::IsWinHttpConnectOk
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhino_safe_src_netrepair_netrepairdll_src_rccheckwinhttp.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x100a7f50
push eax
push 5
call fcn.100194c0
test bl, bl
je 0x10002951
lea eax, [ebp - 0x28]
mov ecx, 0x100a7f50
push eax
call fcn.10019830
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x28]
call fcn.100039c0
mov byte [ebp - 4], 0x13
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x48]
mov ecx, 3
test eax, eax
je 0x1000297c
cmp dword [ebp - 0x44], 8
lea esi, [ebp - 0x58]
cmovae esi, dword [ebp - 0x58]
mov edx, dword [ebp - 0x30]
test edx, edx
je 0x1000298e
cmp dword [ebp - 0x2c], 8
lea edi, [ebp - 0x40]
cmovae edi, dword [ebp - 0x40]
test eax, eax
jne 0x1000299c
test edx, edx
mov eax, 1
cmove ecx, eax
push 0
push edi
push esi
push ecx
push str.User_Agent_1.0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov esi, eax
mov byte [ebp - 0x75], 0
test esi, esi
jne 0x10002a53
cmp dword [0x100a7f54], eax
je 0x10002b0e
push eax
mov ecx, 0x100a7f50
call fcn.10018470
mov eax, dword [0x100a7f54]
cmp byte [eax + 0x54], 0
je 0x10002b0e
cmp dword [eax + 0x58], 5
jb 0x10002b0e
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.10003550
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x28]
push 0x10
push str.hSession__NULL
call fcn.10003b10
push 0x41
push str.RC::RCCheckWinHttp::IsWinHttpConnectOk
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhino_safe_src_netrepair_netrepairdll_src_rccheckwinhttp.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x100a7f50
push eax
push 5
call fcn.100194c0
test bl, bl
je 0x10002a36
lea eax, [ebp - 0x28]
mov ecx, 0x100a7f50
push eax
call fcn.10019830
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x28]
call fcn.100039c0
mov byte [ebp - 4], 0x13
mov byte [ebp - 4], 0x13
mov byte [ebp - 0x75], 0
jmp 0x10002cad
push 0x2710
push 0x2710
push 0x2710
push 0x2710
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x10002b17
cmp dword [0x100a7f54], eax
je 0x10002b07
push eax
mov ecx, 0x100a7f50
call fcn.10018470
mov eax, dword [0x100a7f54]
cmp byte [eax + 0x54], 0
je 0x10002b07
cmp dword [eax + 0x58], 5
jb 0x10002b07
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.10003550
mov byte [ebp - 4], 0x2a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push str.WinHttpSetTimeouts_failed__error:_d
push eax
call fcn.10025680
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x100a7f50
push 0x48
push str.RC::RCCheckWinHttp::IsWinHttpConnectOk
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhino_safe_src_netrepair_netrepairdll_src_rccheckwinhttp.cpp
push eax
push 5
call fcn.100194c0
test bl, bl
je 0x10002af3
lea eax, [ebp - 0x28]
mov ecx, 0x100a7f50
push eax
call fcn.10019830
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x28]
call fcn.100039c0
mov byte [ebp - 4], 0x13
mov byte [ebp - 4], 0x13
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov byte [ebp - 0x75], 0
jmp 0x10002cad
cmp dword [ebp - 0x60], 8
lea eax, [ebp - 0x74]
push 0
cmovae eax, dword [ebp - 0x74]
push 0x50
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x10002caa
push 0
push 0
push 0
push str.HTTP_1.1
push 0x1007fc3c
push str.HEAD
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov edi, eax
test edi, edi
je 0x10002ca5
push 0
push 0
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x10002ca2
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x10002ca2
push 0
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0
push eax
push 0
push 0
push 0x16
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x100a7f50
push 5
cmp eax, 0x7a
jne 0x10002c2e
mov byte [ebp - 0x75], 1
call fcn.10019430
mov dword [ebp - 0x80], eax
test eax, eax
je 0x10002ca2
lea ecx, [ebp - 0x28]
call fcn.10003550
mov byte [ebp - 4], 0x3b
lea ecx, [ebp - 0x28]
push 0x17
push str.WinHttpQueryHeaders_OK_
call fcn.10003b10
push 0x67
push str.RC::RCCheckWinHttp::IsWinHttpConnectOk
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhino_safe_src_netrepair_netrepairdll_src_rccheckwinhttp.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x100a7f50
push eax
push 5
call fcn.100194c0
cmp dword [ebp - 0x80], 1
jbe 0x10002c1c
lea eax, [ebp - 0x28]
mov ecx, 0x100a7f50
push eax
call fcn.10019830
mov byte [ebp - 4], 0x3c
lea ecx, [ebp - 0x28]
call fcn.100039c0
mov byte [ebp - 4], 0x13
jmp 0x10002c9e
call fcn.10019430
mov dword [ebp - 0x80], eax
test eax, eax
je 0x10002ca2
lea ecx, [ebp - 0x28]
call fcn.10003550
mov byte [ebp - 4], 0x40
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push str.WinHttpQueryHeaders_failed___error:_d
push eax
call fcn.10025680
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x100a7f50
push 0x6b
push str.RC::RCCheckWinHttp::IsWinHttpConnectOk
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhino_safe_src_netrepair_netrepairdll_src_rccheckwinhttp.cpp
push eax
push 5
call fcn.100194c0
cmp dword [ebp - 0x80], 1
jbe 0x10002c8e
lea eax, [ebp - 0x28]
mov ecx, 0x100a7f50
push eax
call fcn.10019830
mov byte [ebp - 4], 0x41
lea ecx, [ebp - 0x28]
call fcn.100039c0
mov byte [ebp - 4], 0x13
mov byte [ebp - 4], 0x13
push edi
call ebx
push dword [ebp - 0x7c]
call ebx
push esi
call ebx
mov byte [ebp - 4], 0x45
lea ecx, [ebp - 0x74]
call fcn.100039c0
mov byte [ebp - 4], 0x12
mov byte [ebp - 4], 0x49
lea ecx, [ebp - 0x40]
call fcn.100039c0
mov byte [ebp - 4], 0xd
mov dword [ebp - 4], 0x4d
lea ecx, [ebp - 0x58]
call fcn.100039c0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x75]
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.1006413c
mov esp, ebp
pop ebp
ret