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

Disassembly:
push ebp
lea ebp, [esp - 0x310]
sub esp, 0x310
push 0xffffffffffffffff
push 0x10254a41
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x1030fff4]
xor eax, ebp
mov dword [ebp + 0x30c], 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 - 0x20], esi
mov eax, dword [ebp + 0x318]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
push eax
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
mov dword [ebp - 0x40], eax
add ecx, 0x10
lea eax, [ebp - 0x2c]
mov dword [ebp + 0x2f0], ecx
push eax
call fcn.10007cce
pop ecx
pop ecx
mov edi, dword [ebp - 0x28]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
test edi, edi
je 0x100ab1d8
mov eax, dword [ebp - 0x2c]
mov ebx, edi
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ebx
lock inc dword [edi + 8]
push 0xc
lea eax, [ebp - 0x38]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp byte [esi + 0x299], 0
push 2
pop eax
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], al
mov byte [ebp - 0x14], 0
je 0x100ab2af
push 0x18
lea eax, [ebp + 0x2f4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [esi + 0x2ac], 0
jne 0x100ab233
xor eax, eax
mov dword [ebp + 0x2f8], 3
inc eax
mov dword [ebp + 0x2f4], eax
jmp 0x100ab254
lea eax, [esi + 0x29c]
mov dword [ebp + 0x2f4], 2
cmp dword [eax + 0x14], 8
jb 0x100ab24b
mov eax, dword [eax]
mov dword [ebp + 0x2fc], eax
xor eax, eax
inc eax
mov dword [ebp - 0x24], eax
lea ecx, [esi + 0x14]
mov dword [ebp + 0x308], eax
lea eax, [ebp + 0x2ac]
push eax
call fcn.1009d3d0
cmp dword [eax + 0x14], 8
jb 0x100ab274
mov eax, dword [eax]
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp + 0x2f4]
push ecx
push eax
push dword [esi + 0x290]
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
lea ecx, [ebp + 0x2ac]
mov esi, eax
call fcn.100486a0
mov ecx, dword [ebp - 0x14]
test esi, esi
mov esi, dword [ebp - 0x20]
push 1
movzx ecx, cl
pop eax
cmovne ecx, eax
mov dword [ebp - 0x14], ecx
jmp 0x100ab2b6
mov dword [ebp - 0x24], 1
mov ecx, dword [ebp + 0x2f0]
lea eax, [ebp + 0x1ec]
push eax
mov ecx, dword [ecx]
call fcn.1009cf46
lea eax, [esi + 0x2c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp + 0x158]
call fcn.1007f12c
lea eax, [ebp]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp + 0x1ec]
push eax
lea ecx, [ebp + 0x158]
call fcn.1009f9b3
mov ecx, eax
call fcn.100a009e
lea ecx, [ebp + 0xac]
mov byte [ebp - 4], 5
push ecx
mov ecx, eax
call fcn.1009648d
lea ecx, [ebp + 0x2c4]
mov byte [ebp - 4], 6
push ecx
mov ecx, eax
call fcn.1009d3d0
lea ecx, [ebp + 0xc4]
call fcn.1007878f
lea ecx, [ebp + 0xac]
call fcn.100486a0
lea ecx, [ebp + 0x18]
call fcn.1007878f
lea ecx, [ebp]
call fcn.100486a0
lea ecx, [ebp + 0x158]
call fcn.1007878f
lea ecx, [ebp + 0x204]
mov byte [ebp - 4], 0xb
call fcn.1007878f
lea ecx, [ebp + 0x1ec]
call fcn.100486a0
mov eax, dword [ebp + 0x2f0]
lea edx, [ebp + 0x2c4]
cmp dword [ebp + 0x2d8], 8
cmovae edx, dword [ebp + 0x2c4]
mov ecx, dword [eax]
add ecx, 0x30
cmp dword [ecx + 0x14], 8
jb 0x100ab394
mov ecx, dword [ecx]
cmp byte [esi + 0x298], 0
push 0x40
pop eax
mov dword [ebp - 0x18], 0x800040
cmovne eax, dword [ebp - 0x18]
push eax
xor eax, eax
push eax
push eax
push eax
push edx
push ecx
push dword [esi + 0x294]
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov esi, dword [ebp - 0x2c]
mov ecx, eax
mov dword [esi + 0x40], ecx
test ecx, ecx
jne 0x100ab453
call dword [sym.imp.kernel32.dll_GetLastError]
push 0x102701c0
lea ecx, [ebp + 0x2f4]
mov esi, eax
call fcn.100047be
lea eax, [ebp + 0x2f4]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp + 0x2ac]
push esi
push eax
call fcn.100a95c9
add esp, 0xc
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x1c]
push eax
push esi
mov ecx, dword [ecx]
call fcn.1009f4b3
lea ecx, [ebp + 0x2ac]
call fcn.10006f54
lea ecx, [ebp + 0x2f4]
call fcn.10006f54
lea ecx, [ebp + 0x2c4]
call fcn.100486a0
lea ecx, [ebp - 0x38]
call fcn.100a8833
test ebx, ebx
je 0x100ab444
mov ecx, ebx
call fcn.10006be0
test edi, edi
je 0x100ab95b
mov ecx, edi
jmp 0x100ab956
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x298], 0
je 0x100ab4b5
push 4
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 1
push eax
push 0x4f
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x100ab4b5
call dword [sym.imp.kernel32.dll_GetLastError]
push str.Error_enabling_SSL_revocation_check
lea ecx, [ebp + 0x2f4]
mov esi, eax
call fcn.100047be
lea eax, [ebp + 0x2f4]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp + 0x2ac]
push esi
push eax
call fcn.100a95c9
add esp, 0xc
mov byte [ebp - 4], 0xf
jmp 0x100ab404
cmp byte [ebp - 0x14], 0
je 0x100ab50c
push 0xc
lea eax, [ebp - 0x38]
push eax
push 0x26
push dword [esi + 0x40]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x100ab50c
call dword [sym.imp.kernel32.dll_GetLastError]
push str.Setting_proxy_options
lea ecx, [ebp + 0x2f4]
mov esi, eax
call fcn.100047be
lea eax, [ebp + 0x2f4]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp + 0x2ac]
push esi
push eax
call fcn.100a95c9
add esp, 0xc
mov byte [ebp - 4], 0x11
jmp 0x100ab404
mov ecx, dword [ebp - 0x20]
call fcn.1009eef5
cmp dword [eax + 0xf8], 0
je 0x100ab575
push 4
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 2
push eax
push 0x4d
push dword [esi + 0x40]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x100ab575
call dword [sym.imp.kernel32.dll_GetLastError]
push str.Setting_autologon_policy_to_WINHTTP_AUTOLOGON_SECURITY_LEVEL_HIGH
lea ecx, [ebp + 0x2f4]
mov esi, eax
call fcn.100047be
lea eax, [ebp + 0x2f4]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp + 0x2ac]
push esi
push eax
call fcn.100a95c9
add esp, 0xc
mov byte [ebp - 4], 0x13
jmp 0x100ab404
mov ecx, dword [ebp - 0x20]
call fcn.1009eef5
cmp byte [eax + 0x125], 0
jne 0x100ab5de
push 4
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x3300
push eax
push 0x1f
push dword [esi + 0x40]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x100ab5de
call dword [sym.imp.kernel32.dll_GetLastError]
push str.Setting_ignore_server_certificate_verification
lea ecx, [ebp + 0x2f4]
mov esi, eax
call fcn.100047be
lea eax, [ebp + 0x2f4]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp + 0x2ac]
push esi
push eax
call fcn.100a95c9
add esp, 0xc
mov byte [ebp - 4], 0x15
jmp 0x100ab404
mov eax, dword [ebp + 0x2f0]
mov ecx, dword [eax]
call fcn.10099bf8
mov dword [ebp - 0x18], eax
test eax, eax
je 0x100ab63c
mov eax, dword [ebp + 0x2f0]
push 0x1031d61c
mov eax, dword [eax]
add eax, 0x30
mov ecx, eax
mov dword [ebp - 0x14], eax
call fcn.1009573e
test al, al
jne 0x100ab739
mov ecx, dword [ebp - 0x14]
push 0x1031d94c
call fcn.1009573e
test al, al
jne 0x100ab739
mov eax, dword [ebp - 0x18]
cmp eax, 0xffffffff
jne 0x100ab726
mov dword [esi + 0x4c], 2
call sym.mip_core.dll_bool___cdecl_mipns::IsMipCoreLite_void_
test al, al
je 0x100ab670
mov ecx, dword [ebp - 0x20]
call fcn.1009eef5
cmp byte [eax + 0x124], 0
je 0x100ab670
mov eax, dword [ebp + 0x2f0]
push str.deflate__gzip
push 0x1031dc4c
mov ecx, dword [eax]
add ecx, 0x14
call fcn.100978cd
mov eax, dword [ebp + 0x2f0]
mov ecx, dword [eax]
mov edx, ecx
cmp dword [ecx + 0x18], 0
je 0x100ab79f
lea eax, [ecx + 0x14]
push eax
lea eax, [ebp + 0x2f4]
push eax
call fcn.1009b4ce
pop ecx
pop ecx
cmp dword [ebp + 0x308], 8
lea eax, [ebp + 0x2f4]
push 0x20000000
push dword [ebp + 0x304]
cmovae eax, dword [ebp + 0x2f4]
push eax
push dword [esi + 0x40]
mov byte [ebp - 4], 0x18
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x100ab78a
call dword [sym.imp.kernel32.dll_GetLastError]
push 0x10270288
lea ecx, [ebp + 0x2dc]
mov esi, eax
call fcn.100047be
lea eax, [ebp + 0x2dc]
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp + 0x2ac]
push esi
push eax
call fcn.100a95c9
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
push eax
push esi
mov byte [ebp - 4], 0x1a
mov ecx, dword [ecx]
call fcn.1009f4b3
lea ecx, [ebp + 0x2ac]
call fcn.10006f54
lea ecx, [ebp + 0x2dc]
call fcn.10006f54
jmp 0x100ab77a
mov dword [esi + 0x4c], 1
mov dword [esi + 0x50], eax
and dword [esi + 0x54], 0
jmp 0x100ab63c
push dword [0x1030cbc8]
lea ecx, [ebp + 0x2f4]
call fcn.10045d6c
lea eax, [ebp + 0x2f4]
mov byte [ebp - 4], 0x16
push eax
lea ecx, [ebp + 0x298]
call fcn.1009861f
mov ecx, dword [ebp - 0x1c]
push eax
mov byte [ebp - 4], 0x17
mov ecx, dword [ecx]
call fcn.10237091
lea ecx, [ebp + 0x298]
call fcn.100989c0
lea ecx, [ebp + 0x2f4]
call fcn.100486a0
jmp 0x100ab426
lea ecx, [ebp + 0x2f4]
call fcn.100486a0
mov eax, dword [ebp + 0x2f0]
mov ecx, dword [eax]
mov edx, ecx
cmp dword [ecx + 0x50], 0
je 0x100ab813
and dword [ebp + 0x2ec], 0
xor edi, edi
and dword [ebp + 0x2f0], 0
test ebx, ebx
je 0x100ab7d0
mov ecx, dword [ebp - 0x48]
mov dword [ebp + 0x2ec], ecx
mov dword [ebp + 0x2f0], ebx
lock inc dword [ebx + 8]
mov edx, dword [eax]
mov edi, ebx
lea eax, [ebp + 0x2ec]
mov byte [ebp - 4], 0x1c
push eax
lea eax, [ebp - 0x14]
lea ecx, [edx + 0x50]
push eax
call fcn.10237091
push eax
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 0x1d
call fcn.100a890f
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x1e
test ecx, ecx
je 0x100ab804
call fcn.10055552
and dword [ebp - 0x14], 0
test edi, edi
je 0x100ab813
mov ecx, edi
call fcn.10006be0
mov eax, dword [esi + 0x40]
mov edi, dword [ebp - 0x20]
mov ecx, edi
mov byte [ebp - 4], 0x1f
mov dword [ebp - 0x14], eax
call fcn.1009eef5
cmp dword [eax + 0x14c], 0
je 0x100ab83e
push dword [ebp - 0x14]
lea ecx, [eax + 0x128]
call fcn.1005112e
cmp dword [esi + 0x4c], 0
mov dword [ebp - 4], 0xb
je 0x100ab898
mov ecx, edi
call fcn.1009eef5
cmp byte [eax + 0x178], 0
je 0x100ab898
mov eax, dword [esi]
lea ecx, [ebp + 0x2e8]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10256524]
mov ecx, dword [ebp - 0x2c]
call esi
mov edi, eax
mov ecx, dword [edi]
push 3
pop eax
mov byte [ebp - 4], 0x21
mov esi, dword [ecx + 0xc]
mov ecx, esi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x14], eax
call dword [0x10256524]
mov ecx, edi
call esi
test al, al
je 0x100ab89c
mov byte [ebp - 0x24], 0
test byte [ebp - 0x3c], 1
mov dword [ebp - 4], 0xb
je 0x100ab8b4
lea ecx, [ebp + 0x2e8]
call fcn.1007f828
cmp byte [ebp - 0x24], 0
je 0x100ab8e1
lea eax, [ebp - 0x14]
push eax
call fcn.100a7fb9
pop ecx
mov ecx, dword [ebp - 0x2c]
push eax
lea ecx, [ecx + 0x78]
call fcn.100a7d6d
cmp dword [ebp - 0x14], 0
je 0x100ab8e1
push dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
call fcn.1000d83d
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x2c]
push eax
call fcn.100a9349
lea ecx, [ebp + 0x2c4]
call fcn.100486a0
lea ecx, [ebp - 0x38]
call fcn.100a8833
test ebx, ebx
je 0x100ab94f
mov ecx, ebx
jmp 0x100ab94a
call fcn.10006be0
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x100ab95b
call fcn.10006bb7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x30c]
xor ecx, ebp
call fcn.10236000
add ebp, 0x310
leave
ret 4