Function at 0x441723
Capabilities:
Check http status code
Write file on windows

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aded1
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x14c8
call fcn.004a7aa0
mov eax, dword [0x4ea00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x147c], ecx
mov eax, dword [ebx + 8]
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0x1480], eax
xor eax, eax
push 0x3c
push eax
mov dword [ebp - 0x1490], eax
lea eax, [ebp - 0x14d4]
push eax
call sub.VCRUNTIME140.dll_memset
push 0x800
xor edi, edi
lea eax, [ebp - 0xc18]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
push 0x800
lea eax, [ebp - 0x1418]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x24
mov dword [ebp - 0x1484], edi
lea ecx, [ebp - 0x1478]
call fcn.0040d765
xor eax, eax
push eax
push 0x80
push 2
push eax
push 3
push 0x40000000
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x148c], eax
cmp eax, 0xffffffff
je 0x441c81
lea eax, [ebp - 0xc18]
mov dword [ebp - 0x14d4], 0x3c
mov dword [ebp - 0x14c4], eax
mov ecx, 0x400
lea eax, [ebp - 0x1418]
mov dword [ebp - 0x14c0], ecx
mov dword [ebp - 0x14a8], eax
mov dword [ebp - 0x14a4], ecx
call fcn.004400bd
push dword [ebp - 0x1480]
lea ecx, [ebp - 0x1474]
push ecx
mov ecx, eax
call fcn.0044011b
push eax
lea ecx, [ebp - 0x1478]
mov byte [ebp - 4], 1
call fcn.0040e019
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1474]
lea ecx, [ecx - 0x10]
call fcn.0040bb70
mov edi, dword [ebp - 0x147c]
lea eax, [ebp - 0x14d4]
push eax
push dword [ebp - 0x1478]
mov ecx, edi
call fcn.0044094d
mov dword [ebp - 0x1468], 0x9d963f6e
mov esi, 0x94ac9e38
mov dword [ebp - 0x1464], 0xea06b604
mov edx, 0x831ee2ec
mov eax, dword [ebp - 0x1468]
mov ecx, dword [ebp - 0x1464]
mov dword [ebp - 0x1460], eax
mov dword [ebp - 0x145c], ecx
mov dword [ebp - 0x1468], 0xfcb713e1
mov dword [ebp - 0x1464], 0x246fd9f8
mov eax, dword [ebp - 0x1468]
mov ecx, dword [ebp - 0x1464]
mov dword [ebp - 0x1458], eax
mov dword [ebp - 0x1454], ecx
mov dword [ebp - 0x1468], 0x9ce2ce7
mov dword [ebp - 0x1464], 0x66e5cb15
mov eax, dword [ebp - 0x1468]
mov ecx, dword [ebp - 0x1464]
mov dword [ebp - 0x1450], eax
mov dword [ebp - 0x144c], ecx
mov dword [ebp - 0x1468], esi
mov dword [ebp - 0x1464], edx
mov eax, dword [ebp - 0x1468]
mov ecx, dword [ebp - 0x1464]
mov dword [ebp - 0x1448], eax
mov dword [ebp - 0x1444], ecx
mov dword [ebp - 0x1468], 0x9dff3f25
mov dword [ebp - 0x1464], 0xea47b677
mov eax, dword [ebp - 0x1468]
mov ecx, dword [ebp - 0x1464]
mov dword [ebp - 0x1468], 0xfcd21386
mov dword [ebp - 0x1464], 0x241bd996
mov dword [ebp - 0x1440], eax
mov eax, dword [ebp - 0x1468]
mov dword [ebp - 0x143c], ecx
mov ecx, dword [ebp - 0x1464]
mov dword [ebp - 0x1468], 0x9ce2ce7
mov dword [ebp - 0x1464], 0x66e5cb15
mov dword [ebp - 0x1438], eax
mov eax, dword [ebp - 0x1468]
mov dword [ebp - 0x1434], ecx
mov ecx, dword [ebp - 0x1464]
mov dword [ebp - 0x1468], esi
mov dword [ebp - 0x1464], edx
mov dword [ebp - 0x1430], eax
mov eax, dword [ebp - 0x1468]
mov dword [ebp - 0x142c], ecx
mov ecx, dword [ebp - 0x1464]
movaps xmm1, xmmword [ebp - 0x1460]
pxor xmm1, xmmword [ebp - 0x1440]
mov dword [ebp - 0x1428], eax
mov dword [ebp - 0x1424], ecx
movaps xmmword [ebp - 0x1460], xmm1
lea eax, [ebp - 0x1460]
movaps xmm1, xmmword [ebp - 0x1450]
lea ecx, [ebp - 0x1494]
pxor xmm1, xmmword [ebp - 0x1430]
push eax
movaps xmmword [ebp - 0x1450], xmm1
call fcn.0040d6dc
mov byte [ebp - 4], 2
mov ecx, edi
push dword [eax]
call fcn.00440776
mov byte [ebp - 4], 0
mov esi, eax
mov ecx, dword [ebp - 0x1494]
mov dword [ebp - 0x1480], esi
lea ecx, [ecx - 0x10]
call fcn.0040bb70
test esi, esi
mov esi, dword [ebp - 0x1478]
je 0x441c73
movzx eax, word [ebp - 0x14bc]
mov ecx, edi
push eax
lea eax, [ebp - 0xc18]
push eax
push dword [ebp - 0x1480]
call fcn.0044079e
mov dword [ebp - 0x1464], eax
test eax, eax
je 0x441c66
push dword [ebp - 0x14c8]
lea ecx, [ebp - 0x1418]
push ecx
push 0x4c47b4
push eax
mov ecx, edi
call fcn.004407d2
mov dword [ebp - 0x1470], eax
test eax, eax
je 0x441c59
and dword [ebp - 0x1488], 0
push 6
push esi
push str.https:
mov dword [ebp - 0x147c], 4
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x441b12
and dword [ebp - 0x146c], eax
lea eax, [ebp - 0x1474]
push eax
lea eax, [ebp - 0x146c]
mov dword [ebp - 0x1474], 4
push eax
push ecx
push dword [ebp - 0x1470]
mov ecx, edi
call fcn.0044090a
test eax, eax
je 0x441b12
or dword [ebp - 0x146c], 0x3100
lea eax, [ebp - 0x146c]
push ecx
push eax
push ecx
push dword [ebp - 0x1470]
mov ecx, edi
call fcn.0044092c
xor eax, eax
mov ecx, edi
push eax
push eax
push dword [ebp - 0x1470]
call fcn.0044085a
test eax, eax
je 0x441c4c
push dword [ebp - 0x1470]
mov ecx, edi
call fcn.0044088e
test eax, eax
je 0x441c4c
lea eax, [ebp - 0x147c]
mov ecx, edi
push eax
lea eax, [ebp - 0x1488]
push eax
push 0x20000013
push dword [ebp - 0x1470]
call fcn.004408aa
test eax, eax
je 0x441c4c
cmp dword [ebp - 0x1488], 0xc8
jne 0x441c4c
and dword [ebp - 0x1474], 0
lea eax, [ebp - 0x147c]
push eax
lea eax, [ebp - 0x1474]
mov ecx, edi
push eax
push 0x20000005
push dword [ebp - 0x1470]
call fcn.004408aa
mov esi, dword [ebp - 0x1470]
xor ecx, ecx
test eax, eax
cmovne ecx, dword [ebp - 0x1474]
mov dword [ebp - 0x1498], ecx
push 0x400
lea eax, [ebp - 0x418]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x146c]
xor eax, eax
mov dword [ebp - 0x146c], eax
push ecx
lea ecx, [ebp - 0x418]
push 0x400
push ecx
push esi
cmp dword [edi + 0x70], eax
je 0x441bf2
mov eax, dword [edi + 0x20]
jmp 0x441bf5
mov eax, dword [edi + 0x54]
call eax
test eax, eax
je 0x441c2a
mov eax, dword [ebp - 0x146c]
test eax, eax
je 0x441c2a
add dword [ebp - 0x1484], eax
lea ecx, [ebp - 0x146c]
push 0
push ecx
push eax
lea eax, [ebp - 0x418]
push eax
push dword [ebp - 0x148c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x441bb6
mov eax, dword [ebp - 0x1498]
mov esi, dword [ebp - 0x1478]
test eax, eax
je 0x441c42
cmp eax, dword [ebp - 0x1484]
jne 0x441c4c
mov dword [ebp - 0x1490], 1
push dword [ebp - 0x1470]
mov ecx, edi
call fcn.004408ed
push dword [ebp - 0x1464]
mov ecx, edi
call fcn.004408ed
push dword [ebp - 0x1480]
mov ecx, edi
call fcn.004408ed
push dword [ebp - 0x148c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x441c87
mov esi, dword [ebp - 0x1478]
lea ecx, [esi - 0x10]
call fcn.0040bb70
mov eax, dword [ebp - 0x1490]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a439a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8