Function at 0x101920e0
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101fcc3c
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x10285124]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xorps xmm0, xmm0
movups xmmword [ebp - 0x110], xmm0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xec]
push 1
push 0x10246a40
mov dword [ebp - 0xd8], 7
mov dword [ebp - 0xdc], eax
mov word [ebp - 0xec], ax
call fcn.100a7e70
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 2
call fcn.1011c490
mov byte [ebp - 4], 3
mov ecx, dword [esi + 0x17c]
cmp ecx, 2
jne 0x10192193
lea eax, [ecx - 1]
xor edi, edi
jmp 0x101923ab
test ecx, ecx
je 0x101922cb
cmp ecx, 1
je 0x101922cb
lea edi, [esi + 0xd0]
lea eax, [ebp - 0xec]
cmp eax, edi
je 0x101921c0
push 0xffffffffffffffff
push 0
push edi
mov ecx, eax
call fcn.100a5420
lea eax, [edi + 0x18]
push eax
lea ecx, [ebp - 0xd4]
call fcn.100e54e0
lea ecx, [ebp - 0xec]
call fcn.1011f8e0
test al, al
mov eax, dword [ebp - 0x44]
jne 0x10192203
test eax, eax
jne 0x10192205
cmp dword [ebp - 0xa8], 8
lea edi, [ebp - 0xbc]
mov eax, 3
cmovae edi, dword [ebp - 0xbc]
jmp 0x101923ab
test eax, eax
jle 0x101922a3
sub esp, 8
lea ecx, [ebp - 0x1a8]
call fcn.100b8e80
mov byte [ebp - 4], 5
call fcn.1019cdcc
push eax
lea eax, [ebp - 0x100]
push eax
mov eax, dword [ebp - 0x1a8]
lea ecx, [ebp - 0x1a8]
mov eax, dword [eax + 4]
add ecx, eax
call fcn.100b9b10
lea ecx, [ebp - 0x100]
call fcn.100bed70
push dword [ebp - 0x44]
lea edx, [ebp - 0xbc]
lea ecx, [ebp - 0x1a8]
call fcn.10105bf0
mov edx, 0x1024fc20
mov ecx, eax
call fcn.100bc0c0
mov ecx, eax
call fcn.10195680
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1a8]
call fcn.100b8da0
push eax
lea ecx, [ebp - 0x40]
call fcn.100abd10
lea ecx, [ebp - 0x28]
call fcn.100a5560
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 3
call fcn.100b8480
jmp 0x101922b6
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x40]
call fcn.100a5420
cmp dword [ebp - 0x2c], 8
lea edi, [ebp - 0x40]
mov eax, 3
cmovae edi, dword [ebp - 0x40]
jmp 0x101923ab
push ecx
xor edi, edi
call fcn.101911f0
add esp, 4
mov dword [ebp - 0x14], edi
test al, al
mov ecx, 4
mov eax, edi
xorps xmm0, xmm0
cmovne eax, ecx
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0xfc], eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], cl
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpGetDefaultProxyConfiguration]
test eax, eax
je 0x1019230a
cmp dword [ebp - 0x1c], 1
jne 0x10192375
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x10192375
cmp dword [ebp - 0x110], 0
je 0x1019232d
mov byte [esi + 0x299], 1
jmp 0x10192375
mov eax, dword [ebp - 0x10c]
test eax, eax
je 0x1019234c
push eax
lea ecx, [esi + 0x29c]
mov byte [esi + 0x299], 1
call fcn.100a7f70
jmp 0x10192375
mov eax, dword [ebp - 0x108]
test eax, eax
je 0x10192375
mov edi, eax
mov dword [ebp - 0xfc], 3
mov eax, dword [ebp - 0x104]
xor ecx, ecx
test eax, eax
cmovne ecx, eax
mov dword [ebp - 0xf4], ecx
cmp dword [esi + 0x17c], 1
jne 0x10192385
mov byte [esi + 0x299], 1
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10192397
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x101923a5
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0xfc]
push 0x10000000
push dword [ebp - 0xf4]
push edi
push eax
push 0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov edi, eax
mov dword [esi + 0x290], edi
test edi, edi
jne 0x101923d3
push str.Error_opening_session
jmp 0x1019240f
push 0
push 0x3e8
push dword [esi + 0x1dc]
push dword [esi + 0x1d8]
call fcn.101e01c0
mov ecx, 1
mov dword [ebp - 0xf4], edx
cmp eax, ecx
cmovl eax, ecx
push eax
push eax
push eax
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x1019243d
push str.Error_setting_timeouts
lea ecx, [ebp - 0x28]
call fcn.100a7530
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x1019257b
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.100a5620
jmp 0x1019257b
cmp byte [esi + 0x1d0], 0
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
je 0x10192477
push 4
lea eax, [ebp - 0xf4]
mov dword [ebp - 0xf4], 1
push eax
push 0x49
push dword [esi + 0x290]
call edi
test eax, eax
jne 0x10192477
push str.Error_setting_options
jmp 0x1019255f
push ecx
mov dword [ebp - 0xf0], 0x2a0
call fcn.101911f0
add esp, 4
test al, al
je 0x10192498
add dword [ebp - 0xf0], 0x800
push 4
lea eax, [ebp - 0xf0]
push eax
push 0x54
push dword [esi + 0x290]
call edi
test eax, eax
jne 0x101924b9
push str.Error_setting_session_options
jmp 0x1019255f
cmp dword [esi + 0x234], 0
je 0x101924e9
mov ecx, dword [esi + 0x234]
mov eax, dword [esi + 0x290]
mov dword [ebp - 0xf4], eax
test ecx, ecx
jne 0x101924dd
call fcn.1019b77f
mov eax, dword [ecx]
lea edx, [ebp - 0xf4]
push edx
call dword [eax + 8]
push 0
push 0x17f0c00
push 0x10194780
push dword [esi + 0x290]
call dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
cmp eax, 0xffffffff
jne 0x1019250d
push str.Error_registering_callback
jmp 0x1019255f
lea ecx, [esi + 0x14]
call fcn.10197470
test al, al
je 0x1019252f
cmp byte [esi + 0x298], 0
mov eax, 0x50
mov ecx, 0x1bb
cmovne eax, ecx
jmp 0x10192535
mov eax, dword [esi + 0xbc]
cmp dword [esi + 0x58], 8
lea ecx, [esi + 0x44]
jb 0x10192540
mov ecx, dword [ecx]
push 0
push eax
push ecx
push dword [esi + 0x290]
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [esi + 0x294], eax
test eax, eax
jne 0x10192579
push str.Error_opening_connection
lea ecx, [ebp - 0x28]
call fcn.100a7530
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.100a5560
jmp 0x1019257b
xor esi, esi
lea ecx, [ebp - 0xd4]
call fcn.100d44b0
mov eax, dword [ebp - 0xd8]
cmp eax, 8
jb 0x101925a4
inc eax
lea ecx, [ebp - 0xec]
push eax
push dword [ebp - 0xec]
call fcn.100a5620
xor eax, eax
mov dword [ebp - 0xd8], 7
mov word [ebp - 0xec], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xdc], 0
cmp eax, 8
jb 0x101925d6
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.100a5620
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
test eax, eax
je 0x101925fd
push eax
call edi
mov eax, dword [ebp - 0x108]
test eax, eax
je 0x1019260a
push eax
call edi
mov eax, dword [ebp - 0x104]
test eax, eax
je 0x10192617
push eax
call edi
mov eax, esi
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.101b451c
mov esp, ebp
pop ebp
ret