Function at 0x412700
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43759d
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x451008]
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
xor bl, bl
call fcn.00411e70
test eax, eax
jne 0x412783
push 0x104
lea eax, [ebp - 0x218]
xor esi, esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x41277c
push 8
call fcn.0041ab28
add esp, 4
mov dword [ebp - 0x220], eax
lea ecx, [ebp - 0x218]
mov dword [ebp - 4], esi
push ecx
mov ecx, eax
call fcn.0040d2b0
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.004114a0
mov ecx, eax
call fcn.0040e6a0
mov edi, eax
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpOpen]
test eax, eax
je 0x412821
mov edx, dword [ebp - 0x230]
test edx, edx
je 0x412821
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x21c], eax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4127c0
sub ecx, dword [ebp - 0x21c]
sar ecx, 1
je 0x412821
mov esi, dword [ebp - 0x22c]
test esi, esi
je 0x41281b
mov ecx, esi
lea eax, [ecx + 2]
mov dword [ebp - 0x21c], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4127f0
sub ecx, dword [ebp - 0x21c]
sar ecx, 1
je 0x41281b
push 0
push esi
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpOpen]
push edx
push 3
push edi
call esi
mov dword [0x453438], eax
jmp 0x412826
push 0
push 0
jmp 0x412808
mov eax, dword [0x453438]
test eax, eax
jne 0x41283e
push eax
push eax
push eax
push eax
push edi
call esi
mov dword [0x453438], eax
test eax, eax
je 0x41293f
push 4
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0xa00
push ecx
push 0x54
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x412920
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x14
mov esi, eax
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], 9
call fcn.0041b26a
add esp, 4
mov ecx, eax
mov eax, dword [ebp - 0x224]
inc eax
mov dword [ebp - 0x228], ecx
push 0xffffffffffffffff
push str.Error:__d
push eax
push ecx
lea eax, [ebp - 0x220]
push eax
call fcn.00426d70
mov ecx, dword [ebp - 0x224]
xor edx, edx
add esp, 0x14
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x224], ecx
push esi
lea eax, [ebp - 0x228]
mov dword [ebp - 4], 1
push eax
push 0x3a
push str.ODownload::initialise
push str.d:jenkinsworkspaceclient3.lib.networklib_networklib_srcodownload.cpp
push edx
call fcn.00416c20
mov dword [ebp - 4], 0xffffffff
add esp, 0x18
mov eax, dword [ebp - 0x228]
test eax, eax
je 0x412916
push 2
push eax
call fcn.0041aef0
add esp, 8
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
push 8
mov bl, 1
call fcn.0041ab28
mov dword [ebp - 0x220], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
test edi, edi
je 0x41294e
push 2
push edi
call fcn.0041aef0
add esp, 8
mov al, bl
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.0041ab17
mov esp, ebp
pop ebp
ret