Function at 0x44f7c0
Capabilities:
Prepare http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a054d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4cc680]
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
mov edi, ecx
mov esi, dword [edi + 4]
add esi, 0x16c
push esi
mov dword [ebp - 0x24], esi
call fcn.00474e12
add esp, 4
test eax, eax
jne 0x44fa31
mov eax, dword [esi + 0x2c]
cmp eax, 0x7fffffff
je 0x44fa38
mov edx, dword [edi + 4]
mov ebx, 0x800100
mov eax, 0x100
mov dword [ebp - 4], 0
lea ecx, [edx + 0x24]
cmp byte [edx + 4], 0
cmove ebx, eax
cmp dword [ecx + 0x14], 7
jbe 0x44f83e
mov ecx, dword [ecx]
mov eax, dword [edx]
cmp eax, 5
ja case.0x44f845.1
jmp dword [eax*4 + 0x44fa44]
mov eax, 0x4af160
jmp 0x44f874
mov eax, str.POST
jmp 0x44f874
mov eax, str.PATCH
jmp 0x44f874
mov eax, str.HEAD
jmp 0x44f874
mov eax, str.DELETE
jmp 0x44f874
mov eax, 0x4af158
push ebx
push 0
push 0
push 0
push ecx
push eax
push dword [edx + 0x164]
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov ecx, dword [edi + 4]
mov dword [ecx + 0x168], eax
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x168]
test ecx, ecx
jne 0x44f8d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi + 4]
cmp dword [ecx + 0xec], 0
jne 0x44f95d
mov dword [ecx + 0xec], eax
mov ecx, dword [edi + 4]
push 0x12
push 0x4af218
add ecx, 0xf0
call fcn.00437aa0
xor bl, bl
jmp 0x44fa0a
push dword [eax + 0xa8]
push dword [eax + 0xa4]
push dword [eax + 0xa0]
push 0
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x44f92a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi + 4]
cmp dword [ecx + 0xec], 0
jne 0x44f95d
mov dword [ecx + 0xec], eax
mov ecx, dword [edi + 4]
push 0x12
push 0x4af240
add ecx, 0xf0
call fcn.00437aa0
xor bl, bl
jmp 0x44fa0a
mov eax, dword [edi + 4]
push 0
push 0x97f0c00
push 0x44e620
push dword [eax + 0x168]
call dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
cmp eax, 0xffffffff
jne 0x44f964
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4af268
mov ecx, edi
call fcn.004502d0
xor bl, bl
jmp 0x44fa0a
mov eax, dword [edi + 4]
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
cmp byte [eax + 4], 0
je 0x44f9ae
cmp dword [eax + 0x19c], 0
je 0x44f9ae
push 4
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0x3300
push ecx
push 0x1f
push dword [eax + 0x168]
call ebx
test eax, eax
jne 0x44f9ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WinHttpSetOption_securityflags_
mov ecx, edi
call fcn.004502d0
xor bl, bl
jmp 0x44fa0a
mov ecx, dword [edi + 4]
cmp dword [ecx + 0x4c], 0
je 0x44fa08
lea eax, [ecx + 0x3c]
mov dword [ebp - 0x20], 3
cmp dword [eax + 0x14], 7
jbe 0x44f9c9
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
lea eax, [ecx + 0x84]
cmp dword [eax + 0x14], 7
jbe 0x44f9da
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push 0xc
push eax
push 0x26
push dword [ecx + 0x168]
call ebx
test eax, eax
jne 0x44fa08
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WinHttpSetOption_proxy_
mov ecx, edi
call fcn.004502d0
xor bl, bl
jmp 0x44fa0a
mov bl, 1
push esi
call fcn.00474e23
add esp, 4
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.004759c3
mov esp, ebp
pop ebp
ret
push 5
call fcn.00475102
dec eax
push 6
mov dword [esi + 0x2c], eax
call fcn.00475102
nop
popal
clc
inc esp
add byte [edi - 8], ch
inc esp
add byte [eax + edi*8 + 0x44], cl
add byte [ebx - 8], dl
inc esp
add byte [edx - 8], bl
inc esp
add byte [eax - 8], ch
inc esp
add ah, cl
int3