Function at 0x10192640
Capabilities:
Prepare http request
Set http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101fcdbc
mov eax, dword fs:[0]
push eax
sub esp, 0x358
mov eax, dword [0x10285124]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x338], esi
mov ecx, dword [ebp + 8]
mov edx, ecx
mov dword [ebp - 0x358], 0
mov dword [ebp - 0x328], ecx
mov dword [ebp - 0x354], ecx
mov eax, dword [ecx]
lea ecx, [ebp - 0x340]
add eax, 0x10
mov dword [ebp - 0x334], eax
call fcn.100bf790
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x33c]
test edi, edi
je 0x101926bf
lock inc dword [edi + 8]
mov ecx, dword [ebp - 0x340]
mov dword [ebp - 0x360], edi
mov dword [ebp - 0x364], ecx
xorps xmm0, xmm0
mov dword [ebp - 0x348], 0
movq qword [ebp - 0x350], xmm0
mov byte [ebp - 4], 3
cmp byte [esi + 0x299], 0
mov byte [ebp - 0x32c], 0
je 0x1019279e
cmp dword [esi + 0x2ac], 0
movups xmmword [ebp - 0x2c], xmm0
movq qword [ebp - 0x1c], xmm0
jne 0x10192720
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x28], 3
jmp 0x1019273b
cmp dword [esi + 0x2b0], 8
lea eax, [esi + 0x29c]
mov dword [ebp - 0x2c], 2
jb 0x10192738
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x18], 1
push eax
lea ecx, [esi + 0x14]
call fcn.100b7510
cmp dword [eax + 0x14], 8
jb 0x10192756
mov eax, dword [eax]
lea ecx, [ebp - 0x350]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
push eax
push dword [esi + 0x290]
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
mov ecx, dword [ebp - 0x30]
mov esi, eax
cmp ecx, 8
jb 0x10192785
inc ecx
push ecx
push dword [ebp - 0x44]
lea ecx, [ebp - 0x44]
call fcn.100a5620
mov eax, dword [ebp - 0x32c]
test esi, esi
movzx eax, al
mov ecx, 1
cmovne eax, ecx
mov dword [ebp - 0x32c], eax
mov ecx, dword [ebp - 0x334]
lea eax, [ebp - 0x320]
push eax
call fcn.10197450
mov esi, eax
mov ecx, dword [ebp - 0x338]
add ecx, 0x2c
mov byte [ebp - 4], 4
push ecx
lea ecx, [ebp - 0x11c]
call fcn.100e51e0
push ecx
lea eax, [esi + 0x60]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x11c]
call fcn.10190110
push ecx
lea eax, [esi + 0x78]
push eax
lea ecx, [ebp - 0x11c]
call fcn.101903e0
lea eax, [esi + 0x90]
push eax
lea edx, [ebp - 0xa4]
lea ecx, [ebp - 0x2c]
call fcn.100ab270
push eax
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 6
call fcn.1011faa0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x1019282d
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.100a5620
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea ecx, [ebp - 0x11c]
lea eax, [ebp - 0x274]
mov dword [ebp - 0x1c], 0
push eax
call fcn.101906c0
lea ecx, [ebp - 0x1c8]
mov byte [ebp - 4], 7
push ecx
mov ecx, eax
call fcn.1011e1c0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 8
push ecx
mov ecx, eax
call fcn.100b7510
lea ecx, [ebp - 0x1b0]
call fcn.100d44b0
mov eax, dword [ebp - 0x1b4]
cmp eax, 8
jb 0x1019289d
inc eax
lea ecx, [ebp - 0x1c8]
push eax
push dword [ebp - 0x1c8]
call fcn.100a5620
xor eax, eax
mov dword [ebp - 0x1b4], 7
mov dword [ebp - 0x1b8], 0
mov word [ebp - 0x1c8], ax
lea ecx, [ebp - 0x25c]
call fcn.100d44b0
mov eax, dword [ebp - 0x260]
cmp eax, 8
jb 0x101928e3
inc eax
lea ecx, [ebp - 0x274]
push eax
push dword [ebp - 0x274]
call fcn.100a5620
xor eax, eax
mov dword [ebp - 0x260], 7
mov dword [ebp - 0x264], 0
mov word [ebp - 0x274], ax
lea ecx, [ebp - 0x11c]
call fcn.100d44b0
lea ecx, [ebp - 0x308]
mov byte [ebp - 4], 0xd
call fcn.100d44b0
mov eax, dword [ebp - 0x30c]
cmp eax, 8
jb 0x10192938
inc eax
lea ecx, [ebp - 0x320]
push eax
push dword [ebp - 0x320]
call fcn.100a5620
xor eax, eax
mov dword [ebp - 0x30c], 7
cmp dword [ebp - 0x48], 8
lea esi, [ebp - 0x5c]
mov word [ebp - 0x320], ax
mov eax, dword [ebp - 0x334]
cmovae esi, dword [ebp - 0x5c]
mov dword [ebp - 0x310], 0
mov edx, dword [eax]
add edx, 0x30
cmp dword [edx + 0x14], 8
jb 0x10192973
mov edx, dword [edx]
mov ecx, dword [ebp - 0x338]
mov eax, 0x40
mov dword [ebp - 0x330], 0x800040
cmp byte [ecx + 0x298], 0
cmovne eax, dword [ebp - 0x330]
push eax
push 0
push 0
push 0
push esi
push edx
push dword [ecx + 0x294]
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov esi, dword [ebp - 0x340]
mov ecx, eax
mov dword [esi + 0x40], ecx
test ecx, ecx
jne 0x10192ae9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x12
push 0x10255824
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov esi, eax
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.100a5970
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xe
push eax
mov edx, esi
lea ecx, [ebp - 0x44]
call fcn.10191610
add esp, 4
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x328]
push eax
push esi
mov ecx, dword [ecx]
call fcn.10121490
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x10192a24
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.100a5f10
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
cmp eax, 0x10
jb 0x10192a4b
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.100a5f10
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x10192a60
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.100a5620
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
mov word [ebp - 0x5c], ax
mov eax, dword [ebp - 0x34c]
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
test eax, eax
je 0x10192a87
push eax
call esi
mov eax, dword [ebp - 0x348]
test eax, eax
je 0x10192a94
push eax
call esi
or esi, 0xffffffff
mov byte [ebp - 4], 0x10
test edi, edi
je 0x10192aaf
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x10192aaf
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov dword [ebp - 4], 0x11
test edi, edi
je 0x10193217
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x10193217
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x10193217
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
jmp 0x10193217
mov eax, dword [ebp - 0x338]
cmp byte [eax + 0x298], 0
je 0x10192bea
push 4
lea eax, [ebp - 0x330]
mov dword [ebp - 0x330], 1
push eax
push 0x4f
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x10192bea
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.Error_enabling_SSL_revocation_check
lea ecx, [ebp - 0x44]
mov esi, eax
call fcn.100a7590
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0x12
push eax
mov edx, esi
lea ecx, [ebp - 0x2c]
call fcn.10191610
add esp, 4
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x328]
push eax
push esi
mov ecx, dword [ecx]
call fcn.10121490
lea ecx, [ebp - 0x2c]
call fcn.100a5ed0
lea ecx, [ebp - 0x44]
call fcn.100a5ed0
lea ecx, [ebp - 0x5c]
call fcn.100a5560
mov eax, dword [ebp - 0x34c]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
test eax, eax
je 0x10192b88
push eax
call esi
mov eax, dword [ebp - 0x348]
test eax, eax
je 0x10192b95
push eax
call esi
or esi, 0xffffffff
mov byte [ebp - 4], 0x14
test edi, edi
je 0x10192bb0
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x10192bb0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov dword [ebp - 4], 0x15
test edi, edi
je 0x10193217
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x10193217
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x10193217
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
jmp 0x10193217
cmp byte [ebp - 0x32c], 0
je 0x10192ca1
push 0xc
lea eax, [ebp - 0x350]
push eax
push 0x26
push dword [esi + 0x40]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x10192ca1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.Setting_proxy_options
lea ecx, [ebp - 0x44]
mov esi, eax
call fcn.100a7590
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0x16
push eax
mov edx, esi
lea ecx, [ebp - 0x2c]
call fcn.10191610
add esp, 4
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x328]
push eax
push esi
mov ecx, dword [ecx]
call fcn.10121490
lea ecx, [ebp - 0x2c]
call fcn.100a5ed0
lea ecx, [ebp - 0x44]
call fcn.100a5ed0
lea ecx, [ebp - 0x5c]
call fcn.100a5560
mov eax, dword [ebp - 0x34c]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
test eax, eax
je 0x10192c7b
push eax
call esi
mov eax, dword [ebp - 0x348]
test eax, eax
je 0x10192c88
push eax
call esi
mov byte [ebp - 4], 0x18
test edi, edi
je 0x1019320c
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jmp 0x10193203
mov eax, dword [ebp - 0x338]
cmp dword [eax + 0x1b8], 0
je 0x10192d6e
push 4
lea eax, [ebp - 0x330]
mov dword [ebp - 0x330], 2
push eax
push 0x4d
push dword [esi + 0x40]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x10192d68
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.Setting_autologon_policy_to_WINHTTP_AUTOLOGON_SECURITY_LEVEL_HIGH
lea ecx, [ebp - 0x44]
mov esi, eax
call fcn.100a7590
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0x19
push eax
mov edx, esi
lea ecx, [ebp - 0x2c]
call fcn.10191610
add esp, 4
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp - 0x328]
push eax
push esi
mov ecx, dword [ecx]
call fcn.10121490
lea ecx, [ebp - 0x2c]
call fcn.100a5ed0
lea ecx, [ebp - 0x44]
call fcn.100a5ed0
lea ecx, [ebp - 0x5c]
call fcn.100a5560
mov eax, dword [ebp - 0x34c]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
test eax, eax
je 0x10192d42
push eax
call esi
mov eax, dword [ebp - 0x348]
test eax, eax
je 0x10192d4f
push eax
call esi
mov byte [ebp - 4], 0x1b
test edi, edi
je 0x1019320c
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jmp 0x10193203
mov eax, dword [ebp - 0x338]
mov al, byte [eax + 0x1e5]
test al, al
jne 0x10192e17
push 4
lea eax, [ebp - 0x330]
mov dword [ebp - 0x330], 0x3300
push eax
push 0x1f
push dword [esi + 0x40]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x10192e17
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.Setting_ignore_server_certificate_verification
lea ecx, [ebp - 0x44]
mov esi, eax
call fcn.100a7590
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0x1c
push eax
mov edx, esi
lea ecx, [ebp - 0x2c]
call fcn.10191610
add esp, 4
mov byte [ebp - 4], 0x1d
mov ecx, dword [ebp - 0x328]
push eax
push esi
mov ecx, dword [ecx]
call fcn.10121490
lea ecx, [ebp - 0x2c]
call fcn.100a5ed0
lea ecx, [ebp - 0x44]
call fcn.100a5ed0
lea ecx, [ebp - 0x5c]
call fcn.100a5560
lea ecx, [ebp - 0x350]
call fcn.10191d40
mov byte [ebp - 4], 0x1e
test edi, edi
je 0x1019320c
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jmp 0x10193203
mov eax, dword [ebp - 0x334]
mov ecx, dword [eax]
call fcn.101076f0
mov dword [ebp - 0x330], eax
test eax, eax
je 0x10192ea7
mov eax, dword [ebp - 0x334]
cmp dword [0x102a7570], 8
mov eax, dword [eax]
lea ecx, [eax + 0x30]
mov dword [ebp - 0x32c], eax
mov eax, 0x102a755c
lea edx, [ecx + 0x10]
cmovae eax, dword [0x102a755c]
cmp dword [ecx + 0x14], 8
jb 0x10192e5d
mov ecx, dword [ecx]
push dword [0x102a756c]
mov edx, dword [edx]
push eax
call fcn.100ab9b0
add esp, 8
test eax, eax
je 0x10192f7b
mov ecx, dword [ebp - 0x32c]
mov edx, 0x102a75bc
add ecx, 0x30
call fcn.100aba40
test al, al
jne 0x10192f7b
mov eax, dword [ebp - 0x330]
cmp eax, 0xffffffff
jne 0x10192f65
mov dword [esi + 0x4c], 2
mov eax, dword [ebp - 0x334]
mov edx, dword [eax]
cmp dword [edx + 0x18], 0
je 0x10193009
add edx, 0x14
lea ecx, [ebp - 0x44]
call fcn.10107080
mov byte [ebp - 4], 0x22
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
push 0x20000000
push dword [ebp - 0x34]
cmovae eax, dword [ebp - 0x44]
push eax
push dword [esi + 0x40]
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x10193001
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x1025591c
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.100a7590
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x23
push eax
mov edx, esi
lea ecx, [ebp - 0x74]
call fcn.10191610
add esp, 4
mov byte [ebp - 4], 0x24
mov ecx, dword [ebp - 0x328]
push eax
push esi
mov ecx, dword [ecx]
call fcn.10121490
lea ecx, [ebp - 0x74]
call fcn.100a5ed0
lea ecx, [ebp - 0x2c]
call fcn.100a5ed0
lea ecx, [ebp - 0x44]
call fcn.100a5560
lea ecx, [ebp - 0x5c]
call fcn.100a5560
lea ecx, [ebp - 0x350]
call fcn.10191d40
lea ecx, [ebp - 0x364]
call fcn.100d7740
jmp 0x1019320c
mov dword [esi + 0x4c], 1
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], 0
jmp 0x10192ea7
push str.A_GET_or_HEAD_request_should_not_have_an_entity_body.
lea ecx, [ebp - 0x44]
call fcn.100a7530
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0x1f
push eax
lea ecx, [ebp - 0x88]
call fcn.1011c6f0
mov byte [ebp - 4], 0x20
mov ecx, dword [ebp - 0x328]
push eax
mov ecx, dword [ecx]
call fcn.10123520
lea ecx, [ebp - 0x88]
call fcn.1011c590
lea ecx, [ebp - 0x44]
call fcn.100a5560
lea ecx, [ebp - 0x5c]
call fcn.100a5560
mov eax, dword [ebp - 0x34c]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
test eax, eax
je 0x10192fdb
push eax
call esi
mov eax, dword [ebp - 0x348]
test eax, eax
je 0x10192fe8
push eax
call esi
mov byte [ebp - 4], 0x21
test edi, edi
je 0x1019320c
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jmp 0x10193203
lea ecx, [ebp - 0x44]
call fcn.100a5560
lea ecx, [ebp - 0x32c]
call fcn.100d94b0
mov ecx, dword [ebp - 0x334]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x50]
mov dword [ebp - 0x344], ecx
mov ecx, dword [eax]
mov dword [ebp - 0x328], ecx
mov byte [ebp - 4], 0x25
or esi, 0xffffffff
mov ecx, dword [ebp - 0x32c]
test ecx, ecx
je 0x1019304d
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x1019304d
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x328]
cmp dword [ebp - 0x344], eax
je 0x101930f1
lea eax, [ebp - 0x364]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10193260
mov ecx, dword [ebp - 0x334]
push eax
mov byte [ebp - 4], 0x26
lea eax, [ebp - 0x328]
push eax
mov ecx, dword [ecx]
add ecx, 0x50
call fcn.10195910
mov dword [ebp - 0x32c], eax
mov byte [ebp - 4], 0x27
mov edx, dword [ebp - 0x340]
add edx, 0x38
mov dword [ebp - 0x344], edx
cmp edx, eax
je 0x101930de
mov ecx, dword [edx]
test ecx, ecx
je 0x101930c8
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x101930c2
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x344]
mov eax, dword [ebp - 0x32c]
mov dword [edx], 0
mov eax, dword [eax]
mov dword [edx], eax
mov eax, dword [ebp - 0x32c]
mov dword [eax], 0
lea ecx, [ebp - 0x328]
call fcn.100c9aa0
lea ecx, [ebp - 0x1c]
call fcn.100d2ef0
mov eax, dword [ebp - 0x338]
mov byte [ebp - 4], 0x28
mov ecx, dword [ebp - 0x340]
cmp dword [eax + 0x20c], 0
mov edx, dword [ecx + 0x40]
je 0x1019313a
mov ecx, dword [eax + 0x20c]
mov dword [ebp - 0x344], edx
test ecx, ecx
jne 0x10193122
call fcn.1019b77f
mov eax, dword [ecx]
lea edx, [ebp - 0x344]
push edx
call dword [eax + 8]
mov ecx, dword [ebp - 0x340]
mov eax, dword [ebp - 0x338]
mov dword [ebp - 4], 0xd
cmp dword [ecx + 0x4c], 0
je 0x1019317e
mov al, byte [eax + 0x238]
test al, al
je 0x1019317e
mov eax, dword [ecx]
lea edx, [ebp - 0x20]
push edx
mov eax, dword [eax + 8]
call eax
mov ecx, eax
mov byte [ebp - 4], 0x2a
mov dword [ebp - 0x358], 1
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov byte [ebp - 0x321], 1
test al, al
je 0x10193185
mov byte [ebp - 0x321], 0
mov dword [ebp - 4], 0xd
test byte [ebp - 0x358], 1
je 0x1019319d
lea ecx, [ebp - 0x20]
call fcn.100d2b20
cmp byte [ebp - 0x321], 0
je 0x101931d0
lea ecx, [ebp - 0x354]
call fcn.10195980
mov ecx, dword [ebp - 0x340]
push eax
add ecx, 0x78
call fcn.10195620
mov ecx, dword [ebp - 0x354]
test ecx, ecx
je 0x101931d0
mov eax, dword [ecx]
push 1
call dword [eax]
push dword [ebp - 0x330]
lea eax, [ebp - 0x340]
push eax
call fcn.101932e0
lea ecx, [ebp - 0x5c]
call fcn.100a5560
lea ecx, [ebp - 0x350]
call fcn.10191d40
mov byte [ebp - 4], 0x2b
test edi, edi
je 0x1019320c
lock xadd dword [edi + 8], esi
dec esi
jne 0x1019320c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea ecx, [ebp - 0x340]
call fcn.100bef10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101b451c
mov esp, ebp
pop ebp
ret 4