Function at 0x446ff2
Capabilities:
Prepare http request

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x10], ebx
je 0x447016
push dword [edi + 0x10]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [edi + 0x10], ebx
cmp dword [ebp + 8], ebx
je 0x447088
cmp dword [ebp + 0xc], ebx
je 0x447088
cmp dword [edi + 0xc], ebx
je 0x447088
mov eax, dword [edi + 0x224]
cmp eax, 0x1bb
je 0x44703e
cmp eax, 0x79e
mov eax, 0x100
jne 0x447043
mov eax, 0x800100
push eax
push 0x47dab4
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0xc]
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov ebx, eax
mov dword [edi + 0x10], ebx
test ebx, ebx
jne 0x447093
mov esi, dword [edi + 0x18]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push dword [edi + 0x224]
push esi
push str._s:_u_request_opening_failed___u_
lea eax, [edi + 0x360]
push eax
call fcn.0040c813
add esp, 0x14
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi + 0x33c]
test eax, eax
je 0x4470e2
mov ecx, dword [edi + 0x340]
test ecx, ecx
je 0x4470e2
mov edx, dword [edi + 0x344]
test edx, edx
je 0x4470e2
mov esi, dword [edi + 0x348]
test esi, esi
je 0x4470e2
push esi
push edx
push ecx
push eax
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x4470e2
mov esi, dword [edi + 0x18]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push dword [edi + 0x224]
push esi
push str._s:_u_set_timeout_failed___u_
jmp 0x447079
cmp byte [edi + 0x22a], 0
je 0x447197
mov ebx, 0x47ced0
mov ecx, ebx
call fcn.00401782
test al, al
jne 0x447197
lea ecx, [esp + 0x10]
call fcn.00411345
lea ecx, [esp + 0x120]
call fcn.00411345
push ebx
lea ecx, [esp + 0x14]
call fcn.0040d181
push 0x45dd54
lea ecx, [esp + 0x14]
call fcn.00411d77
mov esi, eax
test esi, esi
jle 0x44715e
push ebx
lea ecx, [esp + 0x124]
call fcn.0040d181
lea ecx, [esi + 1]
push ecx
push ecx
lea ecx, [esp + 0x128]
call fcn.0041430d
push esi
lea ecx, [esp + 0x14]
call fcn.0040778e
push 0
push dword [esp + 0x128]
push dword [esp + 0x1c]
push 1
push 1
push dword [edi + 0x10]
call dword [sym.imp.WINHTTP.dll_WinHttpSetCredentials]
test eax, eax
jne 0x447197
mov esi, dword [edi + 0x18]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push dword [edi + 0x224]
push esi
push str._s:_u_set_proxy_credentials_failed___u_
jmp 0x447079
mov eax, dword [edi + 0x224]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
cmp eax, 0x1bb
je 0x4471b1
cmp eax, 0x79e
jne 0x4471e6
push 4
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x100
push eax
push 0x1f
push dword [edi + 0x10]
call esi
test eax, eax
jne 0x4471e6
mov esi, dword [edi + 0x18]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push dword [edi + 0x224]
push esi
push str._s:_u_set_ignore_unknown_CA_failed___u_
jmp 0x447079
cmp byte [edi + 0x358], 0
jne 0x447224
push 4
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 2
push eax
push 0x3f
push dword [edi + 0x10]
call esi
test eax, eax
jne 0x447224
mov esi, dword [edi + 0x18]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push dword [edi + 0x224]
push esi
push str._s:_u_disable_redirects_failed___u_
jmp 0x447079
mov eax, dword [edi + 0x35c]
test eax, eax
je 0x447257
push 0x14
push eax
push 0x2f
push dword [edi + 0x10]
call esi
test eax, eax
jne 0x447257
mov esi, dword [edi + 0x18]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push dword [edi + 0x224]
push esi
push str._s:_u_set_client_certificate_context_failed___u_
jmp 0x447079
mov al, 1
jmp 0x44708a